// This file is generated by kconfig_compiler 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 <klocale.h>

#include <kconfigskeleton.h>
#include <kdebug.h>

namespace Choqok {

class CHOQOK_EXPORT AppearanceSettings : public KConfigSkeleton
{
  public:

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

    /**
      Set isEmoticonsEnabled
    */
    static
    void setIsEmoticonsEnabled( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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( QString::fromLatin1( "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

