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

#include <choqok_export.h>
#include <klocalizedstring.h>

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

namespace Choqok {

class CHOQOK_EXPORT AppearanceSettings : public KConfigSkeleton
{
  public:

    static AppearanceSettings *self();
    ~AppearanceSettings();

    /**
      Set isEmoticonsEnabled
    */
    static
    void setIsEmoticonsEnabled( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "isEmoticonsEnabled" ) ))
        self()->mIsEmoticonsEnabled = v;
    }

    /**
      Get isEmoticonsEnabled
    */
    static
    bool isEmoticonsEnabled()
    {
      return self()->mIsEmoticonsEnabled;
    }

    /**
      Get Item object corresponding to isEmoticonsEnabled()
    */
    ItemBool *isEmoticonsEnabledItem()
    {
      return mIsEmoticonsEnabledItem;
    }

    /**
      Set isCustomUi
    */
    static
    void setIsCustomUi( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "isCustomUi" ) ))
        self()->mIsCustomUi = v;
    }

    /**
      Get isCustomUi
    */
    static
    bool isCustomUi()
    {
      return self()->mIsCustomUi;
    }

    /**
      Get Item object corresponding to isCustomUi()
    */
    ItemBool *isCustomUiItem()
    {
      return mIsCustomUiItem;
    }

    /**
      Set readBackColor
    */
    static
    void setReadBackColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "readBackColor" ) ))
        self()->mReadBackColor = v;
    }

    /**
      Get readBackColor
    */
    static
    QColor readBackColor()
    {
      return self()->mReadBackColor;
    }

    /**
      Get Item object corresponding to readBackColor()
    */
    ItemColor *readBackColorItem()
    {
      return mReadBackColorItem;
    }

    /**
      Set unreadBackColor
    */
    static
    void setUnreadBackColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "unreadBackColor" ) ))
        self()->mUnreadBackColor = v;
    }

    /**
      Get unreadBackColor
    */
    static
    QColor unreadBackColor()
    {
      return self()->mUnreadBackColor;
    }

    /**
      Get Item object corresponding to unreadBackColor()
    */
    ItemColor *unreadBackColorItem()
    {
      return mUnreadBackColorItem;
    }

    /**
      Set ownBackColor
    */
    static
    void setOwnBackColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "ownBackColor" ) ))
        self()->mOwnBackColor = v;
    }

    /**
      Get ownBackColor
    */
    static
    QColor ownBackColor()
    {
      return self()->mOwnBackColor;
    }

    /**
      Get Item object corresponding to ownBackColor()
    */
    ItemColor *ownBackColorItem()
    {
      return mOwnBackColorItem;
    }

    /**
      Set readForeColor
    */
    static
    void setReadForeColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "readForeColor" ) ))
        self()->mReadForeColor = v;
    }

    /**
      Get readForeColor
    */
    static
    QColor readForeColor()
    {
      return self()->mReadForeColor;
    }

    /**
      Get Item object corresponding to readForeColor()
    */
    ItemColor *readForeColorItem()
    {
      return mReadForeColorItem;
    }

    /**
      Set unreadForeColor
    */
    static
    void setUnreadForeColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "unreadForeColor" ) ))
        self()->mUnreadForeColor = v;
    }

    /**
      Get unreadForeColor
    */
    static
    QColor unreadForeColor()
    {
      return self()->mUnreadForeColor;
    }

    /**
      Get Item object corresponding to unreadForeColor()
    */
    ItemColor *unreadForeColorItem()
    {
      return mUnreadForeColorItem;
    }

    /**
      Set ownForeColor
    */
    static
    void setOwnForeColor( const QColor & v )
    {
      if (!self()->isImmutable( QStringLiteral( "ownForeColor" ) ))
        self()->mOwnForeColor = v;
    }

    /**
      Get ownForeColor
    */
    static
    QColor ownForeColor()
    {
      return self()->mOwnForeColor;
    }

    /**
      Get Item object corresponding to ownForeColor()
    */
    ItemColor *ownForeColorItem()
    {
      return mOwnForeColorItem;
    }

    /**
      Set showRetweetsInChoqokWay
    */
    static
    void setShowRetweetsInChoqokWay( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "showRetweetsInChoqokWay" ) ))
        self()->mShowRetweetsInChoqokWay = v;
    }

    /**
      Get showRetweetsInChoqokWay
    */
    static
    bool showRetweetsInChoqokWay()
    {
      return self()->mShowRetweetsInChoqokWay;
    }

    /**
      Get Item object corresponding to showRetweetsInChoqokWay()
    */
    ItemBool *showRetweetsInChoqokWayItem()
    {
      return mShowRetweetsInChoqokWayItem;
    }

    /**
      Set useReverseOrder
    */
    static
    void setUseReverseOrder( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "useReverseOrder" ) ))
        self()->mUseReverseOrder = v;
    }

    /**
      Get useReverseOrder
    */
    static
    bool useReverseOrder()
    {
      return self()->mUseReverseOrder;
    }

    /**
      Get Item object corresponding to useReverseOrder()
    */
    ItemBool *useReverseOrderItem()
    {
      return mUseReverseOrderItem;
    }

    /**
      Set font
    */
    static
    void setFont( const QFont & v )
    {
      if (!self()->isImmutable( QStringLiteral( "font" ) ))
        self()->mFont = v;
    }

    /**
      Get font
    */
    static
    QFont font()
    {
      return self()->mFont;
    }

    /**
      Get Item object corresponding to font()
    */
    ItemFont *fontItem()
    {
      return mFontItem;
    }

    /**
      Set TabBarPosition
    */
    static
    void setTabBarPosition( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "TabBarPosition" ) ))
        self()->mTabBarPosition = v;
    }

    /**
      Get TabBarPosition
    */
    static
    int tabBarPosition()
    {
      return self()->mTabBarPosition;
    }

    /**
      Get Item object corresponding to TabBarPosition()
    */
    ItemInt *tabBarPositionItem()
    {
      return mTabBarPositionItem;
    }

    /**
      Set TabBarSize
    */
    static
    void setTabBarSize( int v )
    {
      if (!self()->isImmutable( QStringLiteral( "TabBarSize" ) ))
        self()->mTabBarSize = v;
    }

    /**
      Get TabBarSize
    */
    static
    int tabBarSize()
    {
      return self()->mTabBarSize;
    }

    /**
      Get Item object corresponding to TabBarSize()
    */
    ItemInt *tabBarSizeItem()
    {
      return mTabBarSizeItem;
    }

    /**
      Set TabBarIsStyled
    */
    static
    void setTabBarIsStyled( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "TabBarIsStyled" ) ))
        self()->mTabBarIsStyled = v;
    }

    /**
      Get TabBarIsStyled
    */
    static
    bool tabBarIsStyled()
    {
      return self()->mTabBarIsStyled;
    }

    /**
      Get Item object corresponding to TabBarIsStyled()
    */
    ItemBool *tabBarIsStyledItem()
    {
      return mTabBarIsStyledItem;
    }

  protected:
    AppearanceSettings();
    friend class AppearanceSettingsHelper;


    // Appearance
    bool mIsEmoticonsEnabled;
    bool mIsCustomUi;
    QColor mReadBackColor;
    QColor mUnreadBackColor;
    QColor mOwnBackColor;
    QColor mReadForeColor;
    QColor mUnreadForeColor;
    QColor mOwnForeColor;
    bool mShowRetweetsInChoqokWay;
    bool mUseReverseOrder;
    QFont mFont;

    // TabBar
    int mTabBarPosition;
    int mTabBarSize;
    bool mTabBarIsStyled;

  private:
    ItemBool *mIsEmoticonsEnabledItem;
    ItemBool *mIsCustomUiItem;
    ItemColor *mReadBackColorItem;
    ItemColor *mUnreadBackColorItem;
    ItemColor *mOwnBackColorItem;
    ItemColor *mReadForeColorItem;
    ItemColor *mUnreadForeColorItem;
    ItemColor *mOwnForeColorItem;
    ItemBool *mShowRetweetsInChoqokWayItem;
    ItemBool *mUseReverseOrderItem;
    ItemFont *mFontItem;
    ItemInt *mTabBarPositionItem;
    ItemInt *mTabBarSizeItem;
    ItemBool *mTabBarIsStyledItem;
};

}

#endif

