// This file is generated by kconfig_compiler from knutresource.kcfg.
// All changes you do to this file will be lost.

#include "settings.h"

#include <klocale.h>

KnutSettings::KnutSettings(  KSharedConfig::Ptr config  )
  : KConfigSkeleton( config )
{
  setCurrentGroup( QLatin1String( "General" ) );

  mDataFileItem = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "DataFile" ), mDataFile );
  mDataFileItem->setLabel( i18n("Path to the Knut data file.") );
  addItem( mDataFileItem, QLatin1String( "DataFile" ) );
  mReadOnlyItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ReadOnly" ), mReadOnly, false );
  mReadOnlyItem->setLabel( i18n("Do not change the actual backend data.") );
  addItem( mReadOnlyItem, QLatin1String( "ReadOnly" ) );
  mFileWatchingEnabledItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FileWatchingEnabled" ), mFileWatchingEnabled, true );
  mFileWatchingEnabledItem->setLabel( i18n("FileWatchingEnabled") );
  addItem( mFileWatchingEnabledItem, QLatin1String( "FileWatchingEnabled" ) );
}

KnutSettings::~KnutSettings()
{
}

