summaryrefslogtreecommitdiffstats
path: root/src/kvpnc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:13:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:13:13 -0600
commit39772365e40d22473389f8d24cce8910f088b656 (patch)
treeeb6eb62ecf03212347bb24e8b7db8d35642e035d /src/kvpnc.cpp
parent7251ddd58d498d631dc56bc00849f61cb4acdabd (diff)
downloadkvpnc-39772365e40d22473389f8d24cce8910f088b656.tar.gz
kvpnc-39772365e40d22473389f8d24cce8910f088b656.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/kvpnc.cpp')
-rw-r--r--src/kvpnc.cpp12
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";