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

kopete/kopete

Public Types | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KopeteChatWindowSettings Class Reference

#include <kopetechatwindowsettings.h>

Inheritance diagram for KopeteChatWindowSettings:
Inheritance graph
[legend]

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 ()
 
ItemColor * chatBackgroundColorItem ()
 
ItemBool * chatFmtOverrideItem ()
 
ItemFont * chatFontItem ()
 
ItemColor * chatLinkColorItem ()
 
ItemColor * chatTextColorItem ()
 
ItemBool * groupConsecutiveMessagesItem ()
 
ItemColor * highlightBackgroundColorItem ()
 
ItemColor * highlightForegroundColorItem ()
 
ItemString * styleNameItem ()
 
ItemString * styleVariantItem ()
 
ItemBool * useCompactItem ()
 

Static Public Member Functions

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

Protected Member Functions

 KopeteChatWindowSettings ()
 
virtual void usrWriteConfig ()
 

Protected Attributes

QColor mChatBackgroundColor
 
bool mChatFmtOverride
 
QFont mChatFont
 
QColor mChatLinkColor
 
QColor mChatTextColor
 
bool mGroupConsecutiveMessages
 
QColor mHighlightBackgroundColor
 
QColor mHighlightForegroundColor
 
QString mStyleName
 
QString mStyleVariant
 
bool mUseCompact
 

Detailed Description

Definition at line 13 of file kopetechatwindowsettings.h.

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 59 of file kopetechatwindowsettings.cpp.

KopeteChatWindowSettings::KopeteChatWindowSettings ( )
protected

Definition at line 27 of file kopetechatwindowsettings.cpp.

Member Function Documentation

static QColor KopeteChatWindowSettings::chatBackgroundColor ( )
inlinestatic

Get Chat background color.

Definition at line 270 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::chatBackgroundColorItem ( )
inline

Get Item object corresponding to chatBackgroundColor()

Definition at line 278 of file kopetechatwindowsettings.h.

static bool KopeteChatWindowSettings::chatFmtOverride ( )
inlinestatic

Get Disable custom formatting set by users.

Definition at line 212 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::chatFmtOverrideItem ( )
inline

Get Item object corresponding to chatFmtOverride()

Definition at line 220 of file kopetechatwindowsettings.h.

static QFont KopeteChatWindowSettings::chatFont ( )
inlinestatic

Get Chat font.

Definition at line 328 of file kopetechatwindowsettings.h.

ItemFont* KopeteChatWindowSettings::chatFontItem ( )
inline

Get Item object corresponding to chatFont()

Definition at line 336 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::chatLinkColor ( )
inlinestatic

Get Chat link color.

Definition at line 299 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::chatLinkColorItem ( )
inline

Get Item object corresponding to chatLinkColor()

Definition at line 307 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::chatTextColor ( )
inlinestatic

Get Chat text color.

Definition at line 241 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::chatTextColorItem ( )
inline

Get Item object corresponding to chatTextColor()

Definition at line 249 of file kopetechatwindowsettings.h.

void KopeteChatWindowSettings::chatwindowAppearanceChanged ( )
signal

Emitted when the font and colors settings have changed.

static bool KopeteChatWindowSettings::groupConsecutiveMessages ( )
inlinestatic

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

Definition at line 98 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::groupConsecutiveMessagesItem ( )
inline

Get Item object corresponding to groupConsecutiveMessages()

Definition at line 106 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::highlightBackgroundColor ( )
inlinestatic

Get Background color used when highlighting.

Definition at line 183 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::highlightBackgroundColorItem ( )
inline

Get Item object corresponding to highlightBackgroundColor()

Definition at line 191 of file kopetechatwindowsettings.h.

static QColor KopeteChatWindowSettings::highlightForegroundColor ( )
inlinestatic

Get Text color used when highlighting.

Definition at line 154 of file kopetechatwindowsettings.h.

ItemColor* KopeteChatWindowSettings::highlightForegroundColorItem ( )
inline

Get Item object corresponding to highlightForegroundColor()

Definition at line 162 of file kopetechatwindowsettings.h.

void KopeteChatWindowSettings::messageOverridesChanged ( )
signal

Emitted when the message overrides settings have changed.

KopeteChatWindowSettings * KopeteChatWindowSettings::self ( )
static

Definition at line 17 of file kopetechatwindowsettings.cpp.

static void KopeteChatWindowSettings::setChatBackgroundColor ( const QColor &  v)
inlinestatic

Set Chat background color.

Definition at line 258 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatFmtOverride ( bool  v)
inlinestatic

Set Disable custom formatting set by users.

Definition at line 200 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatFont ( const QFont &  v)
inlinestatic

Set Chat font.

Definition at line 316 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatLinkColor ( const QColor &  v)
inlinestatic

Set Chat link color.

Definition at line 287 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setChatTextColor ( const QColor &  v)
inlinestatic

Set Chat text color.

Definition at line 229 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setGroupConsecutiveMessages ( bool  v)
inlinestatic

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

Definition at line 88 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setHighlightBackgroundColor ( const QColor &  v)
inlinestatic

Set Background color used when highlighting.

Definition at line 171 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setHighlightForegroundColor ( const QColor &  v)
inlinestatic

Set Text color used when highlighting.

Definition at line 142 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setStyleName ( const QString &  v)
inlinestatic

Set Name of a Adium/Kopete chat window style.

Definition at line 32 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setStyleVariant ( const QString &  v)
inlinestatic

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

Definition at line 61 of file kopetechatwindowsettings.h.

static void KopeteChatWindowSettings::setUseCompact ( bool  v)
inlinestatic

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

Definition at line 115 of file kopetechatwindowsettings.h.

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

Emitted when the chat window style has changed.

static QString KopeteChatWindowSettings::styleName ( )
inlinestatic

Get Name of a Adium/Kopete chat window style.

Definition at line 44 of file kopetechatwindowsettings.h.

ItemString* KopeteChatWindowSettings::styleNameItem ( )
inline

Get Item object corresponding to styleName()

Definition at line 52 of file kopetechatwindowsettings.h.

static QString KopeteChatWindowSettings::styleVariant ( )
inlinestatic

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

Definition at line 71 of file kopetechatwindowsettings.h.

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

Emitted when ChatWindowStyle variant has changed.

ItemString* KopeteChatWindowSettings::styleVariantItem ( )
inline

Get Item object corresponding to styleVariant()

Definition at line 79 of file kopetechatwindowsettings.h.

static bool KopeteChatWindowSettings::useCompact ( )
inlinestatic

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

Definition at line 125 of file kopetechatwindowsettings.h.

ItemBool* KopeteChatWindowSettings::useCompactItem ( )
inline

Get Item object corresponding to useCompact()

Definition at line 133 of file kopetechatwindowsettings.h.

void KopeteChatWindowSettings::usrWriteConfig ( )
protectedvirtual

Definition at line 66 of file kopetechatwindowsettings.cpp.

Member Data Documentation

QColor KopeteChatWindowSettings::mChatBackgroundColor
protected

Definition at line 378 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mChatFmtOverride
protected

Definition at line 376 of file kopetechatwindowsettings.h.

QFont KopeteChatWindowSettings::mChatFont
protected

Definition at line 380 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mChatLinkColor
protected

Definition at line 379 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mChatTextColor
protected

Definition at line 377 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mGroupConsecutiveMessages
protected

Definition at line 372 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mHighlightBackgroundColor
protected

Definition at line 375 of file kopetechatwindowsettings.h.

QColor KopeteChatWindowSettings::mHighlightForegroundColor
protected

Definition at line 374 of file kopetechatwindowsettings.h.

QString KopeteChatWindowSettings::mStyleName
protected

Definition at line 370 of file kopetechatwindowsettings.h.

QString KopeteChatWindowSettings::mStyleVariant
protected

Definition at line 371 of file kopetechatwindowsettings.h.

bool KopeteChatWindowSettings::mUseCompact
protected

Definition at line 373 of file kopetechatwindowsettings.h.


The documentation for this class was generated from the following files:
  • kopetechatwindowsettings.h
  • kopetechatwindowsettings.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/kopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal