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

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

#include <kstandarddirs.h>
class Prefs : public TDEConfigSkeleton
{
  public:
    class EnumWrapMode
    {
      public:
      enum type { NoWrap, SoftWrap, FixedColumnWrap, COUNT };
    };

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


    /**
      Get Font
    */
    static
    TQFont font()
    {
      return self()->mFont;
    }


    /**
      Get Use custom colors.
    */
    static
    bool customColor()
    {
      return self()->mCustomColor;
    }


    /**
      Get Text color
    */
    static
    TQColor textColor()
    {
      return self()->mTextColor;
    }


    /**
      Get Background color
    */
    static
    TQColor backgroundColor()
    {
      return self()->mBackgroundColor;
    }


    /**
      Get Wrapping mode
    */
    static
    int wrapMode()
    {
      return self()->mWrapMode;
    }


    /**
      Get Wrap at column
    */
    static
    int wrapColumn()
    {
      return self()->mWrapColumn;
    }


    /**
      Get Make backup when saving a file
    */
    static
    bool backupCopies()
    {
      return self()->mBackupCopies;
    }

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


    // Text Font
    TQFont mFont;

    // General Options
    bool mCustomColor;
    TQColor mTextColor;
    TQColor mBackgroundColor;
    int mWrapMode;
    int mWrapColumn;
    bool mBackupCopies;

  private:
};

#endif

