diff options
Diffstat (limited to 'vcs/cvsservice/cvsdiffpage.cpp')
-rw-r--r-- | vcs/cvsservice/cvsdiffpage.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/vcs/cvsservice/cvsdiffpage.cpp b/vcs/cvsservice/cvsdiffpage.cpp index 12947b36..7777760a 100644 --- a/vcs/cvsservice/cvsdiffpage.cpp +++ b/vcs/cvsservice/cvsdiffpage.cpp @@ -9,11 +9,11 @@ * * ***************************************************************************/ -#include <qtextedit.h> -#include <qlayout.h> -#include <qregexp.h> -#include <qdir.h> -#include <qstringlist.h> +#include <tqtextedit.h> +#include <tqlayout.h> +#include <tqregexp.h> +#include <tqdir.h> +#include <tqstringlist.h> #include <kmessagebox.h> #include <kcursor.h> @@ -33,15 +33,15 @@ /////////////////////////////////////////////////////////////////////////////// CVSDiffPage::CVSDiffPage( CvsService_stub *cvsService, - QWidget *parent, const char *name, int ) + TQWidget *parent, const char *name, int ) // Leaving it anonymous let us to have multiple objects at the same time! : DCOPObject(), // "CVSDiffPageDCOPIface" - QWidget( parent, name? name : "logformdialog" ), + TQWidget( parent, name? name : "logformdialog" ), m_diffText( 0 ), m_cvsService( cvsService ), m_cvsDiffJob( 0 ) { - QLayout *thisLayout = new QVBoxLayout( this ); + TQLayout *thisLayout = new TQVBoxLayout( this ); // This should be replaced by the diff part -// m_diffText = new QTextEdit( this, "difftextedit" ); +// m_diffText = new TQTextEdit( this, "difftextedit" ); // m_diffText->setReadOnly( true ); m_diffText = new DiffWidget( this, "difftextedit" ); @@ -59,7 +59,7 @@ CVSDiffPage::~CVSDiffPage() /////////////////////////////////////////////////////////////////////////////// -void CVSDiffPage::startDiff( const QString &fileName, const QString &v1, const QString &v2 ) +void CVSDiffPage::startDiff( const TQString &fileName, const TQString &v1, const TQString &v2 ) { kdDebug(9006) << "CVSDiffPage::startDiff()" << endl; @@ -75,7 +75,7 @@ void CVSDiffPage::startDiff( const QString &fileName, const QString &v1, const Q kdDebug(9006) << "Running command : " << m_cvsDiffJob->cvsCommand() << endl; connectDCOPSignal( job.app(), job.obj(), "jobExited(bool, int)", "slotJobExited(bool, int)", true ); - connectDCOPSignal( job.app(), job.obj(), "receivedStdout(QString)", "slotReceivedOutput(QString)", true ); + connectDCOPSignal( job.app(), job.obj(), "receivedStdout(TQString)", "slotReceivedOutput(TQString)", true ); bool success = m_cvsDiffJob->execute(); if (!success) { @@ -91,7 +91,7 @@ void CVSDiffPage::slotJobExited( bool normalExit, int /*exitStatus*/ ) if (normalExit) { - QString diffText = m_cvsDiffJob->output().join( "\n" ); + TQString diffText = m_cvsDiffJob->output().join( "\n" ); kdDebug(9006) << "*** Received: " << diffText << endl; // m_diffText->setText( diffText ); m_diffText->setDiff( m_diffString ); @@ -104,20 +104,20 @@ void CVSDiffPage::slotJobExited( bool normalExit, int /*exitStatus*/ ) /////////////////////////////////////////////////////////////////////////////// -void CVSDiffPage::slotReceivedOutput( QString someOutput ) +void CVSDiffPage::slotReceivedOutput( TQString someOutput ) { - kdDebug(9006) << "CVSDiffPage::slotReceivedOutput(QString)" << endl; + kdDebug(9006) << "CVSDiffPage::slotReceivedOutput(TQString)" << endl; kdDebug(9006) << "OUTPUT: " << someOutput << endl; - QStringList strings = m_outputBuffer.process(someOutput); + TQStringList strings = m_outputBuffer.process(someOutput); m_diffString += strings.join("\n"); } /////////////////////////////////////////////////////////////////////////////// -void CVSDiffPage::slotReceivedErrors( QString someErrors ) +void CVSDiffPage::slotReceivedErrors( TQString someErrors ) { - kdDebug(9006) << "CVSDiffPage::slotReceivedErrors(QString)" << endl; + kdDebug(9006) << "CVSDiffPage::slotReceivedErrors(TQString)" << endl; kdDebug(9006) << "ERRORS: " << someErrors << endl; } |