• 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::SettingsBase
 SettingsBase ()
 
 ~SettingsBase ()
 
bool allow8BitBody () const
 
ItemBool * allow8BitBodyItem ()
 
bool allowExternalReferences () const
 
ItemBool * allowExternalReferencesItem ()
 
QColor alternateBackgroundColor () const
 
ItemColor * alternateBackgroundColorItem ()
 
bool alwaysShowHTML () const
 
ItemBool * alwaysShowHTMLItem ()
 
bool appendOwnSignature () const
 
ItemBool * appendOwnSignatureItem ()
 
int artCacheSize () const
 
ItemInt * artCacheSizeItem ()
 
QFont articleFixedFont () const
 
ItemFont * articleFixedFontItem ()
 
QFont articleFont () const
 
ItemFont * articleFontItem ()
 
QFont articleListFont () const
 
ItemFont * articleListFontItem ()
 
bool autoCheckGroups () const
 
ItemBool * autoCheckGroupsItem ()
 
bool autoMark () const
 
ItemBool * autoMarkItem ()
 
int autoMarkSeconds () const
 
ItemInt * autoMarkSecondsItem ()
 
bool autoSpellChecking () const
 
ItemBool * autoSpellCheckingItem ()
 
QColor backgroundColor () const
 
ItemColor * backgroundColorItem ()
 
QString charset () const
 
ItemString * charsetItem ()
 
int collCacheSize () const
 
ItemInt * collCacheSizeItem ()
 
QFont composerFont () const
 
ItemFont * composerFontItem ()
 
bool cursorOnTop () const
 
ItemBool * cursorOnTopItem ()
 
QString customDateFormat () const
 
ItemString * customDateFormatItem ()
 
KMime::DateFormatter::FormatType dateFormat () const
 
ItemEnum * dateFormatItem ()
 
bool defaultToExpandedThreads () const
 
ItemBool * defaultToExpandedThreadsItem ()
 
QString externalEditor () const
 
ItemString * externalEditorItem ()
 
bool generateMessageID () const
 
ItemBool * generateMessageIDItem ()
 
QFont groupListFont () const
 
ItemFont * groupListFontItem ()
 
QString hostname () const
 
ItemString * hostnameItem ()
 
QColor htmlWarningColor () const
 
ItemColor * htmlWarningColorItem ()
 
int identity () const
 
ItemInt * identityItem ()
 
int ignoredThreshold () const
 
ItemInt * ignoredThresholdItem ()
 
bool ignoreThreadCloseThread () const
 
ItemBool * ignoreThreadCloseThreadItem ()
 
bool ignoreThreadGoNext () const
 
ItemBool * ignoreThreadGoNextItem ()
 
bool includeSignature () const
 
ItemBool * includeSignatureItem ()
 
bool interpretFormatTags () const
 
ItemBool * interpretFormatTagsItem ()
 
QString intro () const
 
ItemString * introItem ()
 
bool leaveGroupMarkAsRead () const
 
ItemBool * leaveGroupMarkAsReadItem ()
 
QColor linkColor () const
 
ItemColor * linkColorItem ()
 
bool markAllReadGoNext () const
 
ItemBool * markAllReadGoNextItem ()
 
bool markCrossposts () const
 
ItemBool * markCrosspostsItem ()
 
bool markThreadReadCloseThread () const
 
ItemBool * markThreadReadCloseThreadItem ()
 
bool markThreadReadGoNext () const
 
ItemBool * markThreadReadGoNextItem ()
 
int maxLineLength () const
 
ItemInt * maxLineLengthItem ()
 
int maxToFetch () const
 
ItemInt * maxToFetchItem ()
 
bool noUserAgent () const
 
ItemBool * noUserAgentItem ()
 
bool openAttachmentsOnClick () const
 
ItemBool * openAttachmentsOnClickItem ()
 
QString quoteCharacters () const
 
ItemString * quoteCharactersItem ()
 
QColor quoteColor (int i) const
 
ItemColor * quoteColorItem (int i)
 
QColor readArticleColor () const
 
ItemColor * readArticleColorItem ()
 
QColor readThreadColor () const
 
ItemColor * readThreadColorItem ()
 
bool removeTrailingNewlines () const
 
ItemBool * removeTrailingNewlinesItem ()
 
bool rewrap () const
 
bool rewrapBody () const
 
ItemBool * rewrapBodyItem ()
 
ItemBool * rewrapItem ()
 
void setAllow8BitBody (bool v)
 
void setAllowExternalReferences (bool v)
 
void setAlternateBackgroundColor (const QColor &v)
 
void setAlwaysShowHTML (bool v)
 
void setAppendOwnSignature (bool v)
 
void setArtCacheSize (int v)
 
void setArticleFixedFont (const QFont &v)
 
void setArticleFont (const QFont &v)
 
void setArticleListFont (const QFont &v)
 
void setAutoCheckGroups (bool v)
 
void setAutoMark (bool v)
 
void setAutoMarkSeconds (int v)
 
void setAutoSpellChecking (bool v)
 
void setBackgroundColor (const QColor &v)
 
void setCharset (const QString &v)
 
void setCollCacheSize (int v)
 
void setComposerFont (const QFont &v)
 
void setCursorOnTop (bool v)
 
void setCustomDateFormat (const QString &v)
 
void setDateFormat (KMime::DateFormatter::FormatType v)
 
void setDefaultToExpandedThreads (bool v)
 
void setExternalEditor (const QString &v)
 
void setGenerateMessageID (bool v)
 
void setGroupListFont (const QFont &v)
 
void setHostname (const QString &v)
 
void setHtmlWarningColor (const QColor &v)
 
void setIdentity (int v)
 
void setIgnoredThreshold (int v)
 
void setIgnoreThreadCloseThread (bool v)
 
void setIgnoreThreadGoNext (bool v)
 
void setIncludeSignature (bool v)
 
void setInterpretFormatTags (bool v)
 
void setIntro (const QString &v)
 
void setLeaveGroupMarkAsRead (bool v)
 
void setLinkColor (const QColor &v)
 
void setMarkAllReadGoNext (bool v)
 
void setMarkCrossposts (bool v)
 
void setMarkThreadReadCloseThread (bool v)
 
void setMarkThreadReadGoNext (bool v)
 
void setMaxLineLength (int v)
 
void setMaxToFetch (int v)
 
void setNoUserAgent (bool v)
 
void setOpenAttachmentsOnClick (bool v)
 
void setQuoteCharacters (const QString &v)
 
void setQuoteColor (int i, const QColor &v)
 
void setReadArticleColor (const QColor &v)
 
void setReadThreadColor (const QColor &v)
 
void setRemoveTrailingNewlines (bool v)
 
void setRewrap (bool v)
 
void setRewrapBody (bool v)
 
void setShowAlternativeContents (bool v)
 
void setShowLines (bool v)
 
void setShowRefBar (bool v)
 
void setShowScore (bool v)
 
void setShowSignature (bool v)
 
void setShowThreads (bool v)
 
void setShowUnread (bool v)
 
void setSignErrColor (const QColor &v)
 
void setSignOkKeyBadColor (const QColor &v)
 
void setSignOkKeyOkColor (const QColor &v)
 
void setSignWarnColor (const QColor &v)
 
void setSmartScrolling (bool v)
 
void setTextColor (const QColor &v)
 
void setTotalExpandThreads (bool v)
 
void setUnreadArticleColor (const QColor &v)
 
void setUnreadThreadColor (const QColor &v)
 
void setUseCustomColors (bool v)
 
void setUseCustomFonts (bool v)
 
void setUseExternalEditor (bool v)
 
void setUseExternalMailer (bool v)
 
void setUseFixedFont (bool v)
 
void setUseOwnCharset (bool v)
 
void setWatchedThreshold (int v)
 
void setWordWrap (bool v)
 
bool showAlternativeContents () const
 
ItemBool * showAlternativeContentsItem ()
 
bool showLines () const
 
ItemBool * showLinesItem ()
 
bool showRefBar () const
 
ItemBool * showRefBarItem ()
 
bool showScore () const
 
ItemBool * showScoreItem ()
 
bool showSignature () const
 
ItemBool * showSignatureItem ()
 
bool showThreads () const
 
ItemBool * showThreadsItem ()
 
bool showUnread () const
 
ItemBool * showUnreadItem ()
 
QColor signErrColor () const
 
ItemColor * signErrColorItem ()
 
QColor signOkKeyBadColor () const
 
ItemColor * signOkKeyBadColorItem ()
 
QColor signOkKeyOkColor () const
 
ItemColor * signOkKeyOkColorItem ()
 
QColor signWarnColor () const
 
ItemColor * signWarnColorItem ()
 
bool smartScrolling () const
 
ItemBool * smartScrollingItem ()
 
QColor textColor () const
 
ItemColor * textColorItem ()
 
bool totalExpandThreads () const
 
ItemBool * totalExpandThreadsItem ()
 
QColor unreadArticleColor () const
 
ItemColor * unreadArticleColorItem ()
 
QColor unreadThreadColor () const
 
ItemColor * unreadThreadColorItem ()
 
bool useCustomColors () const
 
ItemBool * useCustomColorsItem ()
 
bool useCustomFonts () const
 
ItemBool * useCustomFontsItem ()
 
bool useExternalEditor () const
 
ItemBool * useExternalEditorItem ()
 
bool useExternalMailer () const
 
ItemBool * useExternalMailerItem ()
 
bool useFixedFont () const
 
ItemBool * useFixedFontItem ()
 
bool useOwnCharset () const
 
ItemBool * useOwnCharsetItem ()
 
int watchedThreshold () const
 
ItemInt * watchedThresholdItem ()
 
bool wordWrap () const
 
ItemBool * wordWrapItem ()
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from KNode::SettingsBase
bool mAllow8BitBody
 
bool mAllowExternalReferences
 
QColor mAlternateBackgroundColor
 
bool mAlwaysShowHTML
 
bool mAppendOwnSignature
 
int mArtCacheSize
 
QFont mArticleFixedFont
 
QFont mArticleFont
 
QFont mArticleListFont
 
bool mAutoCheckGroups
 
bool mAutoMark
 
int mAutoMarkSeconds
 
bool mAutoSpellChecking
 
QColor mBackgroundColor
 
QString mCharset
 
int mCollCacheSize
 
QFont mComposerFont
 
bool mCursorOnTop
 
QString mCustomDateFormat
 
int mDateFormat
 
bool mDefaultToExpandedThreads
 
QString mExternalEditor
 
bool mGenerateMessageID
 
QFont mGroupListFont
 
QString mHostname
 
QColor mHtmlWarningColor
 
int mIdentity
 
int mIgnoredThreshold
 
bool mIgnoreThreadCloseThread
 
bool mIgnoreThreadGoNext
 
bool mIncludeSignature
 
bool mInterpretFormatTags
 
QString mIntro
 
bool mLeaveGroupMarkAsRead
 
QColor mLinkColor
 
bool mMarkAllReadGoNext
 
bool mMarkCrossposts
 
bool mMarkThreadReadCloseThread
 
bool mMarkThreadReadGoNext
 
int mMaxLineLength
 
int mMaxToFetch
 
bool mNoUserAgent
 
bool mOpenAttachmentsOnClick
 
QString mQuoteCharacters
 
QColor mQuoteColor [3]
 
QColor mReadArticleColor
 
QColor mReadThreadColor
 
bool mRemoveTrailingNewlines
 
bool mRewrap
 
bool mRewrapBody
 
bool mShowAlternativeContents
 
bool mShowLines
 
bool mShowRefBar
 
bool mShowScore
 
bool mShowSignature
 
bool mShowThreads
 
bool mShowUnread
 
QColor mSignErrColor
 
QColor mSignOkKeyBadColor
 
QColor mSignOkKeyOkColor
 
QColor mSignWarnColor
 
bool mSmartScrolling
 
QColor mTextColor
 
bool mTotalExpandThreads
 
QColor mUnreadArticleColor
 
QColor mUnreadThreadColor
 
bool mUseCustomColors
 
bool mUseCustomFonts
 
bool mUseExternalEditor
 
bool mUseExternalMailer
 
bool mUseFixedFont
 
bool mUseOwnCharset
 
int mWatchedThreshold
 
bool mWordWrap
 

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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 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

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