summaryrefslogtreecommitdiffstats
path: root/kicker-applets/kbinaryclock
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:23 -0600
commitff5b07d9659291ac8172cd35f0821bcd30ce25c9 (patch)
treee235f4ed83008c9d730c46b17997103f10a2ae3b /kicker-applets/kbinaryclock
parent75112ed8e227f656f98523b7ffdad5422d9a6f11 (diff)
downloadtdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.tar.gz
tdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kicker-applets/kbinaryclock')
-rw-r--r--kicker-applets/kbinaryclock/kbinaryclock.cpp4
-rw-r--r--kicker-applets/kbinaryclock/kbinaryclock.kcfg2
-rw-r--r--kicker-applets/kbinaryclock/settings.ui2
3 files changed, 4 insertions, 4 deletions
diff --git a/kicker-applets/kbinaryclock/kbinaryclock.cpp b/kicker-applets/kbinaryclock/kbinaryclock.cpp
index f46b4a0..9eafcc4 100644
--- a/kicker-applets/kbinaryclock/kbinaryclock.cpp
+++ b/kicker-applets/kbinaryclock/kbinaryclock.cpp
@@ -180,7 +180,7 @@ void KBinaryClock::loadSettings(){
int darkFactor = prefs->darkFactor();
TQColor backgroundColor = prefs->background();
bool modifyBackground = false;
- if(backgroundColor != KApplication::tqpalette().active().background()){
+ if(backgroundColor != KApplication::palette().active().background()){
setPaletteBackgroundColor(backgroundColor);
modifyBackground = true;
}
@@ -348,7 +348,7 @@ void KBinaryClock::openContextMenu() {
void KBinaryClock::slotCopyMenuActivated( int id ) {
TQPopupMenu *m = (TQPopupMenu *) sender();
TQString s = m->text(id);
- TQApplication::tqclipboard()->setText(s);
+ TQApplication::clipboard()->setText(s);
}
void KBinaryClock::toggleCalendar()
diff --git a/kicker-applets/kbinaryclock/kbinaryclock.kcfg b/kicker-applets/kbinaryclock/kbinaryclock.kcfg
index 84f35c3..b5a5fb3 100644
--- a/kicker-applets/kbinaryclock/kbinaryclock.kcfg
+++ b/kicker-applets/kbinaryclock/kbinaryclock.kcfg
@@ -35,7 +35,7 @@
</entry>
<entry name="Background" type="Color">
<label>Background color</label>
- <default code="true">KApplication::tqpalette().active().background()</default>
+ <default code="true">KApplication::palette().active().background()</default>
</entry>
<entry name="Show_Seconds" type="Bool">
<label>Whether to show seconds</label>
diff --git a/kicker-applets/kbinaryclock/settings.ui b/kicker-applets/kbinaryclock/settings.ui
index 7f21dec..59c5f6f 100644
--- a/kicker-applets/kbinaryclock/settings.ui
+++ b/kicker-applets/kbinaryclock/settings.ui
@@ -252,7 +252,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="4" rowspan="3" colspan="1">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<vbox>
<property name="name">