knode
#include <knglobals.h>
Public Member Functions | |
KNAccountManager * | accountManager () |
KNArticleFactory * | articleFactory () |
KNArticleManager * | articleManager () |
const KComponentData & | componentData () const |
KConfig * | config () |
KNConfigManager * | configManager () |
KNFilterManager * | filterManager () |
KNFolderManager * | folderManager () |
KNGroupManager * | groupManager () |
KPIMIdentities::IdentityManager * | identityManager () |
KNMemoryManager * | memoryManager () |
void | reset () |
KNode::Scheduler * | scheduler () |
KNScoringManager * | scoringManager () |
void | setComponentData (const KComponentData &inst) |
void | setStatusMsg (const QString &text=QString(), int id=SB_MAIN) |
KNode::Settings * | settings () |
Static Public Member Functions | |
static KNGlobals * | self () |
Public Attributes | |
KNMainWidget * | top |
QWidget * | topWidget |
Detailed Description
idea: Previously the manager classes were available via KNodeApp.
Now they can be accessed directly, this removes many header dependencies. (knode.h isn't include everywhere)
Definition at line 55 of file knglobals.h.
Member Function Documentation
KNAccountManager * KNGlobals::accountManager | ( | ) |
Returns the account manager.
Definition at line 110 of file knglobals.cpp.
KNArticleFactory * KNGlobals::articleFactory | ( | ) |
Returns the article factory.
Definition at line 131 of file knglobals.cpp.
KNArticleManager * KNGlobals::articleManager | ( | ) |
Returns the article manager.
Definition at line 124 of file knglobals.cpp.
const KComponentData & KNGlobals::componentData | ( | ) | const |
Returns the current instance.
Definition at line 80 of file knglobals.cpp.
KConfig * KNGlobals::config | ( | ) |
Returns KNode's main configuration.
Definition at line 88 of file knglobals.cpp.
KNConfigManager * KNGlobals::configManager | ( | ) |
Definition at line 96 of file knglobals.cpp.
KNFilterManager * KNGlobals::filterManager | ( | ) |
Returns the filter manager.
Definition at line 139 of file knglobals.cpp.
KNFolderManager * KNGlobals::folderManager | ( | ) |
Returns the folder manager.
Definition at line 146 of file knglobals.cpp.
KNGroupManager * KNGlobals::groupManager | ( | ) |
Returns the group manager.
Definition at line 117 of file knglobals.cpp.
KPIMIdentities::IdentityManager * KNGlobals::identityManager | ( | ) |
Returns the identity manager.
Definition at line 167 of file knglobals.cpp.
KNMemoryManager * KNGlobals::memoryManager | ( | ) |
Returns the memory manager.
Definition at line 160 of file knglobals.cpp.
void KNGlobals::reset | ( | ) |
Definition at line 191 of file knglobals.cpp.
KNode::Scheduler * KNGlobals::scheduler | ( | ) |
Returns the scheduler.
Definition at line 103 of file knglobals.cpp.
KNScoringManager * KNGlobals::scoringManager | ( | ) |
Returns the scoring manager.
Definition at line 153 of file knglobals.cpp.
|
static |
Return the KNGlobals instance.
Definition at line 72 of file knglobals.cpp.
|
inline |
Sets the current instance.
Definition at line 75 of file knglobals.h.
forwarded to top->setStatusMsg() if available
Definition at line 176 of file knglobals.cpp.
KNode::Settings * KNGlobals::settings | ( | ) |
Returns the KConfigXT generated settings object.
Definition at line 182 of file knglobals.cpp.
Member Data Documentation
KNMainWidget* KNGlobals::top |
no need to include knode.h everywhere
Definition at line 66 of file knglobals.h.
QWidget* KNGlobals::topWidget |
topWidget == top, used for message boxes,
Definition at line 64 of file knglobals.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:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.