summaryrefslogtreecommitdiff
path: root/OptionDialog.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2020-08-11 22:35:12 +0100
committerThomas Preud'homme <robotux@celest.fr>2020-08-11 22:35:12 +0100
commit3ac113857071fc1f225b2e1b42547269e568c6b7 (patch)
tree8b28dd9c44a0d3c7ab8187cd8d8f19d47591d813 /OptionDialog.h
parent9b10c21f5cad0e2ec27d23c59e65af7141a226f3 (diff)
New upstream version 2.2.4.4
Diffstat (limited to 'OptionDialog.h')
-rwxr-xr-x[-rw-r--r--]OptionDialog.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/OptionDialog.h b/OptionDialog.h
index d1de3db..b1595d9 100644..100755
--- a/OptionDialog.h
+++ b/OptionDialog.h
@@ -11,6 +11,9 @@
#include <QDialog>
#include <QAbstractButton>
#include <QTreeWidgetItem>
+#ifndef NOAUDIO
+#include <QBuffer>
+#endif
#include "Environment.h"
#include "OSSpecific.h"
@@ -82,6 +85,9 @@ private slots:
void oSSpecificClosed();
void on_remainingTimeAlgorithm_currentIndexChanged(int index);
void on_portable_toggled(bool);
+ void on_soundFile_editingFinished();
+ void on_soundWhenFinish_toggled(bool checked);
+ void on_playSound_clicked();
private:
bool quit;
Ui::OptionDialog *ui;
@@ -112,6 +118,10 @@ private:
QTreeWidgetItem * treeWidgetItem;
OSSpecific *oSSpecific;
bool allPluginsIsLoaded;
+ #ifndef NOAUDIO
+ QByteArray data;
+ QBuffer buffer;
+ #endif
public slots:
void newThemeOptions(const std::string &name,QWidget* theNewOptionsWidget,bool isLoaded,bool havePlugin);
void newClientList(const std::vector<std::string> &clientsList);