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

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

class CervisiaSettings : public TDEConfigSkeleton
{
  public:

    static CervisiaSettings *self();
    ~CervisiaSettings();

    /**
      Set DiffChange
    */
    static
    void setDiffChangeColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DiffChangeColor" ) ))
        self()->mDiffChangeColor = v;
    }

    /**
      Get DiffChange
    */
    static
    TQColor diffChangeColor()
    {
      return self()->mDiffChangeColor;
    }

    /**
      Set DiffDelete
    */
    static
    void setDiffDeleteColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DiffDeleteColor" ) ))
        self()->mDiffDeleteColor = v;
    }

    /**
      Get DiffDelete
    */
    static
    TQColor diffDeleteColor()
    {
      return self()->mDiffDeleteColor;
    }

    /**
      Set DiffInsert
    */
    static
    void setDiffInsertColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "DiffInsertColor" ) ))
        self()->mDiffInsertColor = v;
    }

    /**
      Get DiffInsert
    */
    static
    TQColor diffInsertColor()
    {
      return self()->mDiffInsertColor;
    }

    /**
      Set LocalChange
    */
    static
    void setLocalChangeColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "LocalChangeColor" ) ))
        self()->mLocalChangeColor = v;
    }

    /**
      Get LocalChange
    */
    static
    TQColor localChangeColor()
    {
      return self()->mLocalChangeColor;
    }

    /**
      Set RemoteChange
    */
    static
    void setRemoteChangeColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "RemoteChangeColor" ) ))
        self()->mRemoteChangeColor = v;
    }

    /**
      Get RemoteChange
    */
    static
    TQColor remoteChangeColor()
    {
      return self()->mRemoteChangeColor;
    }

    /**
      Set The foreground color used to highlight files with a conflict in the file view.
    */
    static
    void setConflictColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "ConflictColor" ) ))
        self()->mConflictColor = v;
    }

    /**
      Get The foreground color used to highlight files with a conflict in the file view.
    */
    static
    TQColor conflictColor()
    {
      return self()->mConflictColor;
    }

    /**
      Set NotInCvsColor
    */
    static
    void setNotInCvsColor( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "NotInCvsColor" ) ))
        self()->mNotInCvsColor = v;
    }

    /**
      Get NotInCvsColor
    */
    static
    TQColor notInCvsColor()
    {
      return self()->mNotInCvsColor;
    }

    /**
      Set Delay (ms) until the progress dialog appears.
    */
    static
    void setTimeout( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Timeout" ) ))
        self()->mTimeout = v;
    }

    /**
      Get Delay (ms) until the progress dialog appears.
    */
    static
    uint timeout()
    {
      return self()->mTimeout;
    }

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


    // Colors
    TQColor mDiffChangeColor;
    TQColor mDiffDeleteColor;
    TQColor mDiffInsertColor;
    TQColor mLocalChangeColor;
    TQColor mRemoteChangeColor;
    TQColor mConflictColor;
    TQColor mNotInCvsColor;

    // General
    uint mTimeout;

  private:
};

#endif

