summaryrefslogtreecommitdiffstats
path: root/kicker-applets/kolourpicker/kolourpicker.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit90363652674deb94cd07057428b24fcb1735dbce (patch)
tree35013223cb731f194f8584cc1c06a023c3c75c85 /kicker-applets/kolourpicker/kolourpicker.cpp
parent627b091fad9df13695f249588e8a58f524eda0fa (diff)
downloadtdeaddons-90363652674deb94cd07057428b24fcb1735dbce.tar.gz
tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker-applets/kolourpicker/kolourpicker.cpp')
-rw-r--r--kicker-applets/kolourpicker/kolourpicker.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kicker-applets/kolourpicker/kolourpicker.cpp b/kicker-applets/kolourpicker/kolourpicker.cpp
index 101bd42..fbce8cf 100644
--- a/kicker-applets/kolourpicker/kolourpicker.cpp
+++ b/kicker-applets/kolourpicker/kolourpicker.cpp
@@ -48,18 +48,18 @@ $Id$
// Applet initialization function
extern "C"
{
- KDE_EXPORT KPanelApplet* init(TQWidget *tqparent, const TQString& configFile)
+ KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
{
KGlobal::locale()->insertCatalogue("kolourpicker");
return new KolourPicker(configFile, KPanelApplet::Normal,
KPanelApplet::About,
- tqparent, "kolourpicker");
+ parent, "kolourpicker");
}
}
KolourPicker::KolourPicker(const TQString& configFile, Type type,
- int actions, TQWidget *tqparent, const char *name)
- : KPanelApplet(configFile, type, actions, tqparent, name),
+ int actions, TQWidget *parent, const char *name)
+ : KPanelApplet(configFile, type, actions, parent, name),
m_picking(0)
{
KAboutData *about = new KAboutData("kolourpicker",
@@ -339,16 +339,16 @@ TQPixmap KolourPicker::colorPixmap(const TQColor &c) const
img.setPixel(x, y, tqRgba(128, 128, 128, 255));
}
- TQBitmap tqmask(16, 16);
- tqmask.fill(TQt::color0);
- TQPainter p(&tqmask);
+ TQBitmap mask(16, 16);
+ mask.fill(TQt::color0);
+ TQPainter p(&mask);
p.setPen(TQt::NoPen);
p.setBrush(TQt::color1);
p.drawEllipse(0, 0, 15, 15);
p.end();
TQPixmap pm = TQPixmap(img.smoothScale(16, 16));
- pm.setMask(tqmask);
+ pm.setMask(mask);
return pm;
}