summaryrefslogtreecommitdiffstats
path: root/src/app/config.h
blob: fbab5e84223d69172dded722dc26f53cd144845b (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 <kconfig.h>
#include <kglobal.h>

namespace Codeine
{
   static inline KConfig *config( const QString &group )
   {
      KConfig* const instance = KGlobal::config();
      instance->setGroup( group );
      return instance;
   }
}

#endif