summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-07-13 22:44:29 +0000
committerStijn Buys <ingar@osirion.org>2013-07-13 22:44:29 +0000
commit924cfc4b9c0934afab62e4ab58bf4fb026308fd7 (patch)
treef53fed6c55d48096ab021805345b8cf74ade364f /src/settings.h
parent56e536e4c2379e722fe4a9c8f83e64c45f41bd2a (diff)
Adds the files containing the Settings class.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
new file mode 100644
index 0000000..319bcb1
--- /dev/null
+++ b/src/settings.h
@@ -0,0 +1,33 @@
+#ifndef __INCLUDED_SUDOKUSOLVER_SETTINGS__
+#define __INCLUDED_SUDOKUSOLVER_SETTINGS__
+
+#include <QtGui>
+
+class Settings {
+public:
+ Settings();
+
+ inline const QString & homePath() const
+ {
+ return m_homePath;
+ }
+
+ inline const QColor & colorInvalidValue() const
+ {
+ return m_colorInvalidValue;
+ }
+
+ inline const QColor & colorInputError() const
+ {
+ return m_colorInputError;
+ }
+
+private:
+ QString m_homePath;
+ QColor m_colorInvalidValue;
+ QColor m_colorInputError;
+};
+
+const Settings & globalSettings();
+
+#endif // __INCLUDED_SUDOKUSOLVER_SETTINGS__