diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:17:23 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-04 03:25:50 +0200 |
commit | 75e37fa7ac968680c553ae1d8a175527a731a3aa (patch) | |
tree | 814b5f558f75806a2a922cb31f13e0d4b7b4e3c3 /kicker-applets/kbinaryclock | |
parent | 19e67aed27e50319d00a06ae6287236db13f82f4 (diff) | |
download | tdeaddons-75e37fa7ac968680c553ae1d8a175527a731a3aa.tar.gz tdeaddons-75e37fa7ac968680c553ae1d8a175527a731a3aa.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit ff5b07d9659291ac8172cd35f0821bcd30ce25c9)
Diffstat (limited to 'kicker-applets/kbinaryclock')
-rw-r--r-- | kicker-applets/kbinaryclock/kbinaryclock.cpp | 4 | ||||
-rw-r--r-- | kicker-applets/kbinaryclock/kbinaryclock.kcfg | 2 | ||||
-rw-r--r-- | kicker-applets/kbinaryclock/settings.ui | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/kicker-applets/kbinaryclock/kbinaryclock.cpp b/kicker-applets/kbinaryclock/kbinaryclock.cpp index dbfd9a5..d34f000 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"> |