diff options
Diffstat (limited to 'src/kvpnc.cpp')
-rw-r--r-- | src/kvpnc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kvpnc.cpp b/src/kvpnc.cpp index afd1140..d00f945 100644 --- a/src/kvpnc.cpp +++ b/src/kvpnc.cpp @@ -983,14 +983,14 @@ bool KVpnc::queryClose() } } -void KVpnc::restore ( KConfig *config, int i ) +void KVpnc::restore ( TDEConfig *config, int i ) { readPropertiesInternal ( config,i ); } void KVpnc::restore() { - KConfig *config = parent->sessionConfig(); + TDEConfig *config = parent->sessionConfig(); if ( !config ) return; @@ -998,7 +998,7 @@ void KVpnc::restore() return; } -void KVpnc::saveProperties ( KConfig* c ) +void KVpnc::saveProperties ( TDEConfig* c ) { TQString saveDir = TDEGlobal::dirs()->saveLocation ( "appdata", "sessions/" + tqApp->sessionId() + "/", true ); @@ -1008,7 +1008,7 @@ void KVpnc::saveProperties ( KConfig* c ) delete c; } -void KVpnc::readProperties ( KConfig* c ) +void KVpnc::readProperties ( TDEConfig* c ) { TQString saveDir = TDEGlobal::dirs()->saveLocation ( "appdata", "sessions/" + tqApp->sessionId() + "/", true ); c = new KSimpleConfig ( saveDir + "list", true ); @@ -11370,7 +11370,7 @@ void KVpnc::vpnTypesInfoClicked() { this->slotStatusMsg ( i18n ( "Calling KVpnc website..." ), ID_FLASH_MSG ); TQString donateurl = "http://home.gna.org/kvpnc/en/donate.html"; - TQString browser = TQString ( KConfigGroup ( TDEGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" ); + TQString browser = TQString ( TDEConfigGroup ( TDEGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" ); if ( browser.isEmpty() ) browser = "konqueror"; @@ -11407,7 +11407,7 @@ void KVpnc::vpnTypesInfoClicked() void KVpnc::reportBugClicked() { TQString bugreporturl = "http://bugs.trinitydesktop.org"; - TQString browser = TQString ( KConfigGroup ( TDEGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" ); + TQString browser = TQString ( TDEConfigGroup ( TDEGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" ); if ( browser.isEmpty() ) browser = "konqueror"; |