• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/kopete

KopeteChatWindowSettings Class Reference

#include <kopetechatwindowsettings.h>

Inheritance diagram for KopeteChatWindowSettings:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 13 of file kopetechatwindowsettings.h.


Public Types

enum  { signalChatwindowAppearanceChanged = 0x1, signalMessageOverridesChanged = 0x2, signalStyleChanged = 0x4, signalStyleVariantChanged = 0x8 }

Signals

void chatwindowAppearanceChanged ()
void messageOverridesChanged ()
void styleChanged (const QString &styleName)
void styleVariantChanged (const QString &styleVariant)

Public Member Functions

 ~KopeteChatWindowSettings ()
ItemString * styleNameItem ()
ItemString * styleVariantItem ()
ItemBool * groupConsecutiveMessagesItem ()
ItemBool * useCompactItem ()
ItemColor * highlightForegroundColorItem ()
ItemColor * highlightBackgroundColorItem ()
ItemBool * chatBgOverrideItem ()
ItemBool * chatFgOverrideItem ()
ItemBool * chatRtfOverrideItem ()
ItemColor * chatTextColorItem ()
ItemColor * chatBackgroundColorItem ()
ItemColor * chatLinkColorItem ()
ItemFont * chatFontItem ()

Static Public Member Functions

static KopeteChatWindowSettings * self ()
static void setStyleName (const QString &v)
static QString styleName ()
static void setStyleVariant (const QString &v)
static QString styleVariant ()
static void setGroupConsecutiveMessages (bool v)
static bool groupConsecutiveMessages ()
static void setUseCompact (bool v)
static bool useCompact ()
static void setHighlightForegroundColor (const QColor &v)
static QColor highlightForegroundColor ()
static void setHighlightBackgroundColor (const QColor &v)
static QColor highlightBackgroundColor ()
static void setChatBgOverride (bool v)
static bool chatBgOverride ()
static void setChatFgOverride (bool v)
static bool chatFgOverride ()
static void setChatRtfOverride (bool v)
static bool chatRtfOverride ()
static void setChatTextColor (const QColor &v)
static QColor chatTextColor ()
static void setChatBackgroundColor (const QColor &v)
static QColor chatBackgroundColor ()
static void setChatLinkColor (const QColor &v)
static QColor chatLinkColor ()
static void setChatFont (const QFont &v)
static QFont chatFont ()

Protected Member Functions

 KopeteChatWindowSettings ()
virtual void usrWriteConfig ()

Protected Attributes

QString mStyleName
QString mStyleVariant
bool mGroupConsecutiveMessages
bool mUseCompact
QColor mHighlightForegroundColor
QColor mHighlightBackgroundColor
bool mChatBgOverride
bool mChatFgOverride
bool mChatRtfOverride
QColor mChatTextColor
QColor mChatBackgroundColor
QColor mChatLinkColor
QFont mChatFont

Friends

class KopeteChatWindowSettingsHelper

Member Enumeration Documentation

anonymous enum

Enumerator:
signalChatwindowAppearanceChanged 
signalMessageOverridesChanged 
signalStyleChanged 
signalStyleVariantChanged 

Definition at line 18 of file kopetechatwindowsettings.h.


Constructor & Destructor Documentation

KopeteChatWindowSettings::~KopeteChatWindowSettings (  ) 

Definition at line 62 of file kopetechatwindowsettings.cpp.

KopeteChatWindowSettings::KopeteChatWindowSettings (  )  [protected]

Definition at line 27 of file kopetechatwindowsettings.cpp.


Member Function Documentation

KopeteChatWindowSettings * KopeteChatWindowSettings::self (  )  [static]

Definition at line 17 of file kopetechatwindowsettings.cpp.

static void KopeteChatWindowSettings::setStyleName ( const QString &  v  )  [inline, static]

Set Name of a Adium/Kopete chat window style.

Definition at line 32 of file kopetechatwindowsettings.h.

static QString KopeteChatWindowSettings::styleName (  )  [inline, static]

Get Name of a Adium/Kopete chat window style.

Definition at line 42 of file kopetechatwindowsettings.h.

ItemString* KopeteChatWindowSettings::styleNameItem (  )  [inline]

Get Item object corresponding to styleName().

Definition at line 50 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setStyleVariant ( const QString &  v  )  [inline, static]

Set Relative path to a CSS variant for the current style.

Definition at line 59 of file kopetechatwindowsettings.h.

static QString KopeteChatWindowSettings::styleVariant (  )  [inline, static]

Get Relative path to a CSS variant for the current style.

Definition at line 69 of file kopetechatwindowsettings.h.

ItemString* KopeteChatWindowSettings::styleVariantItem (  )  [inline]

Get Item object corresponding to styleVariant().

Definition at line 77 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setGroupConsecutiveMessages ( bool  v  )  [inline, static]

Set Group consecutive messages from the same user as one block.

Definition at line 86 of file kopetechatwindowsettings.h.

static bool KopeteChatWindowSettings::groupConsecutiveMessages (  )  [inline, static]

Get Group consecutive messages from the same user as one block.

Definition at line 96 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::groupConsecutiveMessagesItem (  )  [inline]

Get Item object corresponding to groupConsecutiveMessages().

Definition at line 104 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setUseCompact ( bool  v  )  [inline, static]

Set Use a compact variant of the chat style for chatrooms.

Definition at line 113 of file kopetechatwindowsettings.h.

static bool KopeteChatWindowSettings::useCompact (  )  [inline, static]

Get Use a compact variant of the chat style for chatrooms.

Definition at line 123 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::useCompactItem (  )  [inline]

Get Item object corresponding to useCompact().

Definition at line 131 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setHighlightForegroundColor ( const QColor &  v  )  [inline, static]

Set Text color used when hightlighting.

Definition at line 140 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::highlightForegroundColor (  )  [inline, static]

Get Text color used when hightlighting.

Definition at line 152 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::highlightForegroundColorItem (  )  [inline]

Get Item object corresponding to highlightForegroundColor().

Definition at line 160 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setHighlightBackgroundColor ( const QColor &  v  )  [inline, static]

Set Background color used when hightlighting.

Definition at line 169 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::highlightBackgroundColor (  )  [inline, static]

Get Background color used when hightlighting.

Definition at line 181 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::highlightBackgroundColorItem (  )  [inline]

Get Item object corresponding to highlightBackgroundColor().

Definition at line 189 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatBgOverride ( bool  v  )  [inline, static]

Set Disable custom text color set by users.

Definition at line 198 of file kopetechatwindowsettings.h.

static bool KopeteChatWindowSettings::chatBgOverride (  )  [inline, static]

Get Disable custom text color set by users.

Definition at line 210 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::chatBgOverrideItem (  )  [inline]

Get Item object corresponding to chatBgOverride().

Definition at line 218 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatFgOverride ( bool  v  )  [inline, static]

Set Disable custom background color set by users.

Definition at line 227 of file kopetechatwindowsettings.h.

static bool KopeteChatWindowSettings::chatFgOverride (  )  [inline, static]

Get Disable custom background color set by users.

Definition at line 239 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::chatFgOverrideItem (  )  [inline]

Get Item object corresponding to chatFgOverride().

Definition at line 247 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatRtfOverride ( bool  v  )  [inline, static]

Set Disable rich text set by users.

Definition at line 256 of file kopetechatwindowsettings.h.

static bool KopeteChatWindowSettings::chatRtfOverride (  )  [inline, static]

Get Disable rich text set by users.

Definition at line 268 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::chatRtfOverrideItem (  )  [inline]

Get Item object corresponding to chatRtfOverride().

Definition at line 276 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatTextColor ( const QColor &  v  )  [inline, static]

Set Chat text color.

Definition at line 285 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::chatTextColor (  )  [inline, static]

Get Chat text color.

Definition at line 297 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::chatTextColorItem (  )  [inline]

Get Item object corresponding to chatTextColor().

Definition at line 305 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatBackgroundColor ( const QColor &  v  )  [inline, static]

Set Chat background color.

Definition at line 314 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::chatBackgroundColor (  )  [inline, static]

Get Chat background color.

Definition at line 326 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::chatBackgroundColorItem (  )  [inline]

Get Item object corresponding to chatBackgroundColor().

Definition at line 334 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatLinkColor ( const QColor &  v  )  [inline, static]

Set Chat link color.

Definition at line 343 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::chatLinkColor (  )  [inline, static]

Get Chat link color.

Definition at line 355 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::chatLinkColorItem (  )  [inline]

Get Item object corresponding to chatLinkColor().

Definition at line 363 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatFont ( const QFont &  v  )  [inline, static]

Set Chat font.

Definition at line 372 of file kopetechatwindowsettings.h.

static QFont KopeteChatWindowSettings::chatFont (  )  [inline, static]

Get Chat font.

Definition at line 384 of file kopetechatwindowsettings.h.

ItemFont* KopeteChatWindowSettings::chatFontItem (  )  [inline]

Get Item object corresponding to chatFont().

Definition at line 392 of file kopetechatwindowsettings.h.

void KopeteChatWindowSettings::chatwindowAppearanceChanged (  )  [signal]

Emited when the font and colors settings has changed.

void KopeteChatWindowSettings::messageOverridesChanged (  )  [signal]

Emited when the message overrides settings has changed.

void KopeteChatWindowSettings::styleChanged ( const QString &  styleName  )  [signal]

Emited when the chat window style change.

void KopeteChatWindowSettings::styleVariantChanged ( const QString &  styleVariant  )  [signal]

Emitted when ChatWindowStyle variant has changed.

void KopeteChatWindowSettings::usrWriteConfig (  )  [protected, virtual]

Definition at line 66 of file kopetechatwindowsettings.cpp.


Friends And Related Function Documentation

friend class KopeteChatWindowSettingsHelper [friend]

Definition at line 421 of file kopetechatwindowsettings.h.


Member Data Documentation

QString KopeteChatWindowSettings::mStyleName [protected]

Definition at line 426 of file kopetechatwindowsettings.h.

QString KopeteChatWindowSettings::mStyleVariant [protected]

Definition at line 427 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mGroupConsecutiveMessages [protected]

Definition at line 428 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mUseCompact [protected]

Definition at line 429 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mHighlightForegroundColor [protected]

Definition at line 430 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mHighlightBackgroundColor [protected]

Definition at line 431 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mChatBgOverride [protected]

Definition at line 432 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mChatFgOverride [protected]

Definition at line 433 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mChatRtfOverride [protected]

Definition at line 434 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mChatTextColor [protected]

Definition at line 435 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mChatBackgroundColor [protected]

Definition at line 436 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mChatLinkColor [protected]

Definition at line 437 of file kopetechatwindowsettings.h.

QFont KopeteChatWindowSettings::mChatFont [protected]

Definition at line 438 of file kopetechatwindowsettings.h.


The documentation for this class was generated from the following files:
  • kopetechatwindowsettings.h
  • kopetechatwindowsettings.cpp

kopete/kopete

Skip menu "kopete/kopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal