summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate/kapp')
-rw-r--r--kapptemplate/kapp/app.cpp8
-rw-r--r--kapptemplate/kapp/app.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/kapptemplate/kapp/app.cpp b/kapptemplate/kapp/app.cpp
index f7888c47..7f69e8e8 100644
--- a/kapptemplate/kapp/app.cpp
+++ b/kapptemplate/kapp/app.cpp
@@ -72,7 +72,7 @@ void ${APP_NAME}::load(const KURL& url)
#if 0
// download the contents
- if (KIO::NetAccess::download(url, target))
+ if (TDEIO::NetAccess::download(url, target))
{
// set our caption
setCaption(url.prettyURL());
@@ -81,7 +81,7 @@ void ${APP_NAME}::load(const KURL& url)
loadFile(target);
// and remove the temp file
- KIO::NetAccess::removeTempFile(target);
+ TDEIO::NetAccess::removeTempFile(target);
}
#endif
@@ -107,7 +107,7 @@ void ${APP_NAME}::setupActions()
actionCollection(), "custom_action");
}
-void ${APP_NAME}::saveProperties(KConfig *config)
+void ${APP_NAME}::saveProperties(TDEConfig *config)
{
// the 'config' object points to the session managed
// config file. anything you write here will be available
@@ -122,7 +122,7 @@ void ${APP_NAME}::saveProperties(KConfig *config)
}
}
-void ${APP_NAME}::readProperties(KConfig *config)
+void ${APP_NAME}::readProperties(TDEConfig *config)
{
// the 'config' object points to the session managed
// config file. this function is automatically called whenever
diff --git a/kapptemplate/kapp/app.h b/kapptemplate/kapp/app.h
index 170b431e..7c80c0f2 100644
--- a/kapptemplate/kapp/app.h
+++ b/kapptemplate/kapp/app.h
@@ -55,14 +55,14 @@ protected:
* This function is called when it is time for the app to save its
* properties for session management purposes.
*/
- void saveProperties(KConfig *);
+ void saveProperties(TDEConfig *);
/**
- * This function is called when this app is restored. The KConfig
+ * This function is called when this app is restored. The TDEConfig
* object points to the session management config file that was saved
* with @ref saveProperties
*/
- void readProperties(KConfig *);
+ void readProperties(TDEConfig *);
private slots: