diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /vcs/cvsservice/commitdlg.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'vcs/cvsservice/commitdlg.cpp')
-rw-r--r-- | vcs/cvsservice/commitdlg.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/vcs/cvsservice/commitdlg.cpp b/vcs/cvsservice/commitdlg.cpp index 4c7eac97..a3988c06 100644 --- a/vcs/cvsservice/commitdlg.cpp +++ b/vcs/cvsservice/commitdlg.cpp @@ -11,11 +11,11 @@ * * ***************************************************************************/ -#include <qlayout.h> -#include <qlabel.h> -#include <qcheckbox.h> -#include <qtextedit.h> -#include <qpushbutton.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqcheckbox.h> +#include <tqtextedit.h> +#include <tqpushbutton.h> #include <kapplication.h> #include <kbuttonbox.h> @@ -30,20 +30,20 @@ /////////////////////////////////////////////////////////////////////////////// -CommitDialog::CommitDialog( const QString &changeLogfileNamePath, QWidget *parent ) +CommitDialog::CommitDialog( const TQString &changeLogfileNamePath, TQWidget *parent ) : CommitDialogBase( parent, "commitdialog", true ) { - connect( buttonOk, SIGNAL(clicked()), SLOT(accept()) ); - connect( buttonCancel, SIGNAL(clicked()), SLOT(reject()) ); + connect( buttonOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) ); + connect( buttonCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) ); setChangeLogFileName( changeLogfileNamePath ); } /////////////////////////////////////////////////////////////////////////////// -QStringList CommitDialog::logMessage() const +TQStringList CommitDialog::logMessage() const { - QStringList textLines; + TQStringList textLines; for (int i=0; i<textEdit->paragraphs(); ++i) { textLines << textEdit->text( i ); @@ -72,19 +72,19 @@ void CommitDialog::accept() return; } } - QDialog::accept(); + TQDialog::accept(); } /////////////////////////////////////////////////////////////////////////////// -void CommitDialog::setChangeLogFileName( const QString &fileName ) +void CommitDialog::setChangeLogFileName( const TQString &fileName ) { changeLogNameEdit->setText( fileName ); } /////////////////////////////////////////////////////////////////////////////// -QString CommitDialog::changeLogFileName() const +TQString CommitDialog::changeLogFileName() const { return changeLogNameEdit->text(); } |