summaryrefslogtreecommitdiffstats
path: root/src/app/codeineConfig.h
blob: 4ac877cd5353bf19588d81f79acb2480c51ea6fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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