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

#include <gvcore/libgwenview_export.h>

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

namespace Gwenview {

class LIBGWENVIEW_EXPORT FileOperationConfig : public TDEConfigSkeleton
{
  public:

    static FileOperationConfig *self();
    ~FileOperationConfig();

    /**
      Set delete to trash
    */
    static
    void setDeleteToTrash( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "deleteToTrash" ) ))
        self()->mDeleteToTrash = v;
    }

    /**
      Get delete to trash
    */
    static
    bool deleteToTrash()
    {
      return self()->mDeleteToTrash;
    }

    /**
      Set confirm file delete
    */
    static
    void setConfirmDelete( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "confirmDelete" ) ))
        self()->mConfirmDelete = v;
    }

    /**
      Get confirm file delete
    */
    static
    bool confirmDelete()
    {
      return self()->mConfirmDelete;
    }

    /**
      Set confirm file move
    */
    static
    void setConfirmMove( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "confirmMove" ) ))
        self()->mConfirmMove = v;
    }

    /**
      Get confirm file move
    */
    static
    bool confirmMove()
    {
      return self()->mConfirmMove;
    }

    /**
      Set confirm file copy
    */
    static
    void setConfirmCopy( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "confirmCopy" ) ))
        self()->mConfirmCopy = v;
    }

    /**
      Get confirm file copy
    */
    static
    bool confirmCopy()
    {
      return self()->mConfirmCopy;
    }

    /**
      Set destination dir
    */
    static
    void setDestDir( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "destDir" ) ))
        self()->mDestDir = v;
    }

    /**
      Get destination dir
    */
    static
    TQString destDir()
    {
      return self()->mDestDir;
    }

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


    // file operations
    bool mDeleteToTrash;
    bool mConfirmDelete;
    bool mConfirmMove;
    bool mConfirmCopy;
    TQString mDestDir;

  private:
};

}

#endif

