summaryrefslogtreecommitdiffstats
path: root/kteatime/toplevel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kteatime/toplevel.cpp')
-rw-r--r--kteatime/toplevel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kteatime/toplevel.cpp b/kteatime/toplevel.cpp
index f38437a..281583b 100644
--- a/kteatime/toplevel.cpp
+++ b/kteatime/toplevel.cpp
@@ -69,7 +69,7 @@ TopLevel::TopLevel() : KSystemTray()
teas.clear();
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Teas");
if (config->hasKey("Number")) {
@@ -152,7 +152,7 @@ TopLevel::TopLevel() : KSystemTray()
menu->insertSeparator();
confAct->plug(menu);
menu->insertItem(SmallIcon("help"), i18n("&Help"), helpMnu);
- menu->insertItem(SmallIcon("system-log-out"), i18n("Quit"), kapp, TQ_SLOT(quit()));
+ menu->insertItem(SmallIcon("system-log-out"), i18n("Quit"), tdeApp, TQ_SLOT(quit()));
// quitAct->plug(menu); // FIXME: this doesn't seem to work with above definition of quitAct?
// (need special 'quit'-method?)
@@ -186,7 +186,7 @@ TopLevel::TopLevel() : KSystemTray()
/* (not currently needed)
void TopLevel::queryExit()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
// config->sync();
}
*/
@@ -421,7 +421,7 @@ void TopLevel::teaSelected(int index)
menu->setItemChecked(index, true);
current_selected = index;
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("General");
config->writeEntry("Tea", current_selected);
}
@@ -657,7 +657,7 @@ void TopLevel::actionEnableToggled(bool on)
/* config-slot: "help" button clicked */
void TopLevel::help()
{
- kapp->invokeHelp();
+ tdeApp->invokeHelp();
}
/* config-slot: "Configure Events..." button clicked */
@@ -845,7 +845,7 @@ void TopLevel::config()
rebuildTeaMenus();
// and store to config
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
// remove old-style entries from default-group (if present)
if (config->hasKey("UserTea"))
config->deleteEntry("UserTea");