From 39772365e40d22473389f8d24cce8910f088b656 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:13:13 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/kvpnc.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/kvpnc.cpp') 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"; -- cgit v1.2.1