diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 625904bd3097f9749450428904ca14ff2531824d (patch) | |
tree | a45c43d5de71cb720078fa1272a4339815a919be /ksim/library/led.cpp | |
parent | 6335dc55802871b5a43492f217b6edbb420204c4 (diff) | |
download | tdeutils-625904bd3097f9749450428904ca14ff2531824d.tar.gz tdeutils-625904bd3097f9749450428904ca14ff2531824d.zip |
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
Diffstat (limited to 'ksim/library/led.cpp')
-rw-r--r-- | ksim/library/led.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
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(); } |