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

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

#include <fontpool.h>
class Prefs : public TDEConfigSkeleton
{
  public:

    static Prefs *self();
    ~Prefs();

    /**
      Set Use MetaFont to generate missing fonts. If in doubt, enable this option.
    */
    static
    void setMakePK( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "MakePK" ) ))
        self()->mMakePK = v;
    }

    /**
      Get Use MetaFont to generate missing fonts. If in doubt, enable this option.
    */
    static
    bool makePK()
    {
      return self()->mMakePK;
    }

    /**
      Set Show PostScript specials. If in doubt, enable this option.
    */
    static
    void setShowPS( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowPS" ) ))
        self()->mShowPS = v;
    }

    /**
      Get Show PostScript specials. If in doubt, enable this option.
    */
    static
    bool showPS()
    {
      return self()->mShowPS;
    }

    /**
      Set Use font hinting. You should enable this, if the use of font hinting improves readability on your machine.
    */
    static
    void setUseFontHints( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "UseFontHints" ) ))
        self()->mUseFontHints = v;
    }

    /**
      Get Use font hinting. You should enable this, if the use of font hinting improves readability on your machine.
    */
    static
    bool useFontHints()
    {
      return self()->mUseFontHints;
    }

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

    /**
      Get EditorCommand
    */
    static
    TQString editorCommand()
    {
      return self()->mEditorCommand;
    }

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


    // kdvi
    bool mMakePK;
    bool mShowPS;
    bool mUseFontHints;
    TQString mEditorCommand;

  private:
};

#endif

