diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:54 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:54 -0600 |
commit | da1522385e5367bae56b90fac55c4355e475905b (patch) | |
tree | bfa432864dbf322feb4ed3a878f1222ee8ea7727 /parts/diff/diffwidget.cpp | |
parent | b9e542d0c805e9adee3a67e44532d5321032e21e (diff) | |
download | tdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'parts/diff/diffwidget.cpp')
-rw-r--r-- | parts/diff/diffwidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/diff/diffwidget.cpp b/parts/diff/diffwidget.cpp index 88a716c8..681c09d1 100644 --- a/parts/diff/diffwidget.cpp +++ b/parts/diff/diffwidget.cpp @@ -44,7 +44,7 @@ TQStringList KDiffTextEdit::extPartsTranslated; KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit( parent, name ) { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup( "Diff" ); _highlight = config->readBoolEntry( "Highlight", true ); @@ -53,7 +53,7 @@ KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit( KDiffTextEdit::~KDiffTextEdit() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup( "Diff" ); config->writeEntry( "Highlight", _highlight ); @@ -256,7 +256,7 @@ void DiffWidget::slotAppend( const TQString& str ) } // internally for the TextEdit only! -void DiffWidget::slotAppend( KIO::Job*, const TQByteArray& ba ) +void DiffWidget::slotAppend( TDEIO::Job*, const TQByteArray& ba ) { slotAppend( TQString( ba ) ); } @@ -305,13 +305,13 @@ void DiffWidget::openURL( const KURL& url ) if ( job ) job->kill(); - KIO::TransferJob* job = KIO::get( url ); + TDEIO::TransferJob* job = TDEIO::get( url ); if ( !job ) return; - connect( job, TQT_SIGNAL(data( KIO::Job *, const TQByteArray & )), - this, TQT_SLOT(slotAppend( KIO::Job*, const TQByteArray& )) ); - connect( job, TQT_SIGNAL(result( KIO::Job * )), + connect( job, TQT_SIGNAL(data( TDEIO::Job *, const TQByteArray & )), + this, TQT_SLOT(slotAppend( TDEIO::Job*, const TQByteArray& )) ); + connect( job, TQT_SIGNAL(result( TDEIO::Job * )), this, TQT_SLOT(slotFinished()) ); } |