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

knode

KNGlobals Class Reference

#include <knglobals.h>

List of all members.


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 54 of file knglobals.h.


Public Member Functions

KNAccountManager * accountManager ()
KNArticleManager * articleManager ()
const KComponentData & componentData () const
KConfig * config ()
KNConfigManager * configManager ()
KNFilterManager * filterManager ()
KNFolderManager * folderManager ()
KNGroupManager * groupManager ()
KNMemoryManager * memoryManager ()
KNode::Scheduler * scheduler ()
KNScoringManager * scoringManager ()
void setComponentData (const KComponentData &inst)
void setStatusMsg (const QString &text=QString(), int id=SB_MAIN)
KNode::Settings * settings ()
 ~KNGlobals ()

Static Public Member Functions

static KNGlobals * self ()

Public Attributes

KNArticleFactory * artFactory
KNode::ArticleWidget * artWidget
KXMLGUIClient * guiClient
Kpgp::Module * pgp
KNMainWidget * top
QWidget * topWidget

Constructor & Destructor Documentation

KNGlobals::~KNGlobals (  ) 

Definition at line 56 of file knglobals.cpp.


Member Function Documentation

KNAccountManager * KNGlobals::accountManager (  ) 

Returns the account manager.

Definition at line 101 of file knglobals.cpp.

KNArticleManager * KNGlobals::articleManager (  ) 

Returns the article manager.

Definition at line 115 of file knglobals.cpp.

const KComponentData & KNGlobals::componentData (  )  const

Returns the current instance.

Definition at line 71 of file knglobals.cpp.

KConfig * KNGlobals::config (  ) 

Definition at line 79 of file knglobals.cpp.

KNConfigManager * KNGlobals::configManager (  ) 

Definition at line 87 of file knglobals.cpp.

KNFilterManager * KNGlobals::filterManager (  ) 

Returns the filter manager.

Definition at line 122 of file knglobals.cpp.

KNFolderManager * KNGlobals::folderManager (  ) 

Returns the folder manager.

Definition at line 129 of file knglobals.cpp.

KNGroupManager * KNGlobals::groupManager (  ) 

Returns the group manager.

Definition at line 108 of file knglobals.cpp.

KNMemoryManager * KNGlobals::memoryManager (  ) 

Returns the memory manager.

Definition at line 143 of file knglobals.cpp.

KNode::Scheduler * KNGlobals::scheduler (  ) 

Returns the scheduler.

Definition at line 94 of file knglobals.cpp.

KNScoringManager * KNGlobals::scoringManager (  ) 

Returns the scoring manager.

Definition at line 136 of file knglobals.cpp.

KNGlobals * KNGlobals::self (  )  [static]

Return the KNGlobals instance.

Definition at line 63 of file knglobals.cpp.

void KNGlobals::setComponentData ( const KComponentData &  inst  )  [inline]

Sets the current instance.

Definition at line 76 of file knglobals.h.

void KNGlobals::setStatusMsg ( const QString &  text = QString(),
int  id = SB_MAIN 
)

forwarded to top->setStatusMsg() if available

Definition at line 151 of file knglobals.cpp.

KNode::Settings * KNGlobals::settings (  ) 

Returns the KConfigXT generated settings object.

Definition at line 157 of file knglobals.cpp.


Member Data Documentation

KNArticleFactory* KNGlobals::artFactory

Returns the article factory.

Definition at line 70 of file knglobals.h.

KNode::ArticleWidget* KNGlobals::artWidget

Returns the article widget of the main window.

Definition at line 68 of file knglobals.h.

KXMLGUIClient* KNGlobals::guiClient

Returns the KXMLGUIClient of the main window.

Definition at line 66 of file knglobals.h.

Kpgp::Module* KNGlobals::pgp

Definition at line 71 of file knglobals.h.

KNMainWidget* KNGlobals::top

no need to include knode.h everywhere

Definition at line 64 of file knglobals.h.

QWidget* KNGlobals::topWidget

topWidget == top, used for message boxes,

Definition at line 62 of file knglobals.h.


The documentation for this class was generated from the following files:
  • knglobals.h
  • knglobals.cpp

knode

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal