summaryrefslogtreecommitdiffstats
path: root/knights/setpageaudio.h
diff options
context:
space:
mode:
Diffstat (limited to 'knights/setpageaudio.h')
-rw-r--r--knights/setpageaudio.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/knights/setpageaudio.h b/knights/setpageaudio.h
new file mode 100644
index 0000000..5d9c58b
--- /dev/null
+++ b/knights/setpageaudio.h
@@ -0,0 +1,69 @@
+/***************************************************************************
+ setpageaudio.h - description
+ -------------------
+ begin : Thu Jan 10 2002
+ copyright : (C) 2003 by Troy Corbin Jr.
+ email : tcorbin@users.sourceforge.net
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef SETPAGEAUDIO_H
+#define SETPAGEAUDIO_H
+
+#include <kcombobox.h>
+#include <klineedit.h>
+#include <qwidget.h>
+#include <qhbox.h>
+#include <qvbox.h>
+#include <qlabel.h>
+#include <qlayout.h>
+#include <qslider.h>
+#include <qgroupbox.h>
+#include <qcheckbox.h>
+#include "resource.h"
+
+/**
+ *@author Troy Corbin Jr.
+ */
+
+class setPageAudio : public QVBoxLayout
+{
+ Q_OBJECT
+ public:
+ setPageAudio(QWidget *parent=0, resource *Rsrc=0);
+ ~setPageAudio();
+ void buildThemeList( void );
+ int NewSounds;
+ bool changeTheme;
+ signals:
+ void enableApply( void );
+ public slots:
+ void slot_enableAudio( bool );
+ void slot_currentTheme( int );
+ void slot_currentVolume( int );
+ void slot_AudioCurrentOnly( bool );
+ private:
+ QWidget *Parent;
+ resource *Resource;
+
+ QCheckBox *BUTTON_enableAudio;
+ QGroupBox *GROUP_Theme;
+ KComboBox *Current_Theme;
+ QHBox *BOX_Main;
+ QGroupBox *GROUP_Volume;
+ QLabel *Vol_Min;
+ QSlider *Current_Volume;
+ QLabel *Vol_Max;
+ QVBox *BOX_Options;
+ QCheckBox *BUTTON_AudioCurrentOnly;
+};
+
+#endif