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 | de737d3d64188358ea9a7a474e1a6f90b41cb504 (patch) | |
tree | 957a6eb156b12c551c2f5e8b70413b8c61e4eec0 /kradio3/plugins/timecontrol | |
parent | 2620ed602b1dc0a7bc3c3135ee12361b1af25405 (diff) | |
download | tderadio-de737d3d64188358ea9a7a474e1a6f90b41cb504.tar.gz tderadio-de737d3d64188358ea9a7a474e1a6f90b41cb504.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/plugins/timecontrol')
-rw-r--r-- | kradio3/plugins/timecontrol/timecontrol-configuration.cpp | 10 | ||||
-rw-r--r-- | kradio3/plugins/timecontrol/timecontrol-configuration.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kradio3/plugins/timecontrol/timecontrol-configuration.cpp b/kradio3/plugins/timecontrol/timecontrol-configuration.cpp index c49906d..31ec3db 100644 --- a/kradio3/plugins/timecontrol/timecontrol-configuration.cpp +++ b/kradio3/plugins/timecontrol/timecontrol-configuration.cpp @@ -47,8 +47,8 @@ public: }; -TimeControlConfiguration::TimeControlConfiguration (TQWidget *tqparent) - : TimeControlConfigurationUI(tqparent), +TimeControlConfiguration::TimeControlConfiguration (TQWidget *parent) + : TimeControlConfigurationUI(parent), ITimeControlClient(), IRadioClient(), ignoreChanges(false), @@ -258,17 +258,17 @@ void TimeControlConfiguration::slotWeekdaysChanged () { if (ignoreChanges) return; - int tqmask = 0; + int mask = 0; for (int i = 0; i < 7; ++i) { if (listWeekdays->isSelected(i)) { - tqmask |= (1 << i); + mask |= (1 << i); } } int idx = listAlarms->currentItem(); if (idx >= 0 && (unsigned)idx < alarms.size()) { Alarm &a = alarms[idx]; - a.setWeekdayMask(tqmask); + a.setWeekdayMask(mask); ignoreChanges = true; bool oldBlock = listAlarms->signalsBlocked(); diff --git a/kradio3/plugins/timecontrol/timecontrol-configuration.h b/kradio3/plugins/timecontrol/timecontrol-configuration.h index 64d5cb6..814814a 100644 --- a/kradio3/plugins/timecontrol/timecontrol-configuration.h +++ b/kradio3/plugins/timecontrol/timecontrol-configuration.h @@ -35,7 +35,7 @@ class TimeControlConfiguration : public TimeControlConfigurationUI, Q_OBJECT TQ_OBJECT public : - TimeControlConfiguration (TQWidget *tqparent); + TimeControlConfiguration (TQWidget *parent); ~TimeControlConfiguration (); bool connectI (Interface *i); |