summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kapp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kapp')
-rw-r--r--languages/cpp/app_templates/kapp/README2
-rw-r--r--languages/cpp/app_templates/kapp/app.cpp8
-rw-r--r--languages/cpp/app_templates/kapp/app.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/app_templates/kapp/README b/languages/cpp/app_templates/kapp/README
index a94ee3db..1db7896b 100644
--- a/languages/cpp/app_templates/kapp/README
+++ b/languages/cpp/app_templates/kapp/README
@@ -42,7 +42,7 @@ For more details, consult :
http://devel-home.kde.org/~larrosa/tutorial/p9.html
http://developer.kde.org/documentation/tutorials/xmlui/preface.html
-* Use KConfig XT to create your configuration dialogs and make
+* Use TDEConfig XT to create your configuration dialogs and make
them more maintainable.
For more details, consult :
diff --git a/languages/cpp/app_templates/kapp/app.cpp b/languages/cpp/app_templates/kapp/app.cpp
index f3872d04..cc77371d 100644
--- a/languages/cpp/app_templates/kapp/app.cpp
+++ b/languages/cpp/app_templates/kapp/app.cpp
@@ -69,7 +69,7 @@ void %{APPNAME}::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);
@@ -78,7 +78,7 @@ void %{APPNAME}::load(const KURL& url)
loadFile(target);
// and remove the temp file
- KIO::NetAccess::removeTempFile(target);
+ TDEIO::NetAccess::removeTempFile(target);
}
#endif
@@ -104,7 +104,7 @@ void %{APPNAME}::setupActions()
actionCollection(), "custom_action");
}
-void %{APPNAME}::saveProperties(KConfig *config)
+void %{APPNAME}::saveProperties(TDEConfig *config)
{
// the 'config' object points to the session managed
// config file. anything you write here will be available
@@ -119,7 +119,7 @@ void %{APPNAME}::saveProperties(KConfig *config)
}
}
-void %{APPNAME}::readProperties(KConfig *config)
+void %{APPNAME}::readProperties(TDEConfig *config)
{
// the 'config' object points to the session managed
// config file. this function is automatically called whenever
diff --git a/languages/cpp/app_templates/kapp/app.h b/languages/cpp/app_templates/kapp/app.h
index 8c40e1fc..2085e6e6 100644
--- a/languages/cpp/app_templates/kapp/app.h
+++ b/languages/cpp/app_templates/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: