3 #ifndef KONTACT_PREFS_H
4 #define KONTACT_PREFS_H
8 #include <kconfigskeleton.h>
26 if (!
self()->isImmutable( QString::fromLatin1(
"ActivePlugin" ) ))
27 self()->mActivePlugin = v;
36 return self()->mActivePlugin;
44 return mActivePluginItem;
53 if (!
self()->isImmutable( QString::fromLatin1(
"ForceStartupPlugin" ) ))
54 self()->mForceStartupPlugin = v;
63 return self()->mForceStartupPlugin;
71 return mForceStartupPluginItem;
80 if (!
self()->isImmutable( QString::fromLatin1(
"ForcedStartupPlugin" ) ))
81 self()->mForcedStartupPlugin = v;
90 return self()->mForcedStartupPlugin;
98 return mForcedStartupPluginItem;
107 if (!
self()->isImmutable( QString::fromLatin1(
"SidePaneSplitter" ) ))
108 self()->mSidePaneSplitter = v;
117 return self()->mSidePaneSplitter;
125 return mSidePaneSplitterItem;
134 if (!
self()->isImmutable( QString::fromLatin1(
"SidePaneIconSize" ) ))
135 self()->mSidePaneIconSize = v;
144 return self()->mSidePaneIconSize;
152 return mSidePaneIconSizeItem;
161 if (!
self()->isImmutable( QString::fromLatin1(
"SidePaneShowIcons" ) ))
162 self()->mSidePaneShowIcons = v;
171 return self()->mSidePaneShowIcons;
179 return mSidePaneShowIconsItem;
188 if (!
self()->isImmutable( QString::fromLatin1(
"SidePaneShowText" ) ))
189 self()->mSidePaneShowText = v;
198 return self()->mSidePaneShowText;
206 return mSidePaneShowTextItem;
215 if (!
self()->isImmutable( QString::fromLatin1(
"LastVersionSeen" ) ))
216 self()->mLastVersionSeen = v;
225 return self()->mLastVersionSeen;
233 return mLastVersionSeenItem;
238 friend class PrefsHelper;
253 ItemString *mActivePluginItem;
254 ItemBool *mForceStartupPluginItem;
255 ItemString *mForcedStartupPluginItem;
256 ItemIntList *mSidePaneSplitterItem;
257 ItemInt *mSidePaneIconSizeItem;
258 ItemBool *mSidePaneShowIconsItem;
259 ItemBool *mSidePaneShowTextItem;
260 ItemString *mLastVersionSeenItem;
static QString activePlugin()
Get ActivePlugin.
static void setSidePaneIconSize(int v)
Set SidePaneIconSize.
ItemString * forcedStartupPluginItem()
Get Item object corresponding to ForcedStartupPlugin()
ItemBool * sidePaneShowTextItem()
Get Item object corresponding to SidePaneShowText()
static void setSidePaneShowText(bool v)
Set SidePaneShowText.
QList< int > mSidePaneSplitter
ItemString * activePluginItem()
Get Item object corresponding to ActivePlugin()
ItemIntList * sidePaneSplitterItem()
Get Item object corresponding to SidePaneSplitter()
static void setLastVersionSeen(const QString &v)
Set LastVersionSeen.
static bool sidePaneShowText()
Get SidePaneShowText.
ItemInt * sidePaneIconSizeItem()
Get Item object corresponding to SidePaneIconSize()
static bool forceStartupPlugin()
Get Always start with plugin:
static void setForcedStartupPlugin(const QString &v)
Set ForcedStartupPlugin.
static int sidePaneIconSize()
Get SidePaneIconSize.
static void setActivePlugin(const QString &v)
Set ActivePlugin.
ItemString * lastVersionSeenItem()
Get Item object corresponding to LastVersionSeen()
static QString lastVersionSeen()
Get LastVersionSeen.
static QString forcedStartupPlugin()
Get ForcedStartupPlugin.
static void setSidePaneShowIcons(bool v)
Set SidePaneShowIcons.
ItemBool * forceStartupPluginItem()
Get Item object corresponding to ForceStartupPlugin()
static void setSidePaneSplitter(const QList< int > &v)
Set SidePaneSplitter.
QString mForcedStartupPlugin
ItemBool * sidePaneShowIconsItem()
Get Item object corresponding to SidePaneShowIcons()
static bool sidePaneShowIcons()
Get SidePaneShowIcons.
static void setForceStartupPlugin(bool v)
Set Always start with plugin:
static QList< int > sidePaneSplitter()
Get SidePaneSplitter.