summaryrefslogtreecommitdiffstats
path: root/knetworkconf
diff options
context:
space:
mode:
Diffstat (limited to 'knetworkconf')
-rw-r--r--knetworkconf/knetworkconf/knetworkconf.cpp16
-rw-r--r--knetworkconf/knetworkconf/knetworkconfigparser.cpp4
2 files changed, 10 insertions, 10 deletions
diff --git a/knetworkconf/knetworkconf/knetworkconf.cpp b/knetworkconf/knetworkconf/knetworkconf.cpp
index 8a6d6a1..b9912b5 100644
--- a/knetworkconf/knetworkconf/knetworkconf.cpp
+++ b/knetworkconf/knetworkconf/knetworkconf.cpp
@@ -43,9 +43,9 @@ KNetworkConf::KNetworkConf(TQWidget *parent, const char *name) : DCOPObject("KNe
TQ_SLOT(showInterfaceContextMenuSlot(TDEListView*,TQListViewItem*, const TQPoint&)));
// Register with DCOP - No longer needed as now we are a kcontrol module?
- if ( !kapp->dcopClient()->isRegistered() ) {
- kapp->dcopClient()->registerAs( "knetworkconf" );
- kapp->dcopClient()->setDefaultObject( objId() );
+ if ( !tdeApp->dcopClient()->isRegistered() ) {
+ tdeApp->dcopClient()->registerAs( "knetworkconf" );
+ tdeApp->dcopClient()->setDefaultObject( objId() );
}
//Temporarly added while gst supports routing option.
@@ -65,7 +65,7 @@ void KNetworkConf::getNetworkInfoSlot()
KMessageBox::error(this,
i18n("Could not load network configuration information."),
i18n("Error Reading Configuration File"));
- //kapp->quit();
+ //tdeApp->quit();
//exit(1);
}
else
@@ -160,10 +160,10 @@ void KNetworkConf::quitSlot(){
if (code == KMessageBox::Yes)
saveInfoSlot();
else if (code == KMessageBox::No)
- kapp->quit();
+ tdeApp->quit();
}
else
- kapp->quit();
+ tdeApp->quit();
}
/** Enables the configure and remove buttons. */
void KNetworkConf::enableButtonsSlot(){
@@ -492,12 +492,12 @@ void KNetworkConf::loadNetworkProfiles(){
/** Shows the help browser. Hopefully some day it will be one :-). */
void KNetworkConf::helpSlot(){
- kapp->invokeHelp();
+ tdeApp->invokeHelp();
}
/** No descriptions */
void KNetworkConf::aboutSlot(){
- TDEAboutApplication *about = new TDEAboutApplication(kapp->aboutData(),0);
+ TDEAboutApplication *about = new TDEAboutApplication(tdeApp->aboutData(),0);
// about->setLogo(locate("icon","knetworkconf.png"));
//tqDebug("locate icon= %s",locate("icon","knetworkconf.png").latin1());
diff --git a/knetworkconf/knetworkconf/knetworkconfigparser.cpp b/knetworkconf/knetworkconf/knetworkconfigparser.cpp
index 24def66..23b34d2 100644
--- a/knetworkconf/knetworkconf/knetworkconfigparser.cpp
+++ b/knetworkconf/knetworkconf/knetworkconfigparser.cpp
@@ -41,7 +41,7 @@ void KNetworkConfigParser::runDetectionScript(TQString platform){
i18n("Could not find the backend script for the network configuration detection. Something is wrong with your installation.\n Please check that \n{TDE_PATH}/%1 \nfile is present.").arg(BACKEND_PATH),
i18n("Could Not Find Network Configuration Backend Script"));
dialog->close();
- //kapp->quit();
+ //tdeApp->quit();
}
else
{
@@ -325,7 +325,7 @@ void KNetworkConfigParser::saveNetworkInfo(KNetworkInfo *networkInfo)
//wait around until the process has finished, otherwise it becomes a zombie
while (processRunning) {
- kapp->processEvents();
+ tdeApp->processEvents();
}
}