summaryrefslogtreecommitdiffstats
path: root/src/app/codeineConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/codeineConfig.h')
-rw-r--r--src/app/codeineConfig.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/app/codeineConfig.h b/src/app/codeineConfig.h
new file mode 100644
index 0000000..4ac877c
--- /dev/null
+++ b/src/app/codeineConfig.h
@@ -0,0 +1,20 @@
+// (c) 2004 Max Howell ([email protected])
+// See COPYING file for licensing information
+
+#ifndef CODEINECONFIG_H
+#define CODEINECONFIG_H
+
+#include <tdeconfig.h>
+#include <tdeglobal.h>
+
+namespace Codeine
+{
+ static inline TDEConfig *config( const TQString &group )
+ {
+ TDEConfig* const instance = TDEGlobal::config();
+ instance->setGroup( group );
+ return instance;
+ }
+}
+
+#endif