diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:43 -0600 |
commit | d9056e4cfc9bb3187d193deac2355fce73254d2e (patch) | |
tree | 08e5e574b281f3da99abbefdeb01a7860337114f /amor | |
parent | 73c978ef8c0e4f3795f2d6cb71aedd6a4c903dbb (diff) | |
download | tdetoys-d9056e4cfc9bb3187d193deac2355fce73254d2e.tar.gz tdetoys-d9056e4cfc9bb3187d193deac2355fce73254d2e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'amor')
-rw-r--r-- | amor/amor.cpp | 4 | ||||
-rw-r--r-- | amor/amor.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/amor/amor.cpp b/amor/amor.cpp index c49a16b..15454c0 100644 --- a/amor/amor.cpp +++ b/amor/amor.cpp @@ -607,8 +607,8 @@ void Amor::slotMouseClicked(const TQPoint &pos) if (!mMenu) { KHelpMenu* help = new KHelpMenu(0, TDEGlobal::instance()->aboutData(), false); - KPopupMenu* helpMnu = help->menu(); - mMenu = new KPopupMenu(); + TDEPopupMenu* helpMnu = help->menu(); + mMenu = new TDEPopupMenu(); mMenu->insertTitle("Amor"); // I really don't want this i18n'ed mMenu->insertItem(SmallIcon("configure"), i18n("&Configure..."), this, TQT_SLOT(slotConfigure())); mMenu->insertSeparator(); diff --git a/amor/amor.h b/amor/amor.h index 9991bbb..3e75183 100644 --- a/amor/amor.h +++ b/amor/amor.h @@ -45,7 +45,7 @@ class AmorWidget; class TQTimer; class KWinModule; -class KPopupMenu; +class TDEPopupMenu; class QueueItem { public: @@ -134,7 +134,7 @@ private: TQTimer *mStackTimer; // Restacking timer TQTimer *mBubbleTimer;// Bubble tip timer (GP: I didn't create this one, it had no use when I found it) AmorDialog *mAmorDialog; // Setup dialog - KPopupMenu *mMenu; // Our menu + TDEPopupMenu *mMenu; // Our menu time_t mActiveTime; // The time an active event occurred TQPoint mCursPos; // The last recorded position of the pointer TQString mTipText; // Text to display in a bubble when possible |