summaryrefslogtreecommitdiffstats
path: root/kbstateapplet/kbstate.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:28:00 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:28:00 -0600
commit6687cd2515bdebbd8f0c92261f3acf8777441ca6 (patch)
treec842392adc0b9d0eed2730bb756d5381b0fabc82 /kbstateapplet/kbstate.cpp
parentf46912a1a50c5ca06eb713e43e170f5ac47bb680 (diff)
downloadtdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.tar.gz
tdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kbstateapplet/kbstate.cpp')
-rw-r--r--kbstateapplet/kbstate.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbstateapplet/kbstate.cpp b/kbstateapplet/kbstate.cpp
index 0966f58..94f660f 100644
--- a/kbstateapplet/kbstate.cpp
+++ b/kbstateapplet/kbstate.cpp
@@ -810,7 +810,7 @@ void KeyIcon::drawButton (TQPainter *p) {
int y = (height()-locked.height())/2;
int o = 0;
if (isLocked || isLatched) {
- qDrawShadePanel (p, 0, 0, width(), height(), tqcolorGroup(), true, 1, NULL);
+ qDrawShadePanel (p, 0, 0, width(), height(), colorGroup(), true, 1, NULL);
p->fillRect (1,1,width()-2,height()-2, KGlobalSettings::highlightColor());
if (strcmp(modifierKeys[keyId].icon, ""))
p->drawPixmap (x+1,y+1, latched);
@@ -818,7 +818,7 @@ void KeyIcon::drawButton (TQPainter *p) {
o = 1;
}
else {
- qDrawShadePanel (p, 0, 0, width(), height(), tqcolorGroup(), false, 1, NULL);
+ qDrawShadePanel (p, 0, 0, width(), height(), colorGroup(), false, 1, NULL);
if (strcmp(modifierKeys[keyId].icon, ""))
p->drawPixmap (x,y, unlatched);
black = KGlobalSettings::textColor();
@@ -1068,12 +1068,12 @@ void TimeoutIcon::drawButton (TQPainter *p) {
StatusIcon::StatusIcon (const TQString &text, TQWidget *parent, const char *name)
: TQPushButton (text, parent, name) {
- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored));
+ setSizePolicy(TQSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored));
}
StatusIcon::~StatusIcon () {
}
-TQSize StatusIcon::tqminimumSizeHint () const {
+TQSize StatusIcon::minimumSizeHint () const {
return TQSize (0,0);
}