summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/timecontrol/timecontrol-configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/timecontrol/timecontrol-configuration.cpp')
-rw-r--r--kradio3/plugins/timecontrol/timecontrol-configuration.cpp10
1 files changed, 5 insertions, 5 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();