From 0117fbed932653a04aeef16b2ed7edee858959ac Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:52:50 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- kompare/kompare_shell.cpp | 4 ++-- kompare/libdialogpages/diffpage.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kompare') diff --git a/kompare/kompare_shell.cpp b/kompare/kompare_shell.cpp index a903f6d4..dd4fda2a 100644 --- a/kompare/kompare_shell.cpp +++ b/kompare/kompare_shell.cpp @@ -60,7 +60,7 @@ KompareShell::KompareShell() setupActions(); setupStatusBar(); - KTrader::OfferList offers = KTrader::self()->query( "text/x-diff", + TDETrader::OfferList offers = TDETrader::self()->query( "text/x-diff", "Kompare/ViewPart", TQString(), TQString() ); #ifdef NDEBUG for( int i = 0; i < offers.count(); i++ ) @@ -108,7 +108,7 @@ KompareShell::KompareShell() } offers.clear(); - offers = KTrader::self()->query( "text/x-diff", "KParts/ReadOnlyPart", "'Kompare/NavigationPart' in ServiceTypes", TQString() ); + offers = TDETrader::self()->query( "text/x-diff", "KParts/ReadOnlyPart", "'Kompare/NavigationPart' in ServiceTypes", TQString() ); if ( offers.count() == 0 ) { KMessageBox::error(this, i18n( "Could not find our KompareNavigationPart." ) ); diff --git a/kompare/libdialogpages/diffpage.cpp b/kompare/libdialogpages/diffpage.cpp index a70e3f44..2748b573 100644 --- a/kompare/libdialogpages/diffpage.cpp +++ b/kompare/libdialogpages/diffpage.cpp @@ -288,7 +288,7 @@ void DiffPage::addOptionsTab() TQToolTip::add( m_ignoreRegExpEdit, i18n( "Add the regular expression here that you want to use\nto ignore lines that match it." ) ); groupLayout->addWidget( m_ignoreRegExpEdit ); - if ( !KTrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty() ) + if ( !TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty() ) { // Ok editor is available, use it TQButton* ignoreRegExpEditButton = new TQPushButton( i18n( "&Edit..." ), page, "regexp_editor_button" ); -- cgit v1.2.1