summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/encttscfggui.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2022-03-19 22:00:16 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2022-03-19 22:04:09 +0100
commite21f80f397bb63a46ae364fa6ef8d5b64a96ffce (patch)
treeff4ccf551c016743165ddac4fc853b63245970a1 /utils/rbutilqt/encttscfggui.h
parentfcffe5fb8155359a1610fe56ae18a25cd98a357f (diff)
downloadrockbox-e21f80f397bb63a46ae364fa6ef8d5b64a96ffce.tar.gz
rockbox-e21f80f397bb63a46ae364fa6ef8d5b64a96ffce.zip
rbutil: Remove use of deprecated QSignalMapper.
With Qt5 we can now use lambdas instead. Change-Id: I00fe9c355d72ef9987c61c7a36a810d6eca311bc
Diffstat (limited to 'utils/rbutilqt/encttscfggui.h')
-rw-r--r--utils/rbutilqt/encttscfggui.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/utils/rbutilqt/encttscfggui.h b/utils/rbutilqt/encttscfggui.h
index 80af86dabc..bf9f08a384 100644
--- a/utils/rbutilqt/encttscfggui.h
+++ b/utils/rbutilqt/encttscfggui.h
@@ -40,16 +40,10 @@ private slots:
40 void accept(void); 40 void accept(void);
41 //! close window and dont save configuration 41 //! close window and dont save configuration
42 void reject(void); 42 void reject(void);
43 //! updates the corresponding setting from the sending Widget
44 void updateSetting();
45 //! updates corresponding Widget from the sending Setting.
46 void updateWidget();
47 //! shows a busy dialog. counts calls. 43 //! shows a busy dialog. counts calls.
48 void showBusy(); 44 void showBusy();
49 //! hides the busy dialog, counts calls 45 //! hides the busy dialog, counts calls
50 void hideBusy(); 46 void hideBusy();
51 //! used via the SignalMapper for all Browse buttons
52 void browse(QObject*);
53 47
54private: 48private:
55 //! creates all dynamic window content 49 //! creates all dynamic window content
@@ -67,9 +61,7 @@ private:
67 //! List of settings from the TTS or Encoder 61 //! List of settings from the TTS or Encoder
68 QList<EncTtsSetting*> m_settingsList; 62 QList<EncTtsSetting*> m_settingsList;
69 //! Maps settings and the correspondig Widget 63 //! Maps settings and the correspondig Widget
70 QMap<EncTtsSetting*,QWidget*> m_settingsWidgetsMap; 64 QMap<EncTtsSetting*, QWidget*> m_settingsWidgetsMap;
71 //! Maps all browse buttons to the corresponding Setting
72 QSignalMapper m_browseBtnMap;
73 //! counter how often busyShow() is called, 65 //! counter how often busyShow() is called,
74 int m_busyCnt; 66 int m_busyCnt;
75}; 67};