diff options
Diffstat (limited to 'src/ktechlab.cpp')
-rw-r--r-- | src/ktechlab.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp index 43a7a3b..8afa4fa 100644 --- a/src/ktechlab.cpp +++ b/src/ktechlab.cpp @@ -121,11 +121,11 @@ void KTechlab::load( const KURL & url ) // want to use this code instead for your app // download the contents - if ( !KIO::NetAccess::download( url, target, this ) ) + if ( !TDEIO::NetAccess::download( url, target, this ) ) { // If the file could not be downloaded, for example does not // exist on disk, NetAccess will tell us what error to use - KMessageBox::error(this, KIO::NetAccess::lastErrorString()); + KMessageBox::error(this, TDEIO::NetAccess::lastErrorString()); return; } @@ -139,7 +139,7 @@ void KTechlab::load( const KURL & url ) DocManager::self()->openURL( target ); // and remove the temp file - KIO::NetAccess::removeTempFile( target ); + TDEIO::NetAccess::removeTempFile( target ); } @@ -366,7 +366,7 @@ void KTechlab::setupTabWidget() connect( tabWidget(), TQT_SIGNAL(receivedDropEvent(TQDropEvent* )), TQT_TQOBJECT(this), TQT_SLOT(slotTabReceivedDropEvent(TQDropEvent* )) ); connect( tabWidget(), TQT_SIGNAL(receivedDropEvent(TQWidget*, TQDropEvent* )), TQT_TQOBJECT(this), TQT_SLOT(slotTabReceivedDropEvent(TQWidget*, TQDropEvent* )) ); - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("UI"); bool CloseOnHover = config->readBoolEntry( "CloseOnHover", false ); @@ -596,7 +596,7 @@ KAction * KTechlab::action( const TQString & name ) const } -void KTechlab::saveProperties( KConfig *conf ) +void KTechlab::saveProperties( TDEConfig *conf ) { // Dumbass KMainWindow - can't handle my width/height correctly. Whoever thought of the "+1" hack anyway?! conf->setGroup("UI"); @@ -634,7 +634,7 @@ void KTechlab::saveProperties( KConfig *conf ) continue; // To make sure the ViewContainers are restored in the right order, we must create them in alphabetical order, - // as KConfig stores them as such... + // as TDEConfig stores them as such... const TQString id = TQString::number(viewContainerId++).rightJustify( 4, '0' ); conf->setGroup( "ViewContainer " + id ); @@ -654,7 +654,7 @@ void KTechlab::saveProperties( KConfig *conf ) } -void KTechlab::readProperties( KConfig *conf ) +void KTechlab::readProperties( TDEConfig *conf ) { startRestore( conf, "KateMDI" ); @@ -765,10 +765,10 @@ void KTechlab::slotOptionsPreferences() // An instance of your dialog could be already created and could be cached, // in which case you want to display the cached dialog instead of creating // another one - if ( KConfigDialog::showDialog( "settings" ) ) + if ( TDEConfigDialog::showDialog( "settings" ) ) return; - // KConfigDialog didn't find an instance of this dialog, so lets create it: + // TDEConfigDialog didn't find an instance of this dialog, so lets create it: SettingsDlg* dialog = new SettingsDlg( this, "settings", KTLConfig::self() ); // User edited the configuration - update your local copies of the |