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 | 49f9b290287ed4df63901c5912ddbb3c1ae5d515 (patch) | |
tree | 0a20bf2186d58b5edef3a3a7da518ea3c8244246 /kteatime | |
parent | 1d14c95a7737078a695e99442628f450354c00ff (diff) | |
download | tdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.tar.gz tdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kteatime')
-rw-r--r-- | kteatime/tealist.cpp | 8 | ||||
-rw-r--r-- | kteatime/tealist.h | 4 | ||||
-rw-r--r-- | kteatime/timeedit.cpp | 8 | ||||
-rw-r--r-- | kteatime/timeedit.h | 4 | ||||
-rw-r--r-- | kteatime/toplevel.cpp | 8 |
5 files changed, 16 insertions, 16 deletions
diff --git a/kteatime/tealist.cpp b/kteatime/tealist.cpp index 8ef9dc5..dcc4209 100644 --- a/kteatime/tealist.cpp +++ b/kteatime/tealist.cpp @@ -25,14 +25,14 @@ TQString int2time(int time) } -TeaListItem::TeaListItem(TQListView * tqparent) - :TQListViewItem(tqparent) +TeaListItem::TeaListItem(TQListView * parent) + :TQListViewItem(parent) { } -TeaListItem::TeaListItem(TQListView * tqparent, TQListViewItem *after) - :TQListViewItem(tqparent, after) +TeaListItem::TeaListItem(TQListView * parent, TQListViewItem *after) + :TQListViewItem(parent, after) { } diff --git a/kteatime/tealist.h b/kteatime/tealist.h index 8012af9..7b65795 100644 --- a/kteatime/tealist.h +++ b/kteatime/tealist.h @@ -18,8 +18,8 @@ class TeaListItem : public TQListViewItem { public: - TeaListItem(TQListView *tqparent); - TeaListItem(TQListView *tqparent, TQListViewItem *after); + TeaListItem(TQListView *parent); + TeaListItem(TQListView *parent, TQListViewItem *after); ~TeaListItem(); int time(); diff --git a/kteatime/timeedit.cpp b/kteatime/timeedit.cpp index 5344520..473a11b 100644 --- a/kteatime/timeedit.cpp +++ b/kteatime/timeedit.cpp @@ -13,8 +13,8 @@ #include "timeedit.h" #include "timeedit.moc" -WrappingSpinBox::WrappingSpinBox(int minValue, int maxValue, int step, TQWidget *tqparent, const char *name) - : TQSpinBox(minValue, maxValue, step, tqparent, name) +WrappingSpinBox::WrappingSpinBox(int minValue, int maxValue, int step, TQWidget *parent, const char *name) + : TQSpinBox(minValue, maxValue, step, parent, name) { } @@ -49,8 +49,8 @@ void WrappingSpinBox::stepDown() // ------------------------------------------------------------------------- -TimeEdit::TimeEdit(TQWidget* tqparent, const char* name) - : TQWidget(tqparent, name) +TimeEdit::TimeEdit(TQWidget* parent, const char* name) + : TQWidget(parent, name) { tqlayout = new TQHBoxLayout(this); minuteBox = new TQSpinBox(0, 300, 1, this); diff --git a/kteatime/timeedit.h b/kteatime/timeedit.h index 3370dac..c614f57 100644 --- a/kteatime/timeedit.h +++ b/kteatime/timeedit.h @@ -24,7 +24,7 @@ class WrappingSpinBox : public TQSpinBox TQ_OBJECT public: - WrappingSpinBox(int minValue, int maxValue, int step = 1, TQWidget *tqparent=0, const char *name=0); + WrappingSpinBox(int minValue, int maxValue, int step = 1, TQWidget *parent=0, const char *name=0); ~WrappingSpinBox(); void stepUp(); @@ -46,7 +46,7 @@ class TimeEdit : public TQWidget TQ_OBJECT public: - TimeEdit(TQWidget* tqparent = 0, const char* name = 0); + TimeEdit(TQWidget* parent = 0, const char* name = 0); ~TimeEdit(); void setValue(int value); diff --git a/kteatime/toplevel.cpp b/kteatime/toplevel.cpp index 65cf116..82539ce 100644 --- a/kteatime/toplevel.cpp +++ b/kteatime/toplevel.cpp @@ -251,15 +251,15 @@ void TopLevel::paintEvent(TQPaintEvent *) // overlay pie chart onto tray icon TQPixmap base(*pm); // make copy of base pixmap if (useTrayVis && running) { - // extend tqmask - TQBitmap tqmask = *(base.tqmask()); - TQPainter pm(&tqmask); + // extend mask + TQBitmap mask = *(base.mask()); + TQPainter pm(&mask); pm.setBrush(TQt::color1); // fill with "foreground-colour" pm.setPen(TQt::NoPen); // no border needed/wanted pm.drawPie(0+1, ((float) width()/(float) 2.44444444444)+1, (width()/2), (width()/2), 90*16, -360*16); // full circle of small size pm.drawPie(0, ((float) width()/(float) 2.44444444444), ((float) width()/(float) 1.69230769231), ((float) width()/(float) 1.69230769231), 90*16, percentDone*16); // pie part of big size pm.end(); - base.setMask(tqmask); + base.setMask(mask); // draw pie chart TQPainter px(&base); |