CommitDialog Class Reference
#include <commitdlg.h>
Inheritance diagram for CommitDialog:

Public Member Functions | |
CommitDialog (const QString &changeLogfileNamePath, QWidget *parent=0) | |
QStringList | logMessage () const |
Returns the text of the log. | |
bool | mustAddToChangeLog () const |
Returns true if the user requests the log message to be added to the general Changelog file. | |
void | setChangeLogFileName (const QString &fileName) |
We need to set it when showing the dialog and then when saving the file. | |
QString | changeLogFileName () const |
CommitDialog (QWidget *parent=0, const char *name=0) | |
~CommitDialog () | |
QString | logMessage () const |
QString | user () const |
QString | client () const |
QString | changeList () const |
void | setUser (const QString &usr) |
void | setClient (const QString &clnt) |
void | setFiles (const QStringList &lst) |
void | autoGuess () |
tries to fill out user and client | |
Protected Slots | |
virtual void | accept () |
Override: must check for message not being void. | |
void | accept () |
Private Slots | |
void | getFilesFinished (const QString &out, const QString &err) |
Private Member Functions | |
void | setDepotFiles (const QStringList &lst) |
Private Attributes | |
QTextEdit * | edit |
KLineEdit * | clientEdit |
KLineEdit * | userEdit |
KListBox * | filesBox |
Constructor & Destructor Documentation
|
Definition at line 33 of file commitdlg.cpp. References accept(), CommitDialog(), and setChangeLogFileName(). Referenced by CommitDialog(). |
|
Definition at line 31 of file commitdlg.cpp. References autoGuess(), clientEdit, CommitDialog(), edit, filesBox, KDialog::spacingHint(), and userEdit. |
|
Definition at line 72 of file commitdlg.cpp. |
Member Function Documentation
|
|
|
Override: must check for message not being void.
Definition at line 63 of file commitdlg.cpp. Referenced by CommitDialog(). |
|
tries to fill out user and client
Definition at line 76 of file commitdlg.cpp. References setClient(), and setUser(). Referenced by CommitDialog(). |
|
Definition at line 122 of file commitdlg.cpp. References client(), filesBox, logMessage(), and user(). Referenced by PerforcePart::commit(). |
|
Definition at line 87 of file commitdlg.cpp. Referenced by CvsServicePartImpl::commit(). |
|
Definition at line 33 of file commitdlg.h. References clientEdit. Referenced by changeList(). |
|
Definition at line 111 of file commitdlg.cpp. References filesBox, and getFilesFinished(). Referenced by getFilesFinished(), and setDepotFiles(). |
|
Definition at line 31 of file commitdlg.h. References edit. |
|
Returns the text of the log.
Definition at line 44 of file commitdlg.cpp. Referenced by changeList(), and CvsServicePartImpl::commit(). |
|
Returns true if the user requests the log message to be added to the general Changelog file.
Definition at line 56 of file commitdlg.cpp. Referenced by CvsServicePartImpl::commit(). |
|
We need to set it when showing the dialog and then when saving the file.
Definition at line 80 of file commitdlg.cpp. References setChangeLogFileName(). Referenced by CommitDialog(), and setChangeLogFileName(). |
|
Definition at line 37 of file commitdlg.h. References clientEdit, setClient(), and KLineEdit::setText(). Referenced by autoGuess(), and setClient(). |
|
Definition at line 97 of file commitdlg.cpp. References KDialogBase::finished(), getFilesFinished(), and setDepotFiles(). Referenced by setDepotFiles(), and setFiles(). |
|
Definition at line 91 of file commitdlg.cpp. References filesBox, setDepotFiles(), and setFiles(). Referenced by PerforcePart::commit(), and setFiles(). |
|
Definition at line 36 of file commitdlg.h. References KLineEdit::setText(), and userEdit. Referenced by autoGuess(). |
|
Definition at line 32 of file commitdlg.h. References userEdit. Referenced by changeList(). |
Member Data Documentation
|
Definition at line 52 of file commitdlg.h. Referenced by client(), CommitDialog(), and setClient(). |
|
Definition at line 51 of file commitdlg.h. Referenced by CommitDialog(), and logMessage(). |
|
Definition at line 53 of file commitdlg.h. Referenced by changeList(), CommitDialog(), getFilesFinished(), and setFiles(). |
|
Definition at line 52 of file commitdlg.h. Referenced by CommitDialog(), setUser(), and user(). |
The documentation for this class was generated from the following files:
- vcs/cvsservice/commitdlg.h
- vcs/perforce/commitdlg.h
- vcs/cvsservice/commitdlg.cpp
- vcs/perforce/commitdlg.cpp