From 0b2288da16894d45e95caf5c0f1f5cba3f17c2dd Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 13 Jun 2020 16:55:00 +0200 Subject: Conversion to the cmake building system. Signed-off-by: gregory guy --- src/app/codeineConfig.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/app/codeineConfig.h (limited to 'src/app/codeineConfig.h') 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 (max.howell@methylblue.com) +// See COPYING file for licensing information + +#ifndef CODEINECONFIG_H +#define CODEINECONFIG_H + +#include +#include + +namespace Codeine +{ + static inline TDEConfig *config( const TQString &group ) + { + TDEConfig* const instance = TDEGlobal::config(); + instance->setGroup( group ); + return instance; + } +} + +#endif -- cgit v1.2.1