summaryrefslogtreecommitdiffstats
path: root/kbstateapplet
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:09:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:09:56 -0600
commit5ca50f0ef6000d132b45fc6a50cf3062245bd070 (patch)
tree99c6b7de89d289e0a80ec21f7525dc514bc759d1 /kbstateapplet
parent722a076e84b860a947f4c68417db82526b03b1a1 (diff)
downloadtdeaccessibility-5ca50f0ef6000d132b45fc6a50cf3062245bd070.tar.gz
tdeaccessibility-5ca50f0ef6000d132b45fc6a50cf3062245bd070.zip
Rename a number of classes to enhance compatibility with KDE4
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;