// This file is generated by kconfig_compiler_kf6 from ktimetracker.kcfg.
// All changes you do to this file will be lost.
#ifndef KTIMETRACKERSETTINGS_H
#define KTIMETRACKERSETTINGS_H

#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>

class KTimeTrackerSettings : public KConfigSkeleton
{
  public:

    static KTimeTrackerSettings *self();
    ~KTimeTrackerSettings() override;

    /**
      Set showSearchBar
    */
    static
    void setShowSearchBar( bool v )
    {
      if (!self()->isShowSearchBarImmutable())
        self()->mShowSearchBar = v;
    }

    /**
      Get showSearchBar
    */
    static
    bool showSearchBar()
    {
      return self()->mShowSearchBar;
    }

    /**
      Is showSearchBar Immutable
    */
    static
    bool isShowSearchBarImmutable()
    {
      return self()->isImmutable( QStringLiteral( "showSearchBar" ) );
    }

    /**
      Set enabled
    */
    static
    void setEnabled( bool v )
    {
      if (!self()->isEnabledImmutable())
        self()->mEnabled = v;
    }

    /**
      Get enabled
    */
    static
    bool enabled()
    {
      return self()->mEnabled;
    }

    /**
      Is enabled Immutable
    */
    static
    bool isEnabledImmutable()
    {
      return self()->isImmutable( QStringLiteral( "enabled" ) );
    }

    /**
      Set period
    */
    static
    void setPeriod( uint v )
    {
      if (!self()->isPeriodImmutable())
        self()->mPeriod = v;
    }

    /**
      Get period
    */
    static
    uint period()
    {
      return self()->mPeriod;
    }

    /**
      Is period Immutable
    */
    static
    bool isPeriodImmutable()
    {
      return self()->isImmutable( QStringLiteral( "period" ) );
    }

    /**
      Set minActiveTime
    */
    static
    void setMinActiveTime( uint v )
    {
      if (!self()->isMinActiveTimeImmutable())
        self()->mMinActiveTime = v;
    }

    /**
      Get minActiveTime
    */
    static
    uint minActiveTime()
    {
      return self()->mMinActiveTime;
    }

    /**
      Is minActiveTime Immutable
    */
    static
    bool isMinActiveTimeImmutable()
    {
      return self()->isImmutable( QStringLiteral( "minActiveTime" ) );
    }

    /**
      Set autoSave
    */
    static
    void setAutoSave( bool v )
    {
      if (!self()->isAutoSaveImmutable())
        self()->mAutoSave = v;
    }

    /**
      Get autoSave
    */
    static
    bool autoSave()
    {
      return self()->mAutoSave;
    }

    /**
      Is autoSave Immutable
    */
    static
    bool isAutoSaveImmutable()
    {
      return self()->isImmutable( QStringLiteral( "autoSave" ) );
    }

    /**
      Set autoSavePeriod
    */
    static
    void setAutoSavePeriod( uint v )
    {
      if (!self()->isAutoSavePeriodImmutable())
        self()->mAutoSavePeriod = v;
    }

    /**
      Get autoSavePeriod
    */
    static
    uint autoSavePeriod()
    {
      return self()->mAutoSavePeriod;
    }

    /**
      Is autoSavePeriod Immutable
    */
    static
    bool isAutoSavePeriodImmutable()
    {
      return self()->isImmutable( QStringLiteral( "autoSavePeriod" ) );
    }

    /**
      Set promptDelete
    */
    static
    void setPromptDelete( bool v )
    {
      if (!self()->isPromptDeleteImmutable())
        self()->mPromptDelete = v;
    }

    /**
      Get promptDelete
    */
    static
    bool promptDelete()
    {
      return self()->mPromptDelete;
    }

    /**
      Is promptDelete Immutable
    */
    static
    bool isPromptDeleteImmutable()
    {
      return self()->isImmutable( QStringLiteral( "promptDelete" ) );
    }

    /**
      Set uniTasking
    */
    static
    void setUniTasking( bool v )
    {
      if (!self()->isUniTaskingImmutable())
        self()->mUniTasking = v;
    }

    /**
      Get uniTasking
    */
    static
    bool uniTasking()
    {
      return self()->mUniTasking;
    }

    /**
      Is uniTasking Immutable
    */
    static
    bool isUniTaskingImmutable()
    {
      return self()->isImmutable( QStringLiteral( "uniTasking" ) );
    }

    /**
      Set displaySessionTime
    */
    static
    void setDisplaySessionTime( bool v )
    {
      if (!self()->isDisplaySessionTimeImmutable())
        self()->mDisplaySessionTime = v;
    }

    /**
      Get displaySessionTime
    */
    static
    bool displaySessionTime()
    {
      return self()->mDisplaySessionTime;
    }

    /**
      Is displaySessionTime Immutable
    */
    static
    bool isDisplaySessionTimeImmutable()
    {
      return self()->isImmutable( QStringLiteral( "displaySessionTime" ) );
    }

    /**
      Set displayTime
    */
    static
    void setDisplayTime( bool v )
    {
      if (!self()->isDisplayTimeImmutable())
        self()->mDisplayTime = v;
    }

    /**
      Get displayTime
    */
    static
    bool displayTime()
    {
      return self()->mDisplayTime;
    }

    /**
      Is displayTime Immutable
    */
    static
    bool isDisplayTimeImmutable()
    {
      return self()->isImmutable( QStringLiteral( "displayTime" ) );
    }

    /**
      Set displayTotalSessionTime
    */
    static
    void setDisplayTotalSessionTime( bool v )
    {
      if (!self()->isDisplayTotalSessionTimeImmutable())
        self()->mDisplayTotalSessionTime = v;
    }

    /**
      Get displayTotalSessionTime
    */
    static
    bool displayTotalSessionTime()
    {
      return self()->mDisplayTotalSessionTime;
    }

    /**
      Is displayTotalSessionTime Immutable
    */
    static
    bool isDisplayTotalSessionTimeImmutable()
    {
      return self()->isImmutable( QStringLiteral( "displayTotalSessionTime" ) );
    }

    /**
      Set displayTotalTime
    */
    static
    void setDisplayTotalTime( bool v )
    {
      if (!self()->isDisplayTotalTimeImmutable())
        self()->mDisplayTotalTime = v;
    }

    /**
      Get displayTotalTime
    */
    static
    bool displayTotalTime()
    {
      return self()->mDisplayTotalTime;
    }

    /**
      Is displayTotalTime Immutable
    */
    static
    bool isDisplayTotalTimeImmutable()
    {
      return self()->isImmutable( QStringLiteral( "displayTotalTime" ) );
    }

    /**
      Set displayPriority
    */
    static
    void setDisplayPriority( bool v )
    {
      if (!self()->isDisplayPriorityImmutable())
        self()->mDisplayPriority = v;
    }

    /**
      Get displayPriority
    */
    static
    bool displayPriority()
    {
      return self()->mDisplayPriority;
    }

    /**
      Is displayPriority Immutable
    */
    static
    bool isDisplayPriorityImmutable()
    {
      return self()->isImmutable( QStringLiteral( "displayPriority" ) );
    }

    /**
      Set displayPercentComplete
    */
    static
    void setDisplayPercentComplete( bool v )
    {
      if (!self()->isDisplayPercentCompleteImmutable())
        self()->mDisplayPercentComplete = v;
    }

    /**
      Get displayPercentComplete
    */
    static
    bool displayPercentComplete()
    {
      return self()->mDisplayPercentComplete;
    }

    /**
      Is displayPercentComplete Immutable
    */
    static
    bool isDisplayPercentCompleteImmutable()
    {
      return self()->isImmutable( QStringLiteral( "displayPercentComplete" ) );
    }

    /**
      Set decimalFormat
    */
    static
    void setDecimalFormat( bool v )
    {
      if (!self()->isDecimalFormatImmutable())
        self()->mDecimalFormat = v;
    }

    /**
      Get decimalFormat
    */
    static
    bool decimalFormat()
    {
      return self()->mDecimalFormat;
    }

    /**
      Is decimalFormat Immutable
    */
    static
    bool isDecimalFormatImmutable()
    {
      return self()->isImmutable( QStringLiteral( "decimalFormat" ) );
    }

    /**
      Set windowTitleCurrentFile
    */
    static
    void setWindowTitleCurrentFile( bool v )
    {
      if (!self()->isWindowTitleCurrentFileImmutable())
        self()->mWindowTitleCurrentFile = v;
    }

    /**
      Get windowTitleCurrentFile
    */
    static
    bool windowTitleCurrentFile()
    {
      return self()->mWindowTitleCurrentFile;
    }

    /**
      Is windowTitleCurrentFile Immutable
    */
    static
    bool isWindowTitleCurrentFileImmutable()
    {
      return self()->isImmutable( QStringLiteral( "windowTitleCurrentFile" ) );
    }

    /**
      Set windowTitleCurrentTask
    */
    static
    void setWindowTitleCurrentTask( bool v )
    {
      if (!self()->isWindowTitleCurrentTaskImmutable())
        self()->mWindowTitleCurrentTask = v;
    }

    /**
      Get windowTitleCurrentTask
    */
    static
    bool windowTitleCurrentTask()
    {
      return self()->mWindowTitleCurrentTask;
    }

    /**
      Is windowTitleCurrentTask Immutable
    */
    static
    bool isWindowTitleCurrentTaskImmutable()
    {
      return self()->isImmutable( QStringLiteral( "windowTitleCurrentTask" ) );
    }

    /**
      Set configPDA
    */
    static
    void setConfigPDA( bool v )
    {
      if (!self()->isConfigPDAImmutable())
        self()->mConfigPDA = v;
    }

    /**
      Get configPDA
    */
    static
    bool configPDA()
    {
      return self()->mConfigPDA;
    }

    /**
      Is configPDA Immutable
    */
    static
    bool isConfigPDAImmutable()
    {
      return self()->isImmutable( QStringLiteral( "configPDA" ) );
    }

    /**
      Set trayIcon
    */
    static
    void setTrayIcon( bool v )
    {
      if (!self()->isTrayIconImmutable())
        self()->mTrayIcon = v;
    }

    /**
      Get trayIcon
    */
    static
    bool trayIcon()
    {
      return self()->mTrayIcon;
    }

    /**
      Is trayIcon Immutable
    */
    static
    bool isTrayIconImmutable()
    {
      return self()->isImmutable( QStringLiteral( "trayIcon" ) );
    }

  protected:
    KTimeTrackerSettings();
    friend class KTimeTrackerSettingsHelper;


    // General
    bool mShowSearchBar;

    // Idle detection
    bool mEnabled;
    uint mPeriod;
    uint mMinActiveTime;

    // Saving
    bool mAutoSave;
    uint mAutoSavePeriod;
    bool mPromptDelete;
    bool mUniTasking;
    bool mDisplaySessionTime;
    bool mDisplayTime;
    bool mDisplayTotalSessionTime;
    bool mDisplayTotalTime;
    bool mDisplayPriority;
    bool mDisplayPercentComplete;
    bool mDecimalFormat;
    bool mWindowTitleCurrentFile;
    bool mWindowTitleCurrentTask;
    bool mConfigPDA;
    bool mTrayIcon;
};

#endif

