summaryrefslogtreecommitdiffstats
path: root/malloryclient/config/malloryconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloryclient/config/malloryconfig.h')
-rw-r--r--malloryclient/config/malloryconfig.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/malloryclient/config/malloryconfig.h b/malloryclient/config/malloryconfig.h
new file mode 100644
index 0000000..aaa4cba
--- /dev/null
+++ b/malloryclient/config/malloryconfig.h
@@ -0,0 +1,41 @@
+/***************************************************************************
+* Copyright (C) 2003 by Sandro Giessl *
+* *
+* 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 MALLORYCONFIG_H
+#define MALLORYCONFIG_H
+
+#include <qobject.h>
+
+class QButtonGroup;
+class QGroupBox;
+class QComboBox;
+class KConfig;
+class ConfigDialog;
+
+class MalloryConfig : public QObject
+{
+ Q_OBJECT
+public:
+ MalloryConfig(KConfig* config, QWidget* parent); ///< Constructor
+ ~MalloryConfig(); ///< Destructor
+
+signals:
+ void changed(); ///< Widget state has changed
+
+public slots:
+ void load(KConfig *config); ///< Load configuration data
+ void save(KConfig *config); ///< Save configuration data
+ void defaults(); ///< Set configuration defaults
+
+private:
+ KConfig *m_config;
+ ConfigDialog *m_dialog;
+};
+
+#endif