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

#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>

class CervisiaSettings : public KConfigSkeleton
{
  public:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
      Set ProtocolFont
    */
    static
    void setProtocolFont( const QFont & v )
    {
      if (!self()->isImmutable( QStringLiteral( "ProtocolFont" ) ))
        self()->mProtocolFont = v;
    }

    /**
      Get ProtocolFont
    */
    static
    QFont protocolFont()
    {
      return self()->mProtocolFont;
    }

    /**
      Set AnnotateFont
    */
    static
    void setAnnotateFont( const QFont & v )
    {
      if (!self()->isImmutable( QStringLiteral( "AnnotateFont" ) ))
        self()->mAnnotateFont = v;
    }

    /**
      Get AnnotateFont
    */
    static
    QFont annotateFont()
    {
      return self()->mAnnotateFont;
    }

    /**
      Set DiffFont
    */
    static
    void setDiffFont( const QFont & v )
    {
      if (!self()->isImmutable( QStringLiteral( "DiffFont" ) ))
        self()->mDiffFont = v;
    }

    /**
      Get DiffFont
    */
    static
    QFont diffFont()
    {
      return self()->mDiffFont;
    }

    /**
      Set ChangeLogFont
    */
    static
    void setChangeLogFont( const QFont & v )
    {
      if (!self()->isImmutable( QStringLiteral( "ChangeLogFont" ) ))
        self()->mChangeLogFont = v;
    }

    /**
      Get ChangeLogFont
    */
    static
    QFont changeLogFont()
    {
      return self()->mChangeLogFont;
    }

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

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

    /**
      Set Repository
    */
    static
    void setRepository( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "Repository" ) ))
        self()->mRepository = v;
    }

    /**
      Get Repository
    */
    static
    QString repository()
    {
      return self()->mRepository;
    }

    /**
      Set Module
    */
    static
    void setModule( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "Module" ) ))
        self()->mModule = v;
    }

    /**
      Get Module
    */
    static
    QString module()
    {
      return self()->mModule;
    }

    /**
      Set Working directory
    */
    static
    void setWorkingFolder( const QString & v )
    {
      if (!self()->isImmutable( QStringLiteral( "WorkingFolder" ) ))
        self()->mWorkingFolder = v;
    }

    /**
      Get Working directory
    */
    static
    QString workingFolder()
    {
      return self()->mWorkingFolder;
    }

  protected:
    CervisiaSettings();
    friend class CervisiaSettingsHelper;


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

    // LookAndFeel
    QFont mProtocolFont;
    QFont mAnnotateFont;
    QFont mDiffFont;
    QFont mChangeLogFont;

    // General
    uint mTimeout;

    // CheckoutDialog
    QString mRepository;
    QString mModule;
    QString mWorkingFolder;

  private:
};

#endif

