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

#include <klocalizedstring.h>

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

class FlickrSettings : public KConfigSkeleton
{
  public:

    static FlickrSettings *self();
    ~FlickrSettings();

    /**
      Set nsid
    */
    static
    void setNsid( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "nsid" ) ))
        self()->mNsid = v;
    }

    /**
      Get nsid
    */
    static
    QString nsid()
    {
      return self()->mNsid;
    }

    /**
      Get Item object corresponding to nsid()
    */
    ItemString *nsidItem()
    {
      return mNsidItem;
    }

    /**
      Set fullname
    */
    static
    void setFullname( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "fullname" ) ))
        self()->mFullname = v;
    }

    /**
      Get fullname
    */
    static
    QString fullname()
    {
      return self()->mFullname;
    }

    /**
      Get Item object corresponding to fullname()
    */
    ItemString *fullnameItem()
    {
      return mFullnameItem;
    }

    /**
      Set username
    */
    static
    void setUsername( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "username" ) ))
        self()->mUsername = v;
    }

    /**
      Get username
    */
    static
    QString username()
    {
      return self()->mUsername;
    }

    /**
      Get Item object corresponding to username()
    */
    ItemString *usernameItem()
    {
      return mUsernameItem;
    }

    /**
      Set shorturl
    */
    static
    void setShorturl( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "shorturl" ) ))
        self()->mShorturl = v;
    }

    /**
      Get shorturl
    */
    static
    bool shorturl()
    {
      return self()->mShorturl;
    }

    /**
      Get Item object corresponding to shorturl()
    */
    ItemBool *shorturlItem()
    {
      return mShorturlItem;
    }

    /**
      Set forprivate
    */
    static
    void setForprivate( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "forprivate" ) ))
        self()->mForprivate = v;
    }

    /**
      Get forprivate
    */
    static
    bool forprivate()
    {
      return self()->mForprivate;
    }

    /**
      Get Item object corresponding to forprivate()
    */
    ItemBool *forprivateItem()
    {
      return mForprivateItem;
    }

    /**
      Set forfriends
    */
    static
    void setForfriends( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "forfriends" ) ))
        self()->mForfriends = v;
    }

    /**
      Get forfriends
    */
    static
    bool forfriends()
    {
      return self()->mForfriends;
    }

    /**
      Get Item object corresponding to forfriends()
    */
    ItemBool *forfriendsItem()
    {
      return mForfriendsItem;
    }

    /**
      Set forfamily
    */
    static
    void setForfamily( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "forfamily" ) ))
        self()->mForfamily = v;
    }

    /**
      Get forfamily
    */
    static
    bool forfamily()
    {
      return self()->mForfamily;
    }

    /**
      Get Item object corresponding to forfamily()
    */
    ItemBool *forfamilyItem()
    {
      return mForfamilyItem;
    }

    /**
      Set forpublic
    */
    static
    void setForpublic( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "forpublic" ) ))
        self()->mForpublic = v;
    }

    /**
      Get forpublic
    */
    static
    bool forpublic()
    {
      return self()->mForpublic;
    }

    /**
      Get Item object corresponding to forpublic()
    */
    ItemBool *forpublicItem()
    {
      return mForpublicItem;
    }

    /**
      Set safe
    */
    static
    void setSafe( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "safe" ) ))
        self()->mSafe = v;
    }

    /**
      Get safe
    */
    static
    bool safe()
    {
      return self()->mSafe;
    }

    /**
      Get Item object corresponding to safe()
    */
    ItemBool *safeItem()
    {
      return mSafeItem;
    }

    /**
      Set moderate
    */
    static
    void setModerate( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "moderate" ) ))
        self()->mModerate = v;
    }

    /**
      Get moderate
    */
    static
    bool moderate()
    {
      return self()->mModerate;
    }

    /**
      Get Item object corresponding to moderate()
    */
    ItemBool *moderateItem()
    {
      return mModerateItem;
    }

    /**
      Set restricted
    */
    static
    void setRestricted( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "restricted" ) ))
        self()->mRestricted = v;
    }

    /**
      Get restricted
    */
    static
    bool restricted()
    {
      return self()->mRestricted;
    }

    /**
      Get Item object corresponding to restricted()
    */
    ItemBool *restrictedItem()
    {
      return mRestrictedItem;
    }

    /**
      Set hidefromsearch
    */
    static
    void setHidefromsearch( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "hidefromsearch" ) ))
        self()->mHidefromsearch = v;
    }

    /**
      Get hidefromsearch
    */
    static
    bool hidefromsearch()
    {
      return self()->mHidefromsearch;
    }

    /**
      Get Item object corresponding to hidefromsearch()
    */
    ItemBool *hidefromsearchItem()
    {
      return mHidefromsearchItem;
    }

  protected:
    FlickrSettings();
    friend class FlickrSettingsHelper;


    // Flickr Uploader
    QString mNsid;
    QString mFullname;
    QString mUsername;
    bool mShorturl;
    bool mForprivate;
    bool mForfriends;
    bool mForfamily;
    bool mForpublic;
    bool mSafe;
    bool mModerate;
    bool mRestricted;
    bool mHidefromsearch;

  private:
    ItemString *mNsidItem;
    ItemString *mFullnameItem;
    ItemString *mUsernameItem;
    ItemBool *mShorturlItem;
    ItemBool *mForprivateItem;
    ItemBool *mForfriendsItem;
    ItemBool *mForfamilyItem;
    ItemBool *mForpublicItem;
    ItemBool *mSafeItem;
    ItemBool *mModerateItem;
    ItemBool *mRestrictedItem;
    ItemBool *mHidefromsearchItem;
};

#endif

