knode
#include <settings.h>
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
|
inline |
Returns the effective alternate background color.
Definition at line 43 of file settings.h.
|
inline |
Returns the effective article fixed font.
Definition at line 74 of file settings.h.
|
inline |
Returns the effective article font.
Definition at line 72 of file settings.h.
|
inline |
Returns the effective article list font.
Definition at line 80 of file settings.h.
|
inline |
Returns the effective background color.
Definition at line 41 of file settings.h.
|
inline |
Returns the effective composer font.
Definition at line 76 of file settings.h.
|
protected |
Returns the effective color value of the given config item.
- Parameters
-
item The KConfigSkeletonItem.
Definition at line 71 of file settings.cpp.
|
protected |
Returns the effective font value of the given config item.
- Parameters
-
item The KConfigSkeletonItem.
Definition at line 81 of file settings.cpp.
|
inline |
Returns the effective folder tree font.
Definition at line 78 of file settings.h.
|
inline |
Returns the effective color for HTML warnings.
Definition at line 69 of file settings.h.
|
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.
|
inline |
Returns the effective link color.
Definition at line 51 of file settings.h.
|
inline |
Returns the effective quoting color.
- Parameters
-
depth The quoting depth (0-2).
Definition at line 49 of file settings.h.
|
inline |
Returns the effective color for read articles.
Definition at line 59 of file settings.h.
|
inline |
Returns the effective color for read threads.
Definition at line 55 of file settings.h.
|
virtual |
Sets the global identity.
Implements KNode::SettingsContainerInterface.
Definition at line 96 of file settings.cpp.
Sets the list of additional headers added to created articles.
- Parameters
-
list The new list.
Definition at line 87 of file settings.h.
|
inline |
Returns the effective color for bad signatures.
Definition at line 67 of file settings.h.
|
inline |
Returns the effective color for valid signatures with a untrusted key.
Definition at line 63 of file settings.h.
|
inline |
Returns the effective color for valid signatures with a trusted key.
Definition at line 61 of file settings.h.
|
inline |
Returns the effective color for unchecked signatures.
Definition at line 65 of file settings.h.
|
inline |
Returns the effective text color.
Definition at line 45 of file settings.h.
|
inline |
Returns the effective color for unread articles.
Definition at line 57 of file settings.h.
|
inline |
Returns the effective color for unread threads.
Definition at line 53 of file settings.h.
|
protectedvirtual |
Reimplemented from KConfigSkeleton.
Definition at line 36 of file settings.cpp.
|
protectedvirtual |
Reimplemented from KConfigSkeleton.
Definition at line 52 of file settings.cpp.
|
inlinevirtual |
Reimplemented to hide writeConfig() from SettingsContainerInterface and delegate call to SettingsBase::writeConfig().
Implements KNode::SettingsContainerInterface.
Definition at line 102 of file settings.h.
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:
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.