• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

knode

KNode::Settings

KNode::Settings Class Reference

#include <settings.h>

Inheritance diagram for KNode::Settings:

Inheritance graph
[legend]

List of all members.


Detailed Description

Application settings.

SettingsBase (the base class) is generated by KConfigXT.

Todo:
Make the color and font accessors const (requires the KConfigXT generated item accessors to be const too).

Definition at line 29 of file settings.h.


Public Member Functions

QColor alternateBackgroundColor ()
QFont articleFixedFont ()
QFont articleFont ()
QFont articleListFont ()
QColor backgroundColor ()
QFont composerFont ()
QFont groupListFont ()
QColor htmlWarningColor ()
QColor linkColor ()
QColor quoteColor (int depth)
QColor readArticleColor ()
QColor readThreadColor ()
 Settings ()
void setXHeaders (const QList< XHeader > &list)
QColor signErrColor ()
QColor signOkKeyBadColor ()
QColor signOkKeyOkColor ()
QColor signWarnColor ()
QColor textColor ()
QColor unreadArticleColor ()
QColor unreadThreadColor ()
QList< XHeader > xHeaders () const

Protected Member Functions

QColor effectiveColor (KConfigSkeleton::ItemColor *item) const
QFont effectiveFont (KConfigSkeleton::ItemFont *item) const
virtual void usrReadConfig ()
virtual void usrWriteConfig ()

Constructor & Destructor Documentation

KNode::Settings::Settings (  ) 

Create a new Settings object.

Definition at line 24 of file settings.cpp.


Member Function Documentation

QColor KNode::Settings::alternateBackgroundColor (  )  [inline]

Returns the effective alternate background color.

Definition at line 38 of file settings.h.

QFont KNode::Settings::articleFixedFont (  )  [inline]

Returns the effective article fixed font.

Definition at line 69 of file settings.h.

QFont KNode::Settings::articleFont (  )  [inline]

Returns the effective article font.

Definition at line 67 of file settings.h.

QFont KNode::Settings::articleListFont (  )  [inline]

Returns the effective article list font.

Definition at line 75 of file settings.h.

QColor KNode::Settings::backgroundColor (  )  [inline]

Returns the effective background color.

Definition at line 36 of file settings.h.

QFont KNode::Settings::composerFont (  )  [inline]

Returns the effective composer font.

Definition at line 71 of file settings.h.

QColor KNode::Settings::effectiveColor ( KConfigSkeleton::ItemColor *  item  )  const [protected]

Returns the effective color value of the given config item.

Parameters:
item The KConfigSkeletonItem.

Definition at line 78 of file settings.cpp.

QFont KNode::Settings::effectiveFont ( KConfigSkeleton::ItemFont *  item  )  const [protected]

Returns the effective font value of the given config item.

Parameters:
item The KConfigSkeletonItem.

Definition at line 88 of file settings.cpp.

QFont KNode::Settings::groupListFont (  )  [inline]

Returns the effective folder tree font.

Definition at line 73 of file settings.h.

QColor KNode::Settings::htmlWarningColor (  )  [inline]

Returns the effective color for HTML warnings.

Definition at line 64 of file settings.h.

QColor KNode::Settings::linkColor (  )  [inline]

Returns the effective link color.

Definition at line 46 of file settings.h.

QColor KNode::Settings::quoteColor ( int  depth  )  [inline]

Returns the effective quoting color.

Parameters:
depth The quoting depth (0-2).

Definition at line 44 of file settings.h.

QColor KNode::Settings::readArticleColor (  )  [inline]

Returns the effective color for read articles.

Definition at line 54 of file settings.h.

QColor KNode::Settings::readThreadColor (  )  [inline]

Returns the effective color for read threads.

Definition at line 50 of file settings.h.

void KNode::Settings::setXHeaders ( const QList< XHeader > &  list  )  [inline]

Sets the list of additional headers added to created articles.

Parameters:
list The new list.

Definition at line 82 of file settings.h.

QColor KNode::Settings::signErrColor (  )  [inline]

Returns the effective color for bad signatures.

Definition at line 62 of file settings.h.

QColor KNode::Settings::signOkKeyBadColor (  )  [inline]

Returns the effective color for valid signatures with a untrusted key.

Definition at line 58 of file settings.h.

QColor KNode::Settings::signOkKeyOkColor (  )  [inline]

Returns the effective color for valid signatures with a trusted key.

Definition at line 56 of file settings.h.

QColor KNode::Settings::signWarnColor (  )  [inline]

Returns the effective color for unchecked signatures.

Definition at line 60 of file settings.h.

QColor KNode::Settings::textColor (  )  [inline]

Returns the effective text color.

Definition at line 40 of file settings.h.

QColor KNode::Settings::unreadArticleColor (  )  [inline]

Returns the effective color for unread articles.

Definition at line 52 of file settings.h.

QColor KNode::Settings::unreadThreadColor (  )  [inline]

Returns the effective color for unread threads.

Definition at line 48 of file settings.h.

void KNode::Settings::usrReadConfig (  )  [protected, virtual]

Reimplemented from KConfigSkeleton.

Definition at line 43 of file settings.cpp.

void KNode::Settings::usrWriteConfig (  )  [protected, virtual]

Reimplemented from KConfigSkeleton.

Definition at line 59 of file settings.cpp.

QList<XHeader> KNode::Settings::xHeaders (  )  const [inline]

Returns a list of additional headers added to created articles.

Definition at line 78 of file settings.h.


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

knode

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim 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