diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-03-31 10:07:31 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-03-31 10:07:31 +0200 |
commit | bb879b5c441426d0096e08f8780f5cae8890ed60 (patch) | |
tree | 94608fc26b57eaa27b8308933071316399dc6857 | |
parent | c576c58ba60a1d966cfe5202970e059fb7e20c6e (diff) |
Fully-qualify enum arguments in button signals and slots.
Otherwise connecting these is problematic.
Done-with: owolff
-rw-r--r-- | library/components/batterybutton.h | 4 | ||||
-rw-r--r-- | library/components/networkmodebutton.h | 4 | ||||
-rw-r--r-- | library/components/powerbutton.h | 4 | ||||
-rw-r--r-- | library/components/signalstrengthbutton.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/library/components/batterybutton.h b/library/components/batterybutton.h index 61a39ab..36c1eb4 100644 --- a/library/components/batterybutton.h +++ b/library/components/batterybutton.h @@ -23,10 +23,10 @@ public: virtual ~BatteryButton(); public slots: - void setDisplayedBatteryLevel(BatteryLevel level); + void setDisplayedBatteryLevel(BatteryButton::BatteryLevel level); signals: - void batteryLevelChanged(BatteryLevel level) const; + void batteryLevelChanged(BatteryButton::BatteryLevel level) const; private slots: void emitBatteryLevelChanged(); diff --git a/library/components/networkmodebutton.h b/library/components/networkmodebutton.h index 4c9e381..8f57240 100644 --- a/library/components/networkmodebutton.h +++ b/library/components/networkmodebutton.h @@ -26,10 +26,10 @@ public: virtual ~NetworkModeButton(); public slots: - void setDisplayedNetworkMode(NetworkMode mode); + void setDisplayedNetworkMode(NetworkModeButton::NetworkMode mode); signals: - void networkModeChanged(NetworkMode mode) const; + void networkModeChanged(NetworkModeButton::NetworkMode mode) const; private slots: void emitNetworkModeChanged(); diff --git a/library/components/powerbutton.h b/library/components/powerbutton.h index 4e861de..5830cad 100644 --- a/library/components/powerbutton.h +++ b/library/components/powerbutton.h @@ -22,10 +22,10 @@ public: virtual ~PowerButton(); public slots: - void setDisplayedState(PowerState state); + void setDisplayedState(PowerButton::PowerState state); signals: - void powerStateChanged(PowerState state) const; + void powerStateChanged(PowerButton::PowerState state) const; private slots: void emitPowerStateChanged(); diff --git a/library/components/signalstrengthbutton.h b/library/components/signalstrengthbutton.h index 4e2aaa3..4ad520d 100644 --- a/library/components/signalstrengthbutton.h +++ b/library/components/signalstrengthbutton.h @@ -22,10 +22,10 @@ public: virtual ~SignalStrengthButton(); public slots: - void setDisplayedSignalStrength(SignalStrength strength); + void setDisplayedSignalStrength(SignalStrengthButton::SignalStrength strength); signals: - void signalStrengthChanged(SignalStrength strength) const; + void signalStrengthChanged(SignalStrengthButton::SignalStrength strength) const; private slots: void emitSignalStrengthChanged(); |