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

#include <klocalizedstring.h>

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

class TwitgooSettings : public KConfigSkeleton
{
  public:

    static TwitgooSettings *self();
    ~TwitgooSettings();

    /**
      Set alias
    */
    static
    void setAlias( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "alias" ) ))
        self()->mAlias = v;
    }

    /**
      Get alias
    */
    static
    QString alias()
    {
      return self()->mAlias;
    }

    /**
      Get Item object corresponding to alias()
    */
    ItemString *aliasItem()
    {
      return mAliasItem;
    }

    /**
      Set directLink
    */
    static
    void setDirectLink( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "directLink" ) ))
        self()->mDirectLink = v;
    }

    /**
      Get directLink
    */
    static
    bool directLink()
    {
      return self()->mDirectLink;
    }

    /**
      Get Item object corresponding to directLink()
    */
    ItemBool *directLinkItem()
    {
      return mDirectLinkItem;
    }

  protected:
    TwitgooSettings();
    friend class TwitgooSettingsHelper;


    // Twitgoo ImageUploader
    QString mAlias;
    bool mDirectLink;

  private:
    ItemString *mAliasItem;
    ItemBool *mDirectLinkItem;
};

#endif

