equal
deleted
inserted
replaced
20 #define RADIOUIENGINE_H_ |
20 #define RADIOUIENGINE_H_ |
21 |
21 |
22 // System includes |
22 // System includes |
23 #include <QObject> |
23 #include <QObject> |
24 #include <QString> |
24 #include <QString> |
|
25 #include <QVariant> |
25 #include <QScopedPointer> |
26 #include <QScopedPointer> |
26 #include <QSharedPointer> |
27 #include <QSharedPointer> |
27 |
28 |
28 // User includes |
29 // User includes |
29 #include "radiouiengineexport.h" |
30 #include "radiouiengineexport.h" |
129 /** |
130 /** |
130 * Tunes the radio engine to given frequency |
131 * Tunes the radio engine to given frequency |
131 */ |
132 */ |
132 void setFrequency( uint frequency, const int reason = TuneReason::Unspecified ); |
133 void setFrequency( uint frequency, const int reason = TuneReason::Unspecified ); |
133 |
134 |
134 signals: |
135 void startTimer( int msec, int id, QObject* receiver, const char* member, QVariant param = QVariant() ); |
|
136 void cancelTimer( int id, const QObject* receiver ); |
|
137 bool isTimerActive( int id, const QObject* receiver ) const; |
|
138 |
|
139 Q_SIGNALS: |
135 |
140 |
136 void tunedToFrequency( uint frequency, int commandSender ); |
141 void tunedToFrequency( uint frequency, int commandSender ); |
137 void seekingStarted( int direction ); |
142 void seekingStarted( int direction ); |
138 void radioStatusChanged( bool radioIsOn ); |
143 void radioStatusChanged( bool radioIsOn ); |
139 |
144 |
145 void audioRouteChanged( bool loudspeaker ); |
150 void audioRouteChanged( bool loudspeaker ); |
146 void antennaStatusChanged( bool connected ); |
151 void antennaStatusChanged( bool connected ); |
147 |
152 |
148 void powerOffRequested(); |
153 void powerOffRequested(); |
149 |
154 |
150 public slots: |
155 public Q_SLOTS: |
151 |
156 |
152 /*! |
157 /*! |
153 * volume update command slot for the engine |
158 * volume update command slot for the engine |
154 */ |
159 */ |
155 void setVolume( int volume ); |
160 void setVolume( int volume ); |