// This file is generated by kconfig_compiler_kf5 from systemsettings.kcfg.
// All changes you do to this file will be lost.
#ifndef BASECONFIG_H
#define BASECONFIG_H

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

class BaseConfig : public KConfigSkeleton
{
  public:

    static BaseConfig *self();
    ~BaseConfig();

    /**
      Set Determines whether detailed tooltips should be used
    */
    static
    void setShowToolTips( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "ShowToolTips" ) ))
        self()->mShowToolTips = v;
    }

    /**
      Get Determines whether detailed tooltips should be used
    */
    static
    bool showToolTips()
    {
      return self()->mShowToolTips;
    }

    /**
      Set Internal name for the view used
    */
    static
    void setActiveView( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "ActiveView" ) ))
        self()->mActiveView = v;
    }

    /**
      Get Internal name for the view used
    */
    static
    QString activeView()
    {
      return self()->mActiveView;
    }

  protected:
    BaseConfig();
    friend class BaseConfigHelper;


    // Main
    bool mShowToolTips;
    QString mActiveView;

  private:
};

#endif

