summaryrefslogtreecommitdiffstats
path: root/kteatime/toplevel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:14:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:14:43 -0600
commitd9056e4cfc9bb3187d193deac2355fce73254d2e (patch)
tree08e5e574b281f3da99abbefdeb01a7860337114f /kteatime/toplevel.cpp
parent73c978ef8c0e4f3795f2d6cb71aedd6a4c903dbb (diff)
downloadtdetoys-d9056e4cfc9bb3187d193deac2355fce73254d2e.tar.gz
tdetoys-d9056e4cfc9bb3187d193deac2355fce73254d2e.zip
Rename a number of classes to enhance compatibility with KDE4
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 0619994..f73209f 100644
--- a/kteatime/toplevel.cpp
+++ b/kteatime/toplevel.cpp
@@ -117,15 +117,15 @@ TopLevel::TopLevel() : KSystemTray()
listempty = (teas.count() == 0);
- startAct = new KAction(i18n("&Start"), "1rightarrow", 0,
+ startAct = new TDEAction(i18n("&Start"), "1rightarrow", 0,
TQT_TQOBJECT(this), TQT_SLOT(start()), actionCollection(), "start");
- stopAct = new KAction(i18n("Sto&p"), "cancel", 0,
+ stopAct = new TDEAction(i18n("Sto&p"), "cancel", 0,
TQT_TQOBJECT(this), TQT_SLOT(stop()), actionCollection(), "stop");
- confAct = new KAction(i18n("&Configure..."), "configure", 0,
+ confAct = new TDEAction(i18n("&Configure..."), "configure", 0,
TQT_TQOBJECT(this), TQT_SLOT(config()), actionCollection(), "configure");
- anonAct = new KAction(i18n("&Anonymous..."), 0, 0,
+ anonAct = new TDEAction(i18n("&Anonymous..."), 0, 0,
TQT_TQOBJECT(this), TQT_SLOT(anonymous()), actionCollection(), "anonymous");
-// KAction *quitAct = actionCollection()->action("file_quit");
+// TDEAction *quitAct = actionCollection()->action("file_quit");
// create app menu (displayed on right-click)
menu = new TQPopupMenu();
@@ -140,7 +140,7 @@ TopLevel::TopLevel() : KSystemTray()
rebuildTeaMenus(); // populate tops of menus with tea-entries from config
KHelpMenu* help = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false);
- KPopupMenu* helpMnu = help->menu();
+ TDEPopupMenu* helpMnu = help->menu();
start_menu->insertSeparator();
anonAct->plug(start_menu);