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

knode

  • KNode
  • Settings
Public Member Functions | Protected Member Functions | List of all members
KNode::Settings Class Reference

#include <settings.h>

Inheritance diagram for KNode::Settings:
Inheritance graph
[legend]

Public Member Functions

 Settings ()
 
QColor alternateBackgroundColor ()
 
QFont articleFixedFont ()
 
QFont articleFont ()
 
QFont articleListFont ()
 
QColor backgroundColor ()
 
QFont composerFont ()
 
QFont groupListFont ()
 
QColor htmlWarningColor ()
 
virtual const
KPIMIdentities::Identity & 
identity () const
 
QColor linkColor ()
 
QColor quoteColor (int depth)
 
QColor readArticleColor ()
 
QColor readThreadColor ()
 
virtual void setIdentity (const KPIMIdentities::Identity &identity)
 
void setXHeaders (const QList< XHeader > &list)
 
QColor signErrColor ()
 
QColor signOkKeyBadColor ()
 
QColor signOkKeyOkColor ()
 
QColor signWarnColor ()
 
QColor textColor ()
 
QColor unreadArticleColor ()
 
QColor unreadThreadColor ()
 
virtual void writeConfig ()
 
QList< XHeader > xHeaders () const
 
- Public Member Functions inherited from KNode::SettingsContainerInterface
virtual ~SettingsContainerInterface ()
 

Protected Member Functions

QColor effectiveColor (KConfigSkeleton::ItemColor *item) const
 
QFont effectiveFont (KConfigSkeleton::ItemFont *item) const
 
virtual void usrReadConfig ()
 
virtual void usrWriteConfig ()
 
- Protected Member Functions inherited from KNode::SettingsContainerInterface
 SettingsContainerInterface ()
 

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 34 of file settings.h.

Constructor & Destructor Documentation

KNode::Settings::Settings ( )

Create a new Settings object.

Definition at line 28 of file settings.cpp.

Member Function Documentation

QColor KNode::Settings::alternateBackgroundColor ( )
inline

Returns the effective alternate background color.

Definition at line 43 of file settings.h.

QFont KNode::Settings::articleFixedFont ( )
inline

Returns the effective article fixed font.

Definition at line 74 of file settings.h.

QFont KNode::Settings::articleFont ( )
inline

Returns the effective article font.

Definition at line 72 of file settings.h.

QFont KNode::Settings::articleListFont ( )
inline

Returns the effective article list font.

Definition at line 80 of file settings.h.

QColor KNode::Settings::backgroundColor ( )
inline

Returns the effective background color.

Definition at line 41 of file settings.h.

QFont KNode::Settings::composerFont ( )
inline

Returns the effective composer font.

Definition at line 76 of file settings.h.

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

Returns the effective color value of the given config item.

Parameters
itemThe KConfigSkeletonItem.

Definition at line 71 of file settings.cpp.

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

Returns the effective font value of the given config item.

Parameters
itemThe KConfigSkeletonItem.

Definition at line 81 of file settings.cpp.

QFont KNode::Settings::groupListFont ( )
inline

Returns the effective folder tree font.

Definition at line 78 of file settings.h.

QColor KNode::Settings::htmlWarningColor ( )
inline

Returns the effective color for HTML warnings.

Definition at line 69 of file settings.h.

const KPIMIdentities::Identity & KNode::Settings::identity ( ) const
virtual

Returns the global identity (or the default one when none is set yet).

Implements KNode::SettingsContainerInterface.

Definition at line 91 of file settings.cpp.

QColor KNode::Settings::linkColor ( )
inline

Returns the effective link color.

Definition at line 51 of file settings.h.

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

Returns the effective quoting color.

Parameters
depthThe quoting depth (0-2).

Definition at line 49 of file settings.h.

QColor KNode::Settings::readArticleColor ( )
inline

Returns the effective color for read articles.

Definition at line 59 of file settings.h.

QColor KNode::Settings::readThreadColor ( )
inline

Returns the effective color for read threads.

Definition at line 55 of file settings.h.

void KNode::Settings::setIdentity ( const KPIMIdentities::Identity &  identity)
virtual

Sets the global identity.

Implements KNode::SettingsContainerInterface.

Definition at line 96 of file settings.cpp.

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

Sets the list of additional headers added to created articles.

Parameters
listThe new list.

Definition at line 87 of file settings.h.

QColor KNode::Settings::signErrColor ( )
inline

Returns the effective color for bad signatures.

Definition at line 67 of file settings.h.

QColor KNode::Settings::signOkKeyBadColor ( )
inline

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

Definition at line 63 of file settings.h.

QColor KNode::Settings::signOkKeyOkColor ( )
inline

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

Definition at line 61 of file settings.h.

QColor KNode::Settings::signWarnColor ( )
inline

Returns the effective color for unchecked signatures.

Definition at line 65 of file settings.h.

QColor KNode::Settings::textColor ( )
inline

Returns the effective text color.

Definition at line 45 of file settings.h.

QColor KNode::Settings::unreadArticleColor ( )
inline

Returns the effective color for unread articles.

Definition at line 57 of file settings.h.

QColor KNode::Settings::unreadThreadColor ( )
inline

Returns the effective color for unread threads.

Definition at line 53 of file settings.h.

void KNode::Settings::usrReadConfig ( )
protectedvirtual

Reimplemented from KConfigSkeleton.

Definition at line 36 of file settings.cpp.

void KNode::Settings::usrWriteConfig ( )
protectedvirtual

Reimplemented from KConfigSkeleton.

Definition at line 52 of file settings.cpp.

virtual void KNode::Settings::writeConfig ( )
inlinevirtual

Reimplemented to hide writeConfig() from SettingsContainerInterface and delegate call to SettingsBase::writeConfig().

Implements KNode::SettingsContainerInterface.

Definition at line 102 of file settings.h.

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

Returns a list of additional headers added to created articles.

Definition at line 83 of file settings.h.


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

KDE's Doxygen guidelines are available online.

knode

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

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