From 6687cd2515bdebbd8f0c92261f3acf8777441ca6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:28:00 -0600 Subject: Rename old tq methods that no longer need a unique name --- kbstateapplet/kbstate.cpp | 8 ++++---- kbstateapplet/kbstate.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kbstateapplet') 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); } diff --git a/kbstateapplet/kbstate.h b/kbstateapplet/kbstate.h index fc6987f..892aeb9 100644 --- a/kbstateapplet/kbstate.h +++ b/kbstateapplet/kbstate.h @@ -40,7 +40,7 @@ public: StatusIcon (const TQString &text, TQWidget *parent, const char *name=0); ~StatusIcon (); - TQSize tqminimumSizeHint () const; + TQSize minimumSizeHint () const; }; typedef TQPtrList IconList; -- cgit v1.2.3