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/cvslogdialog.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/cvslogdialog.cpp')
-rw-r--r-- | vcs/cvsservice/cvslogdialog.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/vcs/cvsservice/cvslogdialog.cpp b/vcs/cvsservice/cvslogdialog.cpp index ac6fd97c..ff36c19d 100644 --- a/vcs/cvsservice/cvslogdialog.cpp +++ b/vcs/cvsservice/cvslogdialog.cpp @@ -9,10 +9,10 @@ * * ***************************************************************************/ -#include <qvbox.h> -#include <qregexp.h> -#include <qdir.h> -#include <qstringlist.h> +#include <tqvbox.h> +#include <tqregexp.h> +#include <tqdir.h> +#include <tqstringlist.h> #include <kmessagebox.h> #include <kcursor.h> @@ -32,18 +32,18 @@ // class CVSLogDialog /////////////////////////////////////////////////////////////////////////////// -CVSLogDialog::CVSLogDialog( CvsService_stub *cvsService, QWidget *parent, const char *name, int ) +CVSLogDialog::CVSLogDialog( CvsService_stub *cvsService, TQWidget *parent, const char *name, int ) : KDialogBase( Tabbed, i18n("CVS Log & Diff Dialog"), Close, Close, parent, name? name : "logformdialog", false /*modal*/, true /*separator*/ ), m_cvsLogPage( 0 ), m_cvsService( cvsService ) { setWFlags( getWFlags() | WDestructiveClose ); - QVBox *vbox = addVBoxPage( i18n("Log From CVS") ); + TQVBox *vbox = addVBoxPage( i18n("Log From CVS") ); m_cvsLogPage = new CVSLogPage( m_cvsService, vbox ); - connect( m_cvsLogPage, SIGNAL(diffRequested(const QString&, const QString&, const QString&)), - this, SLOT(slotDiffRequested(const QString&, const QString&, const QString&)) ); + connect( m_cvsLogPage, TQT_SIGNAL(diffRequested(const TQString&, const TQString&, const TQString&)), + this, TQT_SLOT(slotDiffRequested(const TQString&, const TQString&, const TQString&)) ); } /////////////////////////////////////////////////////////////////////////////// @@ -55,32 +55,32 @@ CVSLogDialog::~CVSLogDialog() /////////////////////////////////////////////////////////////////////////////// -void CVSLogDialog::startLog( const QString &workDir, const QString &pathName ) +void CVSLogDialog::startLog( const TQString &workDir, const TQString &pathName ) { kdDebug(9006) << "CVSLogDialog::start() here! workDir = " << workDir << ", pathName = " << pathName << endl; // displayActionFeedback( true ); /* - QVBox *vbox = addVBoxPage( i18n("Log From CVS: ") + pathName ); + TQVBox *vbox = addVBoxPage( i18n("Log From CVS: ") + pathName ); m_cvsLogPage = new CVSLogPage( m_cvsService, vbox ); this->resize( m_cvsLogPage->size() ); - connect( m_cvsLogPage, SIGNAL(linkClicked(const QString&, const QString&)), - this, SLOT(slotDiffRequested(const QString&, const QString&)) ); + connect( m_cvsLogPage, TQT_SIGNAL(linkClicked(const TQString&, const TQString&)), + this, TQT_SLOT(slotDiffRequested(const TQString&, const TQString&)) ); */ m_cvsLogPage->startLog( workDir, pathName ); } /////////////////////////////////////////////////////////////////////////////// -void CVSLogDialog::slotDiffRequested( const QString &pathName, const QString &revA, const QString &revB ) +void CVSLogDialog::slotDiffRequested( const TQString &pathName, const TQString &revA, const TQString &revB ) { kdDebug(9006) << "CVSLogDialog::slotDiffRequested()" << endl; // Create a new CVSDiffPage and start diffing process - QString diffTitle = i18n("Diff between %1 and %2").arg( revA ).arg( revB ); - QVBox *vbox = addVBoxPage( diffTitle ); + TQString diffTitle = i18n("Diff between %1 and %2").arg( revA ).arg( revB ); + TQVBox *vbox = addVBoxPage( diffTitle ); CVSDiffPage *diffPage = new CVSDiffPage( m_cvsService, vbox ); diffPage->startDiff( pathName, revA, revB ); } |