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

#include <gvcore/libgwenview_export.h>

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

namespace Gwenview {

class LIBGWENVIEW_EXPORT MiscConfig : public TDEConfigSkeleton
{
  public:
    class EnumModifiedBehavior
    {
      public:
      enum type { ask, yes, no, COUNT };
    };

    static MiscConfig *self();
    ~MiscConfig();

    /**
      Set Whether Gwenview should rotate images if orientation information is available.
    */
    static
    void setAutoRotateImages( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "autoRotateImages" ) ))
        self()->mAutoRotateImages = v;
    }

    /**
      Get Whether Gwenview should rotate images if orientation information is available.
    */
    static
    bool autoRotateImages()
    {
      return self()->mAutoRotateImages;
    }

    /**
      Set history
    */
    static
    void setHistory( const TQStringList & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "history" ) ))
        self()->mHistory = v;
    }

    /**
      Get history
    */
    static
    TQStringList history()
    {
      return self()->mHistory;
    }

    /**
      Set Whether Gwenview should remember the file filter.
    */
    static
    void setRememberFilter( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "rememberFilter" ) ))
        self()->mRememberFilter = v;
    }

    /**
      Get Whether Gwenview should remember the file filter.
    */
    static
    bool rememberFilter()
    {
      return self()->mRememberFilter;
    }

    /**
      Set Whether Gwenview should remember the last URL.
    */
    static
    void setRememberURL( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "rememberURL" ) ))
        self()->mRememberURL = v;
    }

    /**
      Get Whether Gwenview should remember the last URL.
    */
    static
    bool rememberURL()
    {
      return self()->mRememberURL;
    }

    /**
      Set save automatically
    */
    static
    void setModifiedBehavior( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "modifiedBehavior" ) ))
        self()->mModifiedBehavior = v;
    }

    /**
      Get save automatically
    */
    static
    int modifiedBehavior()
    {
      return self()->mModifiedBehavior;
    }

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


    // misc
    bool mAutoRotateImages;
    TQStringList mHistory;
    bool mRememberFilter;
    bool mRememberURL;

    // Notification Messages
    int mModifiedBehavior;

  private:
};

}

#endif

