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