diff options
Diffstat (limited to 'rbutil/rbutilqt/encttscfggui.h')
-rw-r--r-- | rbutil/rbutilqt/encttscfggui.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/rbutil/rbutilqt/encttscfggui.h b/rbutil/rbutilqt/encttscfggui.h index 36aec54637..80af86dabc 100644 --- a/rbutil/rbutilqt/encttscfggui.h +++ b/rbutil/rbutilqt/encttscfggui.h | |||
@@ -17,31 +17,32 @@ | |||
17 | * KIND, either express or implied. | 17 | * KIND, either express or implied. |
18 | * | 18 | * |
19 | ****************************************************************************/ | 19 | ****************************************************************************/ |
20 | 20 | ||
21 | #ifndef ENCTTSCFGGUI_H | 21 | #ifndef ENCTTSCFGGUI_H |
22 | #define ENCTTSCFGGUI_H | 22 | #define ENCTTSCFGGUI_H |
23 | 23 | ||
24 | #include <QDialog> | 24 | #include <QDialog> |
25 | #include <QString> | ||
25 | #include <QProgressDialog> | 26 | #include <QProgressDialog> |
26 | #include "encttssettings.h" | 27 | #include "encttssettings.h" |
27 | 28 | ||
28 | //! \brief Shows and manages a configuration gui for encoders and tts enignes | 29 | //! \brief Shows and manages a configuration gui for encoders and tts enignes |
29 | //! | 30 | //! |
30 | class EncTtsCfgGui: public QDialog | 31 | class EncTtsCfgGui: public QDialog |
31 | { | 32 | { |
32 | Q_OBJECT | 33 | Q_OBJECT |
33 | public: | 34 | public: |
34 | //! Creates the UI. give it a endoer or tts engine with already set config. uses show() or exec() to show it. | 35 | //! Creates the UI. give it a endoer or tts engine with already set config. uses show() or exec() to show it. |
35 | EncTtsCfgGui(QDialog* parent, EncTtsSettingInterface* interface,QString name); | 36 | EncTtsCfgGui(QDialog* parent, EncTtsSettingInterface* iface, QString name); |
36 | 37 | ||
37 | private slots: | 38 | private slots: |
38 | //! accept current configuration values and close window | 39 | //! accept current configuration values and close window |
39 | void accept(void); | 40 | void accept(void); |
40 | //! close window and dont save configuration | 41 | //! close window and dont save configuration |
41 | void reject(void); | 42 | void reject(void); |
42 | //! updates the corresponding setting from the sending Widget | 43 | //! updates the corresponding setting from the sending Widget |
43 | void updateSetting(); | 44 | void updateSetting(); |
44 | //! updates corresponding Widget from the sending Setting. | 45 | //! updates corresponding Widget from the sending Setting. |
45 | void updateWidget(); | 46 | void updateWidget(); |
46 | //! shows a busy dialog. counts calls. | 47 | //! shows a busy dialog. counts calls. |
47 | void showBusy(); | 48 | void showBusy(); |
@@ -49,7 +50,7 @@ private slots: | |||
49 | void hideBusy(); | 50 | void hideBusy(); |
50 | //! used via the SignalMapper for all Browse buttons | 51 | //! used via the SignalMapper for all Browse buttons |
51 | void browse(QObject*); | 52 | void browse(QObject*); |
52 | 53 | ||
53 | private: | 54 | private: |
54 | //! creates all dynamic window content | 55 | //! creates all dynamic window content |
55 | void setUpWindow(); | 56 | void setUpWindow(); |
@@ -69,7 +70,7 @@ private: | |||
69 | QMap<EncTtsSetting*,QWidget*> m_settingsWidgetsMap; | 70 | QMap<EncTtsSetting*,QWidget*> m_settingsWidgetsMap; |
70 | //! Maps all browse buttons to the corresponding Setting | 71 | //! Maps all browse buttons to the corresponding Setting |
71 | QSignalMapper m_browseBtnMap; | 72 | QSignalMapper m_browseBtnMap; |
72 | //! counter how often busyShow() is called, | 73 | //! counter how often busyShow() is called, |
73 | int m_busyCnt; | 74 | int m_busyCnt; |
74 | }; | 75 | }; |
75 | 76 | ||