From 625904bd3097f9749450428904ca14ff2531824d Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksim/library/led.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'ksim/library/led.cpp') diff --git a/ksim/library/led.cpp b/ksim/library/led.cpp index f2acc2b..3fa8d7f 100644 --- a/ksim/library/led.cpp +++ b/ksim/library/led.cpp @@ -81,10 +81,10 @@ void KSim::Led::setOn(bool force) return; } - if (d->pixmap.tqmask() && !d->pixmap.tqmask()->isNull()) { - TQBitmap tqmask(rect.size()); - bitBlt(&tqmask, TQPoint(0, 0), d->pixmap.tqmask(), rect, CopyROP); - setMask(tqmask); + if (d->pixmap.mask() && !d->pixmap.mask()->isNull()) { + TQBitmap mask(rect.size()); + bitBlt(&mask, TQPoint(0, 0), d->pixmap.mask(), rect, CopyROP); + setMask(mask); } bitBlt(this, TQPoint(0, 0), &d->pixmap, rect, CopyROP); @@ -104,10 +104,10 @@ void KSim::Led::setOff(bool force) return; } - if (d->pixmap.tqmask() && !d->pixmap.tqmask()->isNull()) { - TQBitmap tqmask(rect.size()); - bitBlt(&tqmask, TQPoint(0, 0), d->pixmap.tqmask(), rect, CopyROP); - setMask(tqmask); + if (d->pixmap.mask() && !d->pixmap.mask()->isNull()) { + TQBitmap mask(rect.size()); + bitBlt(&mask, TQPoint(0, 0), d->pixmap.mask(), rect, CopyROP); + setMask(mask); } bitBlt(this, TQPoint(0, 0), &d->pixmap, rect, CopyROP); @@ -184,24 +184,24 @@ class KSim::LedLabel::Private }; KSim::LedLabel::LedLabel(int max, int type, const TQString &label, - TQWidget *tqparent, const char *name, WFlags fl) - : KSim::Progress(max, type, Panel, tqparent, name, fl) + TQWidget *parent, const char *name, WFlags fl) + : KSim::Progress(max, type, Panel, parent, name, fl) { init(); setText(label); } KSim::LedLabel::LedLabel(int max, int type, - TQWidget *tqparent, const char *name, WFlags fl) - : KSim::Progress(max, type, Panel, tqparent, name, fl) + TQWidget *parent, const char *name, WFlags fl) + : KSim::Progress(max, type, Panel, parent, name, fl) { init(); } KSim::LedLabel::LedLabel(int max, - TQWidget *tqparent, const char *name, WFlags fl) + TQWidget *parent, const char *name, WFlags fl) : KSim::Progress(max, KSim::Types::None, - Panel, tqparent, name, fl) + Panel, parent, name, fl) { init(); } -- cgit v1.2.1