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

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

class ScanFolderPluginSettings : public KConfigSkeleton
{
  public:

    static ScanFolderPluginSettings *self();
    ~ScanFolderPluginSettings();

    /**
      Set folders
    */
    static
    void setFolders( const QStringList & v )
    {
      if (!self()->isImmutable( QStringLiteral( "folders" ) ))
        self()->mFolders = v;
    }

    /**
      Get folders
    */
    static
    QStringList folders()
    {
      return self()->mFolders;
    }

    /**
      Set Whether to open torrent silently or not.
    */
    static
    void setOpenSilently( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "openSilently" ) ))
        self()->mOpenSilently = v;
    }

    /**
      Get Whether to open torrent silently or not.
    */
    static
    bool openSilently()
    {
      return self()->mOpenSilently;
    }

    /**
      Set Delete action checked.
    */
    static
    void setActionDelete( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "actionDelete" ) ))
        self()->mActionDelete = v;
    }

    /**
      Get Delete action checked.
    */
    static
    bool actionDelete()
    {
      return self()->mActionDelete;
    }

    /**
      Set Move action checked.
    */
    static
    void setActionMove( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "actionMove" ) ))
        self()->mActionMove = v;
    }

    /**
      Get Move action checked.
    */
    static
    bool actionMove()
    {
      return self()->mActionMove;
    }

    /**
      Set Scan directories recursively.
    */
    static
    void setRecursive( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "recursive" ) ))
        self()->mRecursive = v;
    }

    /**
      Get Scan directories recursively.
    */
    static
    bool recursive()
    {
      return self()->mRecursive;
    }

    /**
      Set addToGroup
    */
    static
    void setAddToGroup( bool v )
    {
      if (!self()->isImmutable( QStringLiteral( "addToGroup" ) ))
        self()->mAddToGroup = v;
    }

    /**
      Get addToGroup
    */
    static
    bool addToGroup()
    {
      return self()->mAddToGroup;
    }

    /**
      Set group
    */
    static
    void setGroup( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "group" ) ))
        self()->mGroup = v;
    }

    /**
      Get group
    */
    static
    QString group()
    {
      return self()->mGroup;
    }

  protected:
    ScanFolderPluginSettings();
    friend class ScanFolderPluginSettingsHelper;


    // general
    QStringList mFolders;
    bool mOpenSilently;
    bool mActionDelete;
    bool mActionMove;
    bool mRecursive;
    bool mAddToGroup;
    QString mGroup;

  private:
};

#endif

