summaryrefslogtreecommitdiff
path: root/OptionDialog.h
diff options
context:
space:
mode:
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);