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

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

class Settings : public TDEConfigSkeleton
{
  public:

    static Settings *self();
    ~Settings();

    /**
      Set Axis-line width
    */
    static
    void setAxesLineWidth( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AxesLineWidth" ) ))
        self()->mAxesLineWidth = v;
    }

    /**
      Get Axis-line width
    */
    static
    int axesLineWidth()
    {
      return self()->mAxesLineWidth;
    }

    /**
      Set Checked if labels are visible
    */
    static
    void setShowLabel( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowLabel" ) ))
        self()->mShowLabel = v;
    }

    /**
      Get Checked if labels are visible
    */
    static
    bool showLabel()
    {
      return self()->mShowLabel;
    }

    /**
      Set Checked if axes are visible
    */
    static
    void setShowAxes( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowAxes" ) ))
        self()->mShowAxes = v;
    }

    /**
      Get Checked if axes are visible
    */
    static
    bool showAxes()
    {
      return self()->mShowAxes;
    }

    /**
      Set Checked if arrows are visible
    */
    static
    void setShowArrows( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowArrows" ) ))
        self()->mShowArrows = v;
    }

    /**
      Get Checked if arrows are visible
    */
    static
    bool showArrows()
    {
      return self()->mShowArrows;
    }

    /**
      Set Grid Line Width
    */
    static
    void setGridLineWidth( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "GridLineWidth" ) ))
        self()->mGridLineWidth = v;
    }

    /**
      Get Grid Line Width
    */
    static
    int gridLineWidth()
    {
      return self()->mGridLineWidth;
    }

    /**
      Set Grid Style
    */
    static
    void setGridStyle( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "GridStyle" ) ))
        self()->mGridStyle = v;
    }

    /**
      Get Grid Style
    */
    static
    int gridStyle()
    {
      return self()->mGridStyle;
    }

    /**
      Set Checked if a frame is visible
    */
    static
    void setShowFrame( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowFrame" ) ))
        self()->mShowFrame = v;
    }

    /**
      Get Checked if a frame is visible
    */
    static
    bool showFrame()
    {
      return self()->mShowFrame;
    }

    /**
      Set Checked if an extra frame is visible
    */
    static
    void setShowExtraFrame( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ShowExtraFrame" ) ))
        self()->mShowExtraFrame = v;
    }

    /**
      Get Checked if an extra frame is visible
    */
    static
    bool showExtraFrame()
    {
      return self()->mShowExtraFrame;
    }

    /**
      Set Tic length
    */
    static
    void setTicLength( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TicLength" ) ))
        self()->mTicLength = v;
    }

    /**
      Get Tic length
    */
    static
    int ticLength()
    {
      return self()->mTicLength;
    }

    /**
      Set Tic width
    */
    static
    void setTicWidth( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "TicWidth" ) ))
        self()->mTicWidth = v;
    }

    /**
      Get Tic width
    */
    static
    int ticWidth()
    {
      return self()->mTicWidth;
    }

    /**
      Set Plot-line width
    */
    static
    void setPlotLineWidth( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "PlotLineWidth" ) ))
        self()->mPlotLineWidth = v;
    }

    /**
      Get Plot-line width
    */
    static
    int plotLineWidth()
    {
      return self()->mPlotLineWidth;
    }

    /**
      Set Predefined x-axis range
    */
    static
    void setXRange( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "XRange" ) ))
        self()->mXRange = v;
    }

    /**
      Get Predefined x-axis range
    */
    static
    int xRange()
    {
      return self()->mXRange;
    }

    /**
      Set Predefined y-axis range
    */
    static
    void setYRange( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "YRange" ) ))
        self()->mYRange = v;
    }

    /**
      Get Predefined y-axis range
    */
    static
    int yRange()
    {
      return self()->mYRange;
    }

    /**
      Set Left boundary
    */
    static
    void setXMin( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "XMin" ) ))
        self()->mXMin = v;
    }

    /**
      Get Left boundary
    */
    static
    TQString xMin()
    {
      return self()->mXMin;
    }

    /**
      Set Right boundary
    */
    static
    void setXMax( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "XMax" ) ))
        self()->mXMax = v;
    }

    /**
      Get Right boundary
    */
    static
    TQString xMax()
    {
      return self()->mXMax;
    }

    /**
      Set Lower boundary
    */
    static
    void setYMin( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "YMin" ) ))
        self()->mYMin = v;
    }

    /**
      Get Lower boundary
    */
    static
    TQString yMin()
    {
      return self()->mYMin;
    }

    /**
      Set Upper boundary
    */
    static
    void setYMax( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "YMax" ) ))
        self()->mYMax = v;
    }

    /**
      Get Upper boundary
    */
    static
    TQString yMax()
    {
      return self()->mYMax;
    }

    /**
      Set Width of a unit from tic to tic
    */
    static
    void setXScaling( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "XScaling" ) ))
        self()->mXScaling = v;
    }

    /**
      Get Width of a unit from tic to tic
    */
    static
    int xScaling()
    {
      return self()->mXScaling;
    }

    /**
      Set Height of a unit from tic to tic
    */
    static
    void setYScaling( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "YScaling" ) ))
        self()->mYScaling = v;
    }

    /**
      Get Height of a unit from tic to tic
    */
    static
    int yScaling()
    {
      return self()->mYScaling;
    }

    /**
      Set Printed width of 1 unit
    */
    static
    void setXPrinting( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "XPrinting" ) ))
        self()->mXPrinting = v;
    }

    /**
      Get Printed width of 1 unit
    */
    static
    int xPrinting()
    {
      return self()->mXPrinting;
    }

    /**
      Set Printed height of 1 unit
    */
    static
    void setYPrinting( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "YPrinting" ) ))
        self()->mYPrinting = v;
    }

    /**
      Get Printed height of 1 unit
    */
    static
    int yPrinting()
    {
      return self()->mYPrinting;
    }

    /**
      Set Font name of the axis labels
    */
    static
    void setAxesFont( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AxesFont" ) ))
        self()->mAxesFont = v;
    }

    /**
      Get Font name of the axis labels
    */
    static
    TQString axesFont()
    {
      return self()->mAxesFont;
    }

    /**
      Set Font size of the axis labels
    */
    static
    void setAxesFontSize( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AxesFontSize" ) ))
        self()->mAxesFontSize = v;
    }

    /**
      Get Font size of the axis labels
    */
    static
    int axesFontSize()
    {
      return self()->mAxesFontSize;
    }

    /**
      Set Font name of the printed header table
    */
    static
    void setHeaderTableFont( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "HeaderTableFont" ) ))
        self()->mHeaderTableFont = v;
    }

    /**
      Get Font name of the printed header table
    */
    static
    TQString headerTableFont()
    {
      return self()->mHeaderTableFont;
    }

    /**
      Set Axis-line color
    */
    static
    void setAxesColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "AxesColor" ) ))
        self()->mAxesColor = v;
    }

    /**
      Get Axis-line color
    */
    static
    TQColor axesColor()
    {
      return self()->mAxesColor;
    }

    /**
      Set Grid Color
    */
    static
    void setGridColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "GridColor" ) ))
        self()->mGridColor = v;
    }

    /**
      Get Grid Color
    */
    static
    TQColor gridColor()
    {
      return self()->mGridColor;
    }

    /**
      Set Color of function 1
    */
    static
    void setColor0( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color0" ) ))
        self()->mColor0 = v;
    }

    /**
      Get Color of function 1
    */
    static
    TQColor color0()
    {
      return self()->mColor0;
    }

    /**
      Set Color of function 2
    */
    static
    void setColor1( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color1" ) ))
        self()->mColor1 = v;
    }

    /**
      Get Color of function 2
    */
    static
    TQColor color1()
    {
      return self()->mColor1;
    }

    /**
      Set Color of function 3
    */
    static
    void setColor2( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color2" ) ))
        self()->mColor2 = v;
    }

    /**
      Get Color of function 3
    */
    static
    TQColor color2()
    {
      return self()->mColor2;
    }

    /**
      Set Color of function 4
    */
    static
    void setColor3( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color3" ) ))
        self()->mColor3 = v;
    }

    /**
      Get Color of function 4
    */
    static
    TQColor color3()
    {
      return self()->mColor3;
    }

    /**
      Set Color of function 5
    */
    static
    void setColor4( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color4" ) ))
        self()->mColor4 = v;
    }

    /**
      Get Color of function 5
    */
    static
    TQColor color4()
    {
      return self()->mColor4;
    }

    /**
      Set Color of function 6
    */
    static
    void setColor5( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color5" ) ))
        self()->mColor5 = v;
    }

    /**
      Get Color of function 6
    */
    static
    TQColor color5()
    {
      return self()->mColor5;
    }

    /**
      Set Color of function 7
    */
    static
    void setColor6( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color6" ) ))
        self()->mColor6 = v;
    }

    /**
      Get Color of function 7
    */
    static
    TQColor color6()
    {
      return self()->mColor6;
    }

    /**
      Set Color of function 8
    */
    static
    void setColor7( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color7" ) ))
        self()->mColor7 = v;
    }

    /**
      Get Color of function 8
    */
    static
    TQColor color7()
    {
      return self()->mColor7;
    }

    /**
      Set Color of function 9
    */
    static
    void setColor8( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color8" ) ))
        self()->mColor8 = v;
    }

    /**
      Get Color of function 9
    */
    static
    TQColor color8()
    {
      return self()->mColor8;
    }

    /**
      Set Color of function 10
    */
    static
    void setColor9( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Color9" ) ))
        self()->mColor9 = v;
    }

    /**
      Get Color of function 10
    */
    static
    TQColor color9()
    {
      return self()->mColor9;
    }

    /**
      Set Step width in pixel
    */
    static
    void setStepWidth( double v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "stepWidth" ) ))
        self()->mStepWidth = v;
    }

    /**
      Get Step width in pixel
    */
    static
    double stepWidth()
    {
      return self()->mStepWidth;
    }

    /**
      Set Use relative step width
    */
    static
    void setUseRelativeStepWidth( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "useRelativeStepWidth" ) ))
        self()->mUseRelativeStepWidth = v;
    }

    /**
      Get Use relative step width
    */
    static
    bool useRelativeStepWidth()
    {
      return self()->mUseRelativeStepWidth;
    }

    /**
      Set Radians instead of degrees
    */
    static
    void setAnglemode( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "anglemode" ) ))
        self()->mAnglemode = v;
    }

    /**
      Get Radians instead of degrees
    */
    static
    bool anglemode()
    {
      return self()->mAnglemode;
    }

    /**
      Set Background color
    */
    static
    void setBackgroundcolor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "backgroundcolor" ) ))
        self()->mBackgroundcolor = v;
    }

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

    /**
      Set Zoom-in step
    */
    static
    void setZoomInStep( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "zoomInStep" ) ))
        self()->mZoomInStep = v;
    }

    /**
      Get Zoom-in step
    */
    static
    int zoomInStep()
    {
      return self()->mZoomInStep;
    }

    /**
      Set Zoom-out step
    */
    static
    void setZoomOutStep( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "zoomOutStep" ) ))
        self()->mZoomOutStep = v;
    }

    /**
      Get Zoom-out step
    */
    static
    int zoomOutStep()
    {
      return self()->mZoomOutStep;
    }

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


    // Coordinate System
    int mAxesLineWidth;
    bool mShowLabel;
    bool mShowAxes;
    bool mShowArrows;
    int mGridLineWidth;
    int mGridStyle;
    bool mShowFrame;
    bool mShowExtraFrame;
    int mTicLength;
    int mTicWidth;
    int mPlotLineWidth;
    int mXRange;
    int mYRange;
    TQString mXMin;
    TQString mXMax;
    TQString mYMin;
    TQString mYMax;

    // Scaling
    int mXScaling;
    int mYScaling;
    int mXPrinting;
    int mYPrinting;

    // Fonts
    TQString mAxesFont;
    int mAxesFontSize;
    TQString mHeaderTableFont;

    // Colors
    TQColor mAxesColor;
    TQColor mGridColor;
    TQColor mColor0;
    TQColor mColor1;
    TQColor mColor2;
    TQColor mColor3;
    TQColor mColor4;
    TQColor mColor5;
    TQColor mColor6;
    TQColor mColor7;
    TQColor mColor8;
    TQColor mColor9;

    // General
    double mStepWidth;
    bool mUseRelativeStepWidth;
    bool mAnglemode;
    TQColor mBackgroundcolor;
    int mZoomInStep;
    int mZoomOutStep;

  private:
};

#endif

