diff options
Diffstat (limited to 'utils/alsoft-config/mainwindow.h')
-rw-r--r-- | utils/alsoft-config/mainwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/alsoft-config/mainwindow.h b/utils/alsoft-config/mainwindow.h index 0f94c0ce..dfa69ca2 100644 --- a/utils/alsoft-config/mainwindow.h +++ b/utils/alsoft-config/mainwindow.h @@ -17,11 +17,15 @@ public: ~MainWindow(); private slots: + void cancelCloseAction(); + void saveCurrentConfig(); void saveConfigAsFile(); void loadConfigFromFile(); + void enableApplyButton(); + void updateResamplerLabel(int num); void updatePeriodSizeEdit(int size); @@ -47,6 +51,10 @@ private: QValidator *mSourceSendValidator; QValidator *mSampleRateValidator; + bool mNeedsSave; + + void closeEvent(QCloseEvent *event); + void loadConfig(const QString &fname); void saveConfig(const QString &fname) const; }; |