summaryrefslogtreecommitdiffstats
path: root/kicker-applets/math
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
commit74a2067d286867e313f736d6733407586b71195e (patch)
tree182ea565d6909db1541424e4ffb3168b4b139c21 /kicker-applets/math
parent081670a12774435ae60cf8eba9226b91d27852b3 (diff)
downloadtdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz
tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kicker-applets/math')
-rw-r--r--kicker-applets/math/mathapplet.cpp2
-rw-r--r--kicker-applets/math/mathapplet.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/kicker-applets/math/mathapplet.cpp b/kicker-applets/math/mathapplet.cpp
index 7856142..88350fb 100644
--- a/kicker-applets/math/mathapplet.cpp
+++ b/kicker-applets/math/mathapplet.cpp
@@ -110,7 +110,7 @@ MathApplet::MathApplet(const TQString& configFile, Type type, int actions,
void MathApplet::initContextMenu()
{
- mContextMenu = new KPopupMenu(this);
+ mContextMenu = new TDEPopupMenu(this);
mContextMenu->setCheckable(true);
mContextMenu->insertItem(i18n("Use &Degrees"), this, TQT_SLOT(useDegrees()), 0, 0, 0);
mContextMenu->insertItem(i18n("Use &Radians"), this, TQT_SLOT(useRadians()), 0, 1, 1);
diff --git a/kicker-applets/math/mathapplet.h b/kicker-applets/math/mathapplet.h
index dad1e8c..e8792b9 100644
--- a/kicker-applets/math/mathapplet.h
+++ b/kicker-applets/math/mathapplet.h
@@ -33,7 +33,7 @@ class TQLabel;
class TQHBox;
class TQPushButton;
class KHistoryCombo;
-class KPopupMenu;
+class TDEPopupMenu;
class MathApplet : public KPanelApplet
{
@@ -68,7 +68,7 @@ private:
TQLabel *_label;
TQPushButton *_btn;
TQHBox *_hbox;
- KPopupMenu *mContextMenu;
+ TDEPopupMenu *mContextMenu;
bool m_hasFocus;
};