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

#include <tdeconfigskeleton.h>
#include <kdebug.h>

class ScanFolderPluginSettings : public TDEConfigSkeleton
{
  public:

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

    /**
      Set Enable scanning of folder1?
    */
    static
    void setUseFolder1( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "useFolder1" ) ))
        self()->mUseFolder1 = v;
    }

    /**
      Get Enable scanning of folder1?
    */
    static
    bool useFolder1()
    {
      return self()->mUseFolder1;
    }

    /**
      Set Enable scanning of folder2?
    */
    static
    void setUseFolder2( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "useFolder2" ) ))
        self()->mUseFolder2 = v;
    }

    /**
      Get Enable scanning of folder2?
    */
    static
    bool useFolder2()
    {
      return self()->mUseFolder2;
    }

    /**
      Set Enable scanning of folder3?
    */
    static
    void setUseFolder3( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "useFolder3" ) ))
        self()->mUseFolder3 = v;
    }

    /**
      Get Enable scanning of folder3?
    */
    static
    bool useFolder3()
    {
      return self()->mUseFolder3;
    }

    /**
      Set Folder1 path
    */
    static
    void setFolder1( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "folder1" ) ))
        self()->mFolder1 = v;
    }

    /**
      Get Folder1 path
    */
    static
    TQString folder1()
    {
      return self()->mFolder1;
    }

    /**
      Set Folder2 path
    */
    static
    void setFolder2( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "folder2" ) ))
        self()->mFolder2 = v;
    }

    /**
      Get Folder2 path
    */
    static
    TQString folder2()
    {
      return self()->mFolder2;
    }

    /**
      Set Folder3 path
    */
    static
    void setFolder3( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "folder3" ) ))
        self()->mFolder3 = v;
    }

    /**
      Get Folder3 path
    */
    static
    TQString folder3()
    {
      return self()->mFolder3;
    }

    /**
      Set Whether to open torrent silently or not.
    */
    static
    void setOpenSilently( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "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( TQString::fromLatin1( "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( TQString::fromLatin1( "actionMove" ) ))
        self()->mActionMove = v;
    }

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

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    ScanFolderPluginSettings();
    static ScanFolderPluginSettings *mSelf;


    // general
    bool mUseFolder1;
    bool mUseFolder2;
    bool mUseFolder3;
    TQString mFolder1;
    TQString mFolder2;
    TQString mFolder3;
    bool mOpenSilently;
    bool mActionDelete;
    bool mActionMove;

  private:
};

#endif

