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

#include "workspace_options.h"

#include <klocalizedstring.h>

WorkspaceOptions::WorkspaceOptions( )
  : KConfigSkeleton( QStringLiteral( "plasmarc" ) )
{
  setCurrentGroup( QStringLiteral( "PlasmaToolTips" ) );

  mDelayItem = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "Delay" ), mDelay, 0.7 );
  mDelayItem->setLabel( i18nd("kcm_workspace", "Display informational tooltips on mouse hover") );
  addItem( mDelayItem, QStringLiteral( "delay" ) );

  setCurrentGroup( QStringLiteral( "OSD" ) );

  mOsdEnabledItem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Enabled" ), mOsdEnabled, true );
  mOsdEnabledItem->setLabel( i18nd("kcm_workspace", "Display visual feedback for status changes") );
  mOsdEnabledItem->setToolTip( i18nd("kcm_workspace", "Show an on-screen display to indicate status changes such as brightness or volume") );
  addItem( mOsdEnabledItem, QStringLiteral( "osdEnabled" ) );
  mOsdKbdLayoutChangedEnabledItem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "kbdLayoutChangedEnabled" ), mOsdKbdLayoutChangedEnabled, true );
  mOsdKbdLayoutChangedEnabledItem->setLabel( i18nd("kcm_workspace", "OSD on layout change") );
  mOsdKbdLayoutChangedEnabledItem->setToolTip( i18nd("kcm_workspace", "Show a popup on layout changes") );
  addItem( mOsdKbdLayoutChangedEnabledItem, QStringLiteral( "osdKbdLayoutChangedEnabled" ) );
}

bool WorkspaceOptions::defaultOsdKbdLayoutChangedEnabledValue_helper() const
{

  return true;
}

WorkspaceOptions::~WorkspaceOptions()
{
}

