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

#include "kdedsettings.h"

TouchpadDisablerSettings::TouchpadDisablerSettings( )
  : KCoreConfigSkeleton( QStringLiteral( "touchpadrc" ) )
{
  setCurrentGroup( QStringLiteral( "autodisable" ) );

  KCoreConfigSkeleton::ItemBool  *itemDisableWhenMousePluggedIn;
  itemDisableWhenMousePluggedIn = new KCoreConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DisableWhenMousePluggedIn" ), mDisableWhenMousePluggedIn, false );
  addItem( itemDisableWhenMousePluggedIn, QStringLiteral( "DisableWhenMousePluggedIn" ) );
  KCoreConfigSkeleton::ItemBool  *itemDisableOnKeyboardActivity;
  itemDisableOnKeyboardActivity = new KCoreConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "DisableOnKeyboardActivity" ), mDisableOnKeyboardActivity, true );
  addItem( itemDisableOnKeyboardActivity, QStringLiteral( "DisableOnKeyboardActivity" ) );
  KCoreConfigSkeleton::ItemBool  *itemOnlyDisableTapAndScrollOnKeyboardActivity;
  itemOnlyDisableTapAndScrollOnKeyboardActivity = new KCoreConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "OnlyDisableTapAndScrollOnKeyboardActivity" ), mOnlyDisableTapAndScrollOnKeyboardActivity, true );
  addItem( itemOnlyDisableTapAndScrollOnKeyboardActivity, QStringLiteral( "OnlyDisableTapAndScrollOnKeyboardActivity" ) );
  KCoreConfigSkeleton::ItemInt  *itemKeyboardActivityTimeoutMs;
  itemKeyboardActivityTimeoutMs = new KCoreConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "KeyboardActivityTimeoutMs" ), mKeyboardActivityTimeoutMs, 250 );
  itemKeyboardActivityTimeoutMs->setMinValue(0);
  itemKeyboardActivityTimeoutMs->setMaxValue(10000);
  addItem( itemKeyboardActivityTimeoutMs, QStringLiteral( "KeyboardActivityTimeoutMs" ) );
  QStringList defaultMouseBlacklist;
  defaultMouseBlacklist.append( QString::fromUtf8( "TPPS/2 IBM TrackPoint" ) );
  defaultMouseBlacklist.append( QString::fromUtf8( "USB Trackpoint pointing device" ) );
  defaultMouseBlacklist.append( QString::fromUtf8( "DualPoint Stick" ) );
  defaultMouseBlacklist.append( QString::fromUtf8( "ThinkPad USB Keyboard with TrackPoint" ) );

  KCoreConfigSkeleton::ItemStringList  *itemMouseBlacklist;
  itemMouseBlacklist = new KCoreConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "MouseBlacklist" ), mMouseBlacklist, defaultMouseBlacklist );
  addItem( itemMouseBlacklist, QStringLiteral( "MouseBlacklist" ) );
}

TouchpadDisablerSettings::~TouchpadDisablerSettings()
{
}

