summaryrefslogtreecommitdiffstats
path: root/kbstateapplet
diff options
context:
space:
mode:
Diffstat (limited to 'kbstateapplet')
-rw-r--r--kbstateapplet/kbstate.cpp6
-rw-r--r--kbstateapplet/kbstate.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/kbstateapplet/kbstate.cpp b/kbstateapplet/kbstate.cpp
index 170512f..1cc0e9e 100644
--- a/kbstateapplet/kbstate.cpp
+++ b/kbstateapplet/kbstate.cpp
@@ -134,21 +134,21 @@ KbStateApplet::~KbStateApplet() {
// Builds, connects _popup menu
void KbStateApplet::buildPopupMenu()
{
- sizePopup=new KPopupMenu(this);
+ sizePopup=new TDEPopupMenu(this);
sizePopup->setCheckable( true );
sizePopup->insertItem(i18n("Small"), 13);
sizePopup->insertItem(i18n("Medium"), 20);
sizePopup->insertItem(i18n("Large"), 26);
connect(sizePopup,TQT_SIGNAL(activated(int)), this, TQT_SLOT(setIconDim(int)));
- showPopup=new KPopupMenu(this);
+ showPopup=new TDEPopupMenu(this);
showPopup->setCheckable( true );
modifierItem=showPopup->insertItem(i18n("Modifier Keys"), this, TQT_SLOT(toggleModifier()));
lockkeysItem=showPopup->insertItem(i18n("Lock Keys"), this, TQT_SLOT(toggleLockkeys()));
mouseItem=showPopup->insertItem(i18n("Mouse Status"), this, TQT_SLOT(toggleMouse()));
accessxItem=showPopup->insertItem(i18n("AccessX Status"), this, TQT_SLOT(toggleAccessX()));
- popup = new KPopupMenu(this);
+ popup = new TDEPopupMenu(this);
popup->setCheckable( true );
popup->insertTitle(0, i18n("Keyboard Status Applet"));
popup->insertItem(i18n("Set Icon Size"),sizePopup);
diff --git a/kbstateapplet/kbstate.h b/kbstateapplet/kbstate.h
index e910df2..da09d48 100644
--- a/kbstateapplet/kbstate.h
+++ b/kbstateapplet/kbstate.h
@@ -31,7 +31,7 @@ extern "C"
class TQLabel;
class TQGridLayout;
-class KPopupMenu;
+class TDEPopupMenu;
class StatusIcon : public TQPushButton {
Q_OBJECT
@@ -190,9 +190,9 @@ private:
void buildPopupMenu();
void updateMenu();
- KPopupMenu *popup;
- KPopupMenu *sizePopup;
- KPopupMenu *showPopup;
+ TDEPopupMenu *popup;
+ TDEPopupMenu *sizePopup;
+ TDEPopupMenu *showPopup;
int modifierItem, lockkeysItem, mouseItem, accessxItem;
int fillSpaceItem;
bool showModifiers, showLockkeys, showMouse, showAccessX;