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

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

class HistoryConfig : public TDEConfigSkeleton
{
  public:

    static HistoryConfig *self();
    ~HistoryConfig();

    /**
      Set Show previous messages in new chats.
    */
    static
    void setAuto_chatwindow( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Auto_chatwindow" ) ))
        self()->mAuto_chatwindow = v;
    }

    /**
      Get Show previous messages in new chats.
    */
    static
    bool auto_chatwindow()
    {
      return self()->mAuto_chatwindow;
    }

    /**
      Set Number of messages to show.
    */
    static
    void setNumber_Auto_chatwindow( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Number_Auto_chatwindow" ) ))
        self()->mNumber_Auto_chatwindow = v;
    }

    /**
      Get Number of messages to show.
    */
    static
    uint number_Auto_chatwindow()
    {
      return self()->mNumber_Auto_chatwindow;
    }

    /**
      Set Number of messages per page
    */
    static
    void setNumber_ChatWindow( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Number_ChatWindow" ) ))
        self()->mNumber_ChatWindow = v;
    }

    /**
      Get Number of messages per page
    */
    static
    uint number_ChatWindow()
    {
      return self()->mNumber_ChatWindow;
    }

    /**
      Set Color of messages
    */
    static
    void setHistory_color( const TQColor & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "History_color" ) ))
        self()->mHistory_color = v;
    }

    /**
      Get Color of messages
    */
    static
    TQColor history_color()
    {
      return self()->mHistory_color;
    }

    /**
      Set Style to use in history-browser.
    */
    static
    void setBrowserStyle( const TQString & v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "BrowserStyle" ) ))
        self()->mBrowserStyle = v;
    }

    /**
      Get Style to use in history-browser.
    */
    static
    TQString browserStyle()
    {
      return self()->mBrowserStyle;
    }

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


    // History Plugin
    bool mAuto_chatwindow;
    uint mNumber_Auto_chatwindow;
    uint mNumber_ChatWindow;
    TQColor mHistory_color;
    TQString mBrowserStyle;

  private:
};

#endif

