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

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

class Prefs : public TDEConfigSkeleton
{
  public:

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

    /**
      Set Selects the PSE
    */
    static
    void setSchemaPSE( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "schemaPSE" ) ))
        self()->mSchemaPSE = v;
    }

    /**
      Get Selects the PSE
    */
    static
    int schemaPSE()
    {
      return self()->mSchemaPSE;
    }

    /**
      Set Selects the default color scheme
    */
    static
    void setColorschemebox( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "colorschemebox" ) ))
        self()->mColorschemebox = v;
    }

    /**
      Get Selects the default color scheme
    */
    static
    int colorschemebox()
    {
      return self()->mColorschemebox;
    }

    /**
      Set Selects the default gradient
    */
    static
    void setGradient( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "gradient" ) ))
        self()->mGradient = v;
    }

    /**
      Get Selects the default gradient
    */
    static
    int gradient()
    {
      return self()->mGradient;
    }

    /**
      Set Selects the default numeration (IUPAC)
    */
    static
    void setNumeration( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "numeration" ) ))
        self()->mNumeration = v;
    }

    /**
      Get Selects the default numeration (IUPAC)
    */
    static
    int numeration()
    {
      return self()->mNumeration;
    }

    /**
      Set Show or hide the legend
    */
    static
    void setShowlegend( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "showlegend" ) ))
        self()->mShowlegend = v;
    }

    /**
      Get Show or hide the legend
    */
    static
    bool showlegend()
    {
      return self()->mShowlegend;
    }

    /**
      Set Show or hide the tooltips
    */
    static
    void setTooltip( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "tooltip" ) ))
        self()->mTooltip = v;
    }

    /**
      Get Show or hide the tooltips
    */
    static
    bool tooltip()
    {
      return self()->mTooltip;
    }

    /**
      Set whether the atomic mass will be displayed in the PSE-Table
    */
    static
    void setPselook( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "pselook" ) ))
        self()->mPselook = v;
    }

    /**
      Get whether the atomic mass will be displayed in the PSE-Table
    */
    static
    int pselook()
    {
      return self()->mPselook;
    }

    /**
      Set Selects the color if no scheme is selected
    */
    static
    void setNoscheme( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "noscheme" ) ))
        self()->mNoscheme = v;
    }

    /**
      Get Selects the color if no scheme is selected
    */
    static
    TQColor noscheme()
    {
      return self()->mNoscheme;
    }

    /**
      Set Selects the color of liquid elements
    */
    static
    void setColor_liquid( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "color_liquid" ) ))
        self()->mColor_liquid = v;
    }

    /**
      Get Selects the color of liquid elements
    */
    static
    TQColor color_liquid()
    {
      return self()->mColor_liquid;
    }

    /**
      Set Selects the color of solid elements
    */
    static
    void setColor_solid( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "color_solid" ) ))
        self()->mColor_solid = v;
    }

    /**
      Get Selects the color of solid elements
    */
    static
    TQColor color_solid()
    {
      return self()->mColor_solid;
    }

    /**
      Set Selects the color of vaporous elements
    */
    static
    void setColor_vapor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "color_vapor" ) ))
        self()->mColor_vapor = v;
    }

    /**
      Get Selects the color of vaporous elements
    */
    static
    TQColor color_vapor()
    {
      return self()->mColor_vapor;
    }

    /**
      Set Selects the color of radioactive elements
    */
    static
    void setColor_radioactive( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "color_radioactive" ) ))
        self()->mColor_radioactive = v;
    }

    /**
      Get Selects the color of radioactive elements
    */
    static
    TQColor color_radioactive()
    {
      return self()->mColor_radioactive;
    }

    /**
      Set Selects the color of artificial elements
    */
    static
    void setColor_artificial( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "color_artificial" ) ))
        self()->mColor_artificial = v;
    }

    /**
      Get Selects the color of artificial elements
    */
    static
    TQColor color_artificial()
    {
      return self()->mColor_artificial;
    }

    /**
      Set Selects the color of the elements in block s
    */
    static
    void setBlock_s( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "block_s" ) ))
        self()->mBlock_s = v;
    }

    /**
      Get Selects the color of the elements in block s
    */
    static
    TQColor block_s()
    {
      return self()->mBlock_s;
    }

    /**
      Set Selects the color of the elements in block p
    */
    static
    void setBlock_p( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "block_p" ) ))
        self()->mBlock_p = v;
    }

    /**
      Get Selects the color of the elements in block p
    */
    static
    TQColor block_p()
    {
      return self()->mBlock_p;
    }

    /**
      Set Selects the color of the elements in block d
    */
    static
    void setBlock_d( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "block_d" ) ))
        self()->mBlock_d = v;
    }

    /**
      Get Selects the color of the elements in block d
    */
    static
    TQColor block_d()
    {
      return self()->mBlock_d;
    }

    /**
      Set Selects the color of the elements in block f
    */
    static
    void setBlock_f( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "block_f" ) ))
        self()->mBlock_f = v;
    }

    /**
      Get Selects the color of the elements in block f
    */
    static
    TQColor block_f()
    {
      return self()->mBlock_f;
    }

    /**
      Set Selects the color of the elements in group 1
    */
    static
    void setGroup_1( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_1" ) ))
        self()->mGroup_1 = v;
    }

    /**
      Get Selects the color of the elements in group 1
    */
    static
    TQColor group_1()
    {
      return self()->mGroup_1;
    }

    /**
      Set Selects the color of the elements in group 2
    */
    static
    void setGroup_2( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_2" ) ))
        self()->mGroup_2 = v;
    }

    /**
      Get Selects the color of the elements in group 2
    */
    static
    TQColor group_2()
    {
      return self()->mGroup_2;
    }

    /**
      Set Selects the color of the elements in group 3
    */
    static
    void setGroup_3( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_3" ) ))
        self()->mGroup_3 = v;
    }

    /**
      Get Selects the color of the elements in group 3
    */
    static
    TQColor group_3()
    {
      return self()->mGroup_3;
    }

    /**
      Set Selects the color of the elements in group 4
    */
    static
    void setGroup_4( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_4" ) ))
        self()->mGroup_4 = v;
    }

    /**
      Get Selects the color of the elements in group 4
    */
    static
    TQColor group_4()
    {
      return self()->mGroup_4;
    }

    /**
      Set Selects the color of the elements in group 5
    */
    static
    void setGroup_5( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_5" ) ))
        self()->mGroup_5 = v;
    }

    /**
      Get Selects the color of the elements in group 5
    */
    static
    TQColor group_5()
    {
      return self()->mGroup_5;
    }

    /**
      Set Selects the color of the elements in group 6
    */
    static
    void setGroup_6( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_6" ) ))
        self()->mGroup_6 = v;
    }

    /**
      Get Selects the color of the elements in group 6
    */
    static
    TQColor group_6()
    {
      return self()->mGroup_6;
    }

    /**
      Set Selects the color of the elements in group 7
    */
    static
    void setGroup_7( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_7" ) ))
        self()->mGroup_7 = v;
    }

    /**
      Get Selects the color of the elements in group 7
    */
    static
    TQColor group_7()
    {
      return self()->mGroup_7;
    }

    /**
      Set Selects the color of the elements in group 8
    */
    static
    void setGroup_8( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "group_8" ) ))
        self()->mGroup_8 = v;
    }

    /**
      Get Selects the color of the elements in group 8
    */
    static
    TQColor group_8()
    {
      return self()->mGroup_8;
    }

    /**
      Set Selects the color of the elements with acidic behaviour
    */
    static
    void setBeh_acidic( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "beh_acidic" ) ))
        self()->mBeh_acidic = v;
    }

    /**
      Get Selects the color of the elements with acidic behaviour
    */
    static
    TQColor beh_acidic()
    {
      return self()->mBeh_acidic;
    }

    /**
      Set Selects the color of the elements with basic behaviour
    */
    static
    void setBeh_basic( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "beh_basic" ) ))
        self()->mBeh_basic = v;
    }

    /**
      Get Selects the color of the elements with basic behaviour
    */
    static
    TQColor beh_basic()
    {
      return self()->mBeh_basic;
    }

    /**
      Set Selects the color of the elements with amphoteric behaviour
    */
    static
    void setBeh_amphoteric( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "beh_amphoteric" ) ))
        self()->mBeh_amphoteric = v;
    }

    /**
      Get Selects the color of the elements with amphoteric behaviour
    */
    static
    TQColor beh_amphoteric()
    {
      return self()->mBeh_amphoteric;
    }

    /**
      Set Selects the color of the elements with neutral behaviour
    */
    static
    void setBeh_neutral( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "beh_neutral" ) ))
        self()->mBeh_neutral = v;
    }

    /**
      Get Selects the color of the elements with neutral behaviour
    */
    static
    TQColor beh_neutral()
    {
      return self()->mBeh_neutral;
    }

    /**
      Set Selects the color of the alkali metals
    */
    static
    void setAlkalie( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "alkalie" ) ))
        self()->mAlkalie = v;
    }

    /**
      Get Selects the color of the alkali metals
    */
    static
    TQColor alkalie()
    {
      return self()->mAlkalie;
    }

    /**
      Set Selects the color of the rare-earth elements
    */
    static
    void setRare( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "rare" ) ))
        self()->mRare = v;
    }

    /**
      Get Selects the color of the rare-earth elements
    */
    static
    TQColor rare()
    {
      return self()->mRare;
    }

    /**
      Set Selects the color of the non-metal elements
    */
    static
    void setNonmetal( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "nonmetal" ) ))
        self()->mNonmetal = v;
    }

    /**
      Get Selects the color of the non-metal elements
    */
    static
    TQColor nonmetal()
    {
      return self()->mNonmetal;
    }

    /**
      Set Selects the color of the alkaline earth metals
    */
    static
    void setAlkaline( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "alkaline" ) ))
        self()->mAlkaline = v;
    }

    /**
      Get Selects the color of the alkaline earth metals
    */
    static
    TQColor alkaline()
    {
      return self()->mAlkaline;
    }

    /**
      Set Selects the color of the metals which do not fit into the other categories
    */
    static
    void setOther_metal( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "other_metal" ) ))
        self()->mOther_metal = v;
    }

    /**
      Get Selects the color of the metals which do not fit into the other categories
    */
    static
    TQColor other_metal()
    {
      return self()->mOther_metal;
    }

    /**
      Set Selects the color of the halogen elements
    */
    static
    void setHalogene( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "halogene" ) ))
        self()->mHalogene = v;
    }

    /**
      Get Selects the color of the halogen elements
    */
    static
    TQColor halogene()
    {
      return self()->mHalogene;
    }

    /**
      Set Selects the color of the transition elements
    */
    static
    void setTransition( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "transition" ) ))
        self()->mTransition = v;
    }

    /**
      Get Selects the color of the transition elements
    */
    static
    TQColor transition()
    {
      return self()->mTransition;
    }

    /**
      Set Selects the color of the noble gases
    */
    static
    void setNoble_gas( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "noble_gas" ) ))
        self()->mNoble_gas = v;
    }

    /**
      Get Selects the color of the noble gases
    */
    static
    TQColor noble_gas()
    {
      return self()->mNoble_gas;
    }

    /**
      Set Selects the color of the metalloid elements
    */
    static
    void setMetalloid( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "metalloid" ) ))
        self()->mMetalloid = v;
    }

    /**
      Get Selects the color of the metalloid elements
    */
    static
    TQColor metalloid()
    {
      return self()->mMetalloid;
    }

    /**
      Set This value defines whether eV or kJ/mol should be used within Kalzium
    */
    static
    void setEnergies( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "energies" ) ))
        self()->mEnergies = v;
    }

    /**
      Get This value defines whether eV or kJ/mol should be used within Kalzium
    */
    static
    int energies()
    {
      return self()->mEnergies;
    }

    /**
      Set This value defines which temperature scale should be used within Kalzium
    */
    static
    void setTemperature( int v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "temperature" ) ))
        self()->mTemperature = v;
    }

    /**
      Get This value defines which temperature scale should be used within Kalzium
    */
    static
    int temperature()
    {
      return self()->mTemperature;
    }

    /**
      Set Show or hide the sidebar
    */
    static
    void setShowsidebar( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "showsidebar" ) ))
        self()->mShowsidebar = v;
    }

    /**
      Get Show or hide the sidebar
    */
    static
    bool showsidebar()
    {
      return self()->mShowsidebar;
    }

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


    // Periodic Table
    int mSchemaPSE;
    int mColorschemebox;
    int mGradient;
    int mNumeration;
    bool mShowlegend;
    bool mTooltip;
    int mPselook;

    // Colors
    TQColor mNoscheme;
    TQColor mColor_liquid;
    TQColor mColor_solid;
    TQColor mColor_vapor;
    TQColor mColor_radioactive;
    TQColor mColor_artificial;
    TQColor mBlock_s;
    TQColor mBlock_p;
    TQColor mBlock_d;
    TQColor mBlock_f;
    TQColor mGroup_1;
    TQColor mGroup_2;
    TQColor mGroup_3;
    TQColor mGroup_4;
    TQColor mGroup_5;
    TQColor mGroup_6;
    TQColor mGroup_7;
    TQColor mGroup_8;
    TQColor mBeh_acidic;
    TQColor mBeh_basic;
    TQColor mBeh_amphoteric;
    TQColor mBeh_neutral;
    TQColor mAlkalie;
    TQColor mRare;
    TQColor mNonmetal;
    TQColor mAlkaline;
    TQColor mOther_metal;
    TQColor mHalogene;
    TQColor mTransition;
    TQColor mNoble_gas;
    TQColor mMetalloid;

    // Units
    int mEnergies;
    int mTemperature;

    // Sidebar
    bool mShowsidebar;

  private:
};

#endif

