summaryrefslogtreecommitdiffstats
path: root/kicker-applets/kolourpicker/kolourpicker.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:17:23 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:17:23 -0600
commitff5b07d9659291ac8172cd35f0821bcd30ce25c9 (patch)
treee235f4ed83008c9d730c46b17997103f10a2ae3b /kicker-applets/kolourpicker/kolourpicker.cpp
parent75112ed8e227f656f98523b7ffdad5422d9a6f11 (diff)
downloadtdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.tar.gz
tdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kicker-applets/kolourpicker/kolourpicker.cpp')
-rw-r--r--kicker-applets/kolourpicker/kolourpicker.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kicker-applets/kolourpicker/kolourpicker.cpp b/kicker-applets/kolourpicker/kolourpicker.cpp
index 9acfc26..b727446 100644
--- a/kicker-applets/kolourpicker/kolourpicker.cpp
+++ b/kicker-applets/kolourpicker/kolourpicker.cpp
@@ -208,7 +208,7 @@ void KolourPicker::mouseReleaseEvent(TQMouseEvent *e)
// set both clipboard and selection
void KolourPicker::setClipboard(const TQString& text)
{
- TQClipboard *clip = TQApplication::tqclipboard();
+ TQClipboard *clip = TQApplication::clipboard();
bool oldMode = clip->selectionModeEnabled();
clip->setSelectionMode(true);
clip->setText(text);
@@ -247,14 +247,14 @@ void KolourPicker::arrangeButtons()
h = height();
if (h > 40)
{
- // vertical tqlayout
+ // vertical layout
p = (h - 40)/3;
m_colourButton->setGeometry(2, p, 20, 20);
m_historyButton->setGeometry(2, 2*p+20, 20, 20);
}
else
{
- // horizontal tqlayout
+ // horizontal layout
p = (h - 20)/2;
m_colourButton->setGeometry(2, p, 20, 20);
m_historyButton->setGeometry(24, p, 20, 20);
@@ -265,14 +265,14 @@ void KolourPicker::arrangeButtons()
w = width();
if (w > 40)
{
- // horizontal tqlayout
+ // horizontal layout
p = (w - 40)/3;
m_colourButton->setGeometry(p, 2, 20, 20);
m_historyButton->setGeometry(2*p+20, 2, 20, 20);
}
else
{
- // vertical tqlayout
+ // vertical layout
p = (w - 20)/2;
m_colourButton->setGeometry(p, 2, 20, 20);
m_historyButton->setGeometry(p, 24, 20, 20);