KPlato::Context Class Reference

#include <kptcontext.h>

List of all members.

Public Member Functions

 Context ()
virtual ~Context ()
virtual bool load (QDomElement &element)
virtual void save (QDomElement &element) const

Public Attributes

QString currentView
int currentEstimateType
long currentSchedule
bool actionViewExpected
bool actionViewOptimistic
bool actionViewPessimistic
KPlato::Context::Ganttview ganttview
KPlato::Context::Pertview pertview
KPlato::Context::Resourceview resourceview
KPlato::Context::Accountsview accountsview
KPlato::Context::Reportview reportview

Classes

struct  Accountsview
struct  Ganttview
struct  Pertview
struct  Reportview
struct  Resourceview


Detailed Description

Definition at line 33 of file kptcontext.h.


Constructor & Destructor Documentation

KPlato::Context::Context (  ) 

Definition at line 29 of file kptcontext.cc.

KPlato::Context::~Context (  )  [virtual]

Definition at line 34 of file kptcontext.cc.


Member Function Documentation

bool KPlato::Context::load ( QDomElement &  element  )  [virtual]

Definition at line 37 of file kptcontext.cc.

References accountsview, KPlato::Context::Accountsview::accountsviewsize, actionViewExpected, actionViewOptimistic, actionViewPessimistic, KPlato::Context::Accountsview::closedItems, KPlato::Context::Ganttview::closedNodes, KPlato::Context::Accountsview::cumulative, currentEstimateType, KPlato::Context::Ganttview::currentNode, currentSchedule, currentView, KPlato::Context::Accountsview::date, ganttview, KPlato::Context::Ganttview::ganttviewsize, KPlato::Context::Accountsview::period, KPlato::Context::Accountsview::periodviewsize, KPlato::Context::Ganttview::showCriticalPath, KPlato::Context::Ganttview::showCriticalTasks, KPlato::Context::Ganttview::showNoInformation, KPlato::Context::Ganttview::showPositiveFloat, KPlato::Context::Ganttview::showProgress, KPlato::Context::Ganttview::showResources, KPlato::Context::Ganttview::showTaskLinks, KPlato::Context::Ganttview::showTaskName, and KPlato::Context::Ganttview::taskviewsize.

Referenced by KPlato::Part::loadXML().

void KPlato::Context::save ( QDomElement &  element  )  const [virtual]

Definition at line 112 of file kptcontext.cc.

References accountsview, KPlato::Context::Accountsview::accountsviewsize, actionViewExpected, actionViewOptimistic, actionViewPessimistic, KPlato::Context::Accountsview::closedItems, KPlato::Context::Ganttview::closedNodes, KPlato::Context::Accountsview::cumulative, currentEstimateType, KPlato::Context::Ganttview::currentNode, currentSchedule, currentView, KPlato::Context::Accountsview::date, ganttview, KPlato::Context::Ganttview::ganttviewsize, KPlato::Context::Accountsview::period, KPlato::Context::Accountsview::periodviewsize, KPlato::Context::Ganttview::showCriticalPath, KPlato::Context::Ganttview::showCriticalTasks, KPlato::Context::Ganttview::showNoInformation, KPlato::Context::Ganttview::showPositiveFloat, KPlato::Context::Ganttview::showProgress, KPlato::Context::Ganttview::showResources, KPlato::Context::Ganttview::showTaskLinks, KPlato::Context::Ganttview::showTaskName, and KPlato::Context::Ganttview::taskviewsize.

Referenced by KPlato::Part::saveXML().


Member Data Documentation

QString KPlato::Context::currentView

Definition at line 43 of file kptcontext.h.

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

int KPlato::Context::currentEstimateType

Definition at line 44 of file kptcontext.h.

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

long KPlato::Context::currentSchedule

Definition at line 45 of file kptcontext.h.

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

bool KPlato::Context::actionViewExpected

Definition at line 46 of file kptcontext.h.

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

bool KPlato::Context::actionViewOptimistic

Definition at line 47 of file kptcontext.h.

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

bool KPlato::Context::actionViewPessimistic

Definition at line 48 of file kptcontext.h.

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

struct KPlato::Context::Ganttview KPlato::Context::ganttview

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

struct KPlato::Context::Pertview KPlato::Context::pertview

struct KPlato::Context::Resourceview KPlato::Context::resourceview

Referenced by KPlato::View::getContext(), and KPlato::View::setContext().

struct KPlato::Context::Accountsview KPlato::Context::accountsview

Referenced by KPlato::View::getContext(), load(), save(), and KPlato::View::setContext().

struct KPlato::Context::Reportview KPlato::Context::reportview


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:48 2006 for KPlato by  doxygen 1.5.1-p1