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

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

class Configuration : public TDEConfigSkeleton
{
  public:
    class EnumPalette
    {
      public:
      enum type { Color, Grayscale, Monochrome, COUNT };
    };

    static Configuration *self();
    ~Configuration();

    /**
      Set Whether to use anti-aliasing.
    */
    static
    void setAntialiasing( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Antialiasing" ) ))
        self()->mAntialiasing = v;
    }

    /**
      Get Whether to use anti-aliasing.
    */
    static
    bool antialiasing()
    {
      return self()->mAntialiasing;
    }

    /**
      Set Palette
    */
    static
    void setPalette( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Palette" ) ))
        self()->mPalette = v;
    }

    /**
      Get Palette
    */
    static
    int palette()
    {
      return self()->mPalette;
    }

    /**
      Set Whether to see a window with Ghostscript messages
    */
    static
    void setMessages( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Messages" ) ))
        self()->mMessages = v;
    }

    /**
      Get Whether to see a window with Ghostscript messages
    */
    static
    bool messages()
    {
      return self()->mMessages;
    }

    /**
      Set Use Platform Fonts
    */
    static
    void setPlatformFonts( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "PlatformFonts" ) ))
        self()->mPlatformFonts = v;
    }

    /**
      Get Use Platform Fonts
    */
    static
    bool platformFonts()
    {
      return self()->mPlatformFonts;
    }

    /**
      Set Whether to show the page list
    */
    static
    void setShowPageList( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowPageList" ) ))
        self()->mShowPageList = v;
    }

    /**
      Get Whether to show the page list
    */
    static
    bool showPageList()
    {
      return self()->mShowPageList;
    }

    /**
      Set Whether to show page names instead of numbers
    */
    static
    void setShowPageNames( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowPageNames" ) ))
        self()->mShowPageNames = v;
    }

    /**
      Get Whether to show page names instead of numbers
    */
    static
    bool showPageNames()
    {
      return self()->mShowPageNames;
    }

    /**
      Set Whether to show scroll bars when pages are too big
    */
    static
    void setShowScrollBars( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowScrollBars" ) ))
        self()->mShowScrollBars = v;
    }

    /**
      Get Whether to show scroll bars when pages are too big
    */
    static
    bool showScrollBars()
    {
      return self()->mShowScrollBars;
    }

    /**
      Set Watch File
    */
    static
    void setWatchFile( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "WatchFile" ) ))
        self()->mWatchFile = v;
    }

    /**
      Get Watch File
    */
    static
    bool watchFile()
    {
      return self()->mWatchFile;
    }

    /**
      Set Retain document viewing data
    */
    static
    void setRetainDocumentData( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RetainDocumentData" ) ))
        self()->mRetainDocumentData = v;
    }

    /**
      Get Retain document viewing data
    */
    static
    bool retainDocumentData()
    {
      return self()->mRetainDocumentData;
    }

    /**
      Set The ghostscript interpreter to use
    */
    static
    void setInterpreter( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Interpreter" ) ))
        self()->mInterpreter = v;
    }

    /**
      Get The ghostscript interpreter to use
    */
    static
    TQString interpreter()
    {
      return self()->mInterpreter;
    }

    /**
      Set Arguments for ghostscript if running with antialiasing
    */
    static
    void setAntialiasingArguments( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AntialiasingArguments" ) ))
        self()->mAntialiasingArguments = v;
    }

    /**
      Get Arguments for ghostscript if running with antialiasing
    */
    static
    TQString antialiasingArguments()
    {
      return self()->mAntialiasingArguments;
    }

    /**
      Set NonAntialiasingArguments
    */
    static
    void setNonAntialiasingArguments( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "NonAntialiasingArguments" ) ))
        self()->mNonAntialiasingArguments = v;
    }

    /**
      Get NonAntialiasingArguments
    */
    static
    TQString nonAntialiasingArguments()
    {
      return self()->mNonAntialiasingArguments;
    }

    /**
      Set This is the ghostscript version you are running
    */
    static
    void setVersion( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Version" ) ))
        self()->mVersion = v;
    }

    /**
      Get This is the ghostscript version you are running
    */
    static
    TQString version()
    {
      return self()->mVersion;
    }

    /**
      Set This is an internal setting
    */
    static
    void setRedetectionCounter( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RedetectionCounter" ) ))
        self()->mRedetectionCounter = v;
    }

    /**
      Get This is an internal setting
    */
    static
    uint redetectionCounter()
    {
      return self()->mRedetectionCounter;
    }

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


    // General
    bool mAntialiasing;
    int mPalette;
    bool mMessages;
    bool mPlatformFonts;
    bool mShowPageList;
    bool mShowPageNames;
    bool mShowScrollBars;
    bool mWatchFile;
    bool mRetainDocumentData;

    // Ghostscript
    TQString mInterpreter;
    TQString mAntialiasingArguments;
    TQString mNonAntialiasingArguments;
    TQString mVersion;
    uint mRedetectionCounter;

  private:
};

#endif

