// This file is generated by kconfig_compiler from choqokbehaviorsettings.kcfg.
// All changes you do to this file will be lost.
#ifndef CHOQOK_BEHAVIORSETTINGS_H
#define CHOQOK_BEHAVIORSETTINGS_H

#include <choqok_export.h>
#include <klocale.h>

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

namespace Choqok {

class CHOQOK_EXPORT BehaviorSettings : public KConfigSkeleton
{
  public:

    static BehaviorSettings *self();
    ~BehaviorSettings();

    /**
      Set notifyEnabled
    */
    static
    void setNotifyEnabled( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "notifyEnabled" ) ))
        self()->mNotifyEnabled = v;
    }

    /**
      Get notifyEnabled
    */
    static
    bool notifyEnabled()
    {
      return self()->mNotifyEnabled;
    }

    /**
      Get Item object corresponding to notifyEnabled()
    */
    ItemBool *notifyEnabledItem()
    {
      return mNotifyEnabledItem;
    }

    /**
      Set showAllNotifiesInOne
    */
    static
    void setShowAllNotifiesInOne( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "showAllNotifiesInOne" ) ))
        self()->mShowAllNotifiesInOne = v;
    }

    /**
      Get showAllNotifiesInOne
    */
    static
    bool showAllNotifiesInOne()
    {
      return self()->mShowAllNotifiesInOne;
    }

    /**
      Get Item object corresponding to showAllNotifiesInOne()
    */
    ItemBool *showAllNotifiesInOneItem()
    {
      return mShowAllNotifiesInOneItem;
    }

    /**
      Set enableSysTray
    */
    static
    void setEnableSysTray( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "enableSysTray" ) ))
        self()->mEnableSysTray = v;
    }

    /**
      Get enableSysTray
    */
    static
    bool enableSysTray()
    {
      return self()->mEnableSysTray;
    }

    /**
      Get Item object corresponding to enableSysTray()
    */
    ItemBool *enableSysTrayItem()
    {
      return mEnableSysTrayItem;
    }

    /**
      Set enableSpellChecker
    */
    static
    void setEnableSpellChecker( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "enableSpellChecker" ) ))
        self()->mEnableSpellChecker = v;
    }

    /**
      Get enableSpellChecker
    */
    static
    bool enableSpellChecker()
    {
      return self()->mEnableSpellChecker;
    }

    /**
      Get Item object corresponding to enableSpellChecker()
    */
    ItemBool *enableSpellCheckerItem()
    {
      return mEnableSpellCheckerItem;
    }

    /**
      Set markAllAsReadOnHideToSystray
    */
    static
    void setMarkAllAsReadOnHideToSystray( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "markAllAsReadOnHideToSystray" ) ))
        self()->mMarkAllAsReadOnHideToSystray = v;
    }

    /**
      Get markAllAsReadOnHideToSystray
    */
    static
    bool markAllAsReadOnHideToSystray()
    {
      return self()->mMarkAllAsReadOnHideToSystray;
    }

    /**
      Get Item object corresponding to markAllAsReadOnHideToSystray()
    */
    ItemBool *markAllAsReadOnHideToSystrayItem()
    {
      return mMarkAllAsReadOnHideToSystrayItem;
    }

    /**
      Set markAllAsReadOnExit
    */
    static
    void setMarkAllAsReadOnExit( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "markAllAsReadOnExit" ) ))
        self()->mMarkAllAsReadOnExit = v;
    }

    /**
      Get markAllAsReadOnExit
    */
    static
    bool markAllAsReadOnExit()
    {
      return self()->mMarkAllAsReadOnExit;
    }

    /**
      Get Item object corresponding to markAllAsReadOnExit()
    */
    ItemBool *markAllAsReadOnExitItem()
    {
      return mMarkAllAsReadOnExitItem;
    }

    /**
      Set updateInterval
    */
    static
    void setUpdateInterval( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "updateInterval" ) ))
        self()->mUpdateInterval = v;
    }

    /**
      Get updateInterval
    */
    static
    int updateInterval()
    {
      return self()->mUpdateInterval;
    }

    /**
      Get Item object corresponding to updateInterval()
    */
    ItemInt *updateIntervalItem()
    {
      return mUpdateIntervalItem;
    }

    /**
      Set notifyInterval
    */
    static
    void setNotifyInterval( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "notifyInterval" ) ))
        self()->mNotifyInterval = v;
    }

    /**
      Get notifyInterval
    */
    static
    int notifyInterval()
    {
      return self()->mNotifyInterval;
    }

    /**
      Get Item object corresponding to notifyInterval()
    */
    ItemInt *notifyIntervalItem()
    {
      return mNotifyIntervalItem;
    }

    /**
      Set showMainWinOnStart
    */
    static
    void setShowMainWinOnStart( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "showMainWinOnStart" ) ))
        self()->mShowMainWinOnStart = v;
    }

    /**
      Get showMainWinOnStart
    */
    static
    bool showMainWinOnStart()
    {
      return self()->mShowMainWinOnStart;
    }

    /**
      Get Item object corresponding to showMainWinOnStart()
    */
    ItemBool *showMainWinOnStartItem()
    {
      return mShowMainWinOnStartItem;
    }

    /**
      Set showSplashScreen
    */
    static
    void setShowSplashScreen( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "showSplashScreen" ) ))
        self()->mShowSplashScreen = v;
    }

    /**
      Get showSplashScreen
    */
    static
    bool showSplashScreen()
    {
      return self()->mShowSplashScreen;
    }

    /**
      Get Item object corresponding to showSplashScreen()
    */
    ItemBool *showSplashScreenItem()
    {
      return mShowSplashScreenItem;
    }

    /**
      Set position
    */
    static
    void setPosition( const QPoint & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "position" ) ))
        self()->mPosition = v;
    }

    /**
      Get position
    */
    static
    QPoint position()
    {
      return self()->mPosition;
    }

    /**
      Get Item object corresponding to position()
    */
    ItemPoint *positionItem()
    {
      return mPositionItem;
    }

    /**
      Set UseKWallet
    */
    static
    void setUseKWallet( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "UseKWallet" ) ))
        self()->mUseKWallet = v;
    }

    /**
      Get UseKWallet
    */
    static
    bool useKWallet()
    {
      return self()->mUseKWallet;
    }

    /**
      Get Item object corresponding to UseKWallet()
    */
    ItemBool *useKWalletItem()
    {
      return mUseKWalletItem;
    }

    /**
      Set useCustomBrowser
    */
    static
    void setUseCustomBrowser( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "useCustomBrowser" ) ))
        self()->mUseCustomBrowser = v;
    }

    /**
      Get useCustomBrowser
    */
    static
    bool useCustomBrowser()
    {
      return self()->mUseCustomBrowser;
    }

    /**
      Get Item object corresponding to useCustomBrowser()
    */
    ItemBool *useCustomBrowserItem()
    {
      return mUseCustomBrowserItem;
    }

    /**
      Set customBrowser
    */
    static
    void setCustomBrowser( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "customBrowser" ) ))
        self()->mCustomBrowser = v;
    }

    /**
      Get customBrowser
    */
    static
    QString customBrowser()
    {
      return self()->mCustomBrowser;
    }

    /**
      Get Item object corresponding to customBrowser()
    */
    ItemString *customBrowserItem()
    {
      return mCustomBrowserItem;
    }

    /**
      Set shortenOnPaste
    */
    static
    void setShortenOnPaste( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "shortenOnPaste" ) ))
        self()->mShortenOnPaste = v;
    }

    /**
      Get shortenOnPaste
    */
    static
    bool shortenOnPaste()
    {
      return self()->mShortenOnPaste;
    }

    /**
      Get Item object corresponding to shortenOnPaste()
    */
    ItemBool *shortenOnPasteItem()
    {
      return mShortenOnPasteItem;
    }

    /**
      Set removeHttp
    */
    static
    void setRemoveHttp( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "removeHttp" ) ))
        self()->mRemoveHttp = v;
    }

    /**
      Get removeHttp
    */
    static
    bool removeHttp()
    {
      return self()->mRemoveHttp;
    }

    /**
      Get Item object corresponding to removeHttp()
    */
    ItemBool *removeHttpItem()
    {
      return mRemoveHttpItem;
    }

    /**
      Set shortenerPlugin
    */
    static
    void setShortenerPlugin( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "shortenerPlugin" ) ))
        self()->mShortenerPlugin = v;
    }

    /**
      Get shortenerPlugin
    */
    static
    QString shortenerPlugin()
    {
      return self()->mShortenerPlugin;
    }

    /**
      Get Item object corresponding to shortenerPlugin()
    */
    ItemString *shortenerPluginItem()
    {
      return mShortenerPluginItem;
    }

    /**
      Set countOfPosts
    */
    static
    void setCountOfPosts( int v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "countOfPosts" ) ))
        self()->mCountOfPosts = v;
    }

    /**
      Get countOfPosts
    */
    static
    int countOfPosts()
    {
      return self()->mCountOfPosts;
    }

    /**
      Get Item object corresponding to countOfPosts()
    */
    ItemInt *countOfPostsItem()
    {
      return mCountOfPostsItem;
    }

    /**
      Set resendWithQuickPost
    */
    static
    void setResendWithQuickPost( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "resendWithQuickPost" ) ))
        self()->mResendWithQuickPost = v;
    }

    /**
      Get resendWithQuickPost
    */
    static
    bool resendWithQuickPost()
    {
      return self()->mResendWithQuickPost;
    }

    /**
      Get Item object corresponding to resendWithQuickPost()
    */
    ItemBool *resendWithQuickPostItem()
    {
      return mResendWithQuickPostItem;
    }

    /**
      Set useCustomRT
    */
    static
    void setUseCustomRT( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "useCustomRT" ) ))
        self()->mUseCustomRT = v;
    }

    /**
      Get useCustomRT
    */
    static
    bool useCustomRT()
    {
      return self()->mUseCustomRT;
    }

    /**
      Get Item object corresponding to useCustomRT()
    */
    ItemBool *useCustomRTItem()
    {
      return mUseCustomRTItem;
    }

    /**
      Set customRT
    */
    static
    void setCustomRT( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "customRT" ) ))
        self()->mCustomRT = v;
    }

    /**
      Get customRT
    */
    static
    QString customRT()
    {
      return self()->mCustomRT;
    }

    /**
      Get Item object corresponding to customRT()
    */
    ItemString *customRTItem()
    {
      return mCustomRTItem;
    }

    /**
      Set lastUsedUploaderPlugin
    */
    static
    void setLastUsedUploaderPlugin( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "lastUsedUploaderPlugin" ) ))
        self()->mLastUsedUploaderPlugin = v;
    }

    /**
      Get lastUsedUploaderPlugin
    */
    static
    QString lastUsedUploaderPlugin()
    {
      return self()->mLastUsedUploaderPlugin;
    }

    /**
      Get Item object corresponding to lastUsedUploaderPlugin()
    */
    ItemString *lastUsedUploaderPluginItem()
    {
      return mLastUsedUploaderPluginItem;
    }

    /**
      Set spellerLanguage
    */
    static
    void setSpellerLanguage( const QString & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "spellerLanguage" ) ))
        self()->mSpellerLanguage = v;
    }

    /**
      Get spellerLanguage
    */
    static
    QString spellerLanguage()
    {
      return self()->mSpellerLanguage;
    }

    /**
      Get Item object corresponding to spellerLanguage()
    */
    ItemString *spellerLanguageItem()
    {
      return mSpellerLanguageItem;
    }

    /**
      Set knotify
    */
    static
    void setKnotify( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "knotify" ) ))
        self()->mKnotify = v;
    }

    /**
      Get knotify
    */
    static
    bool knotify()
    {
      return self()->mKnotify;
    }

    /**
      Get Item object corresponding to knotify()
    */
    ItemBool *knotifyItem()
    {
      return mKnotifyItem;
    }

    /**
      Set libindicate
    */
    static
    void setLibindicate( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "libindicate" ) ))
        self()->mLibindicate = v;
    }

    /**
      Get libindicate
    */
    static
    bool libindicate()
    {
      return self()->mLibindicate;
    }

    /**
      Get Item object corresponding to libindicate()
    */
    ItemBool *libindicateItem()
    {
      return mLibindicateItem;
    }

    /**
      Set All
    */
    static
    void setAll( bool v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "All" ) ))
        self()->mAll = v;
    }

    /**
      Get All
    */
    static
    bool all()
    {
      return self()->mAll;
    }

    /**
      Get Item object corresponding to All()
    */
    ItemBool *allItem()
    {
      return mAllItem;
    }

    /**
      Set QuickPostDialogSize
    */
    static
    void setQuickPostDialogSize( const QSize & v )
    {
      if (!self()->isImmutable( QString::fromLatin1( "QuickPostDialogSize" ) ))
        self()->mQuickPostDialogSize = v;
    }

    /**
      Get QuickPostDialogSize
    */
    static
    QSize quickPostDialogSize()
    {
      return self()->mQuickPostDialogSize;
    }

    /**
      Get Item object corresponding to QuickPostDialogSize()
    */
    ItemSize *quickPostDialogSizeItem()
    {
      return mQuickPostDialogSizeItem;
    }

  protected:
    BehaviorSettings();
    friend class BehaviorSettingsHelper;


    // Behavior
    bool mNotifyEnabled;
    bool mShowAllNotifiesInOne;
    bool mEnableSysTray;
    bool mEnableSpellChecker;
    bool mMarkAllAsReadOnHideToSystray;
    bool mMarkAllAsReadOnExit;
    int mUpdateInterval;
    int mNotifyInterval;
    bool mShowMainWinOnStart;
    bool mShowSplashScreen;
    QPoint mPosition;
    bool mUseKWallet;
    bool mUseCustomBrowser;
    QString mCustomBrowser;
    bool mShortenOnPaste;
    bool mRemoveHttp;
    QString mShortenerPlugin;
    int mCountOfPosts;
    bool mResendWithQuickPost;
    bool mUseCustomRT;
    QString mCustomRT;
    QString mLastUsedUploaderPlugin;
    QString mSpellerLanguage;
    bool mKnotify;
    bool mLibindicate;

    // QuickPost
    bool mAll;
    QSize mQuickPostDialogSize;

  private:
    ItemBool *mNotifyEnabledItem;
    ItemBool *mShowAllNotifiesInOneItem;
    ItemBool *mEnableSysTrayItem;
    ItemBool *mEnableSpellCheckerItem;
    ItemBool *mMarkAllAsReadOnHideToSystrayItem;
    ItemBool *mMarkAllAsReadOnExitItem;
    ItemInt *mUpdateIntervalItem;
    ItemInt *mNotifyIntervalItem;
    ItemBool *mShowMainWinOnStartItem;
    ItemBool *mShowSplashScreenItem;
    ItemPoint *mPositionItem;
    ItemBool *mUseKWalletItem;
    ItemBool *mUseCustomBrowserItem;
    ItemString *mCustomBrowserItem;
    ItemBool *mShortenOnPasteItem;
    ItemBool *mRemoveHttpItem;
    ItemString *mShortenerPluginItem;
    ItemInt *mCountOfPostsItem;
    ItemBool *mResendWithQuickPostItem;
    ItemBool *mUseCustomRTItem;
    ItemString *mCustomRTItem;
    ItemString *mLastUsedUploaderPluginItem;
    ItemString *mSpellerLanguageItem;
    ItemBool *mKnotifyItem;
    ItemBool *mLibindicateItem;
    ItemBool *mAllItem;
    ItemSize *mQuickPostDialogSizeItem;
};

}

#endif

