KDevelop API Documentation

ReleaseInputDialog Class Reference

Every time an operation needs to prompt the user about a release name, it can use this class: just customize the message to display. More...

#include <releaseinputdialog.h>

Inheritance diagram for ReleaseInputDialog:

ReleaseInputDialogBase QDialog List of all members.

Public Member Functions

 ReleaseInputDialog (QWidget *parent=0)
 C-tor.

virtual ~ReleaseInputDialog ()
 Destructor.

QString release () const
bool isRevert () const

Private Types

enum  ReleaseType { byHead, byDate, byRevision }

Private Member Functions

ReleaseType type () const

Detailed Description

Every time an operation needs to prompt the user about a release name, it can use this class: just customize the message to display.

Definition at line 21 of file releaseinputdialog.h.


Member Enumeration Documentation

enum ReleaseInputDialog::ReleaseType [private]
 

Enumeration values:
byHead 
byDate 
byRevision 

Definition at line 49 of file releaseinputdialog.h.

Referenced by type().


Constructor & Destructor Documentation

ReleaseInputDialog::ReleaseInputDialog QWidget parent = 0  ) 
 

C-tor.

Parameters:
parent 

Definition at line 23 of file releaseinputdialog.cpp.

References ReleaseInputDialog().

Referenced by ReleaseInputDialog().

ReleaseInputDialog::~ReleaseInputDialog  )  [virtual]
 

Destructor.

Definition at line 30 of file releaseinputdialog.cpp.


Member Function Documentation

bool ReleaseInputDialog::isRevert  )  const
 

Returns:
true if the user has checked "rever": enforce operation then even if the files have been locally modified.

Definition at line 36 of file releaseinputdialog.cpp.

Referenced by CvsServicePartImpl::update().

QString ReleaseInputDialog::release  )  const
 

Returns:
a QString formatted as "-r <RELEASE-TAG> " or "-D <RELEASE-DATE> " so it can be embedded in the command line.

Definition at line 43 of file releaseinputdialog.cpp.

References byDate, byRevision, and type().

Referenced by CvsServicePartImpl::update().

ReleaseInputDialog::ReleaseType ReleaseInputDialog::type  )  const [private]
 

Definition at line 55 of file releaseinputdialog.cpp.

References byDate, byHead, byRevision, and ReleaseType.

Referenced by release().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:29 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003