KPlato::TaskDialog Class Reference

#include <kpttaskdialog.h>

List of all members.

Public Member Functions

 TaskDialog (Task &task, Accounts &accounts, StandardWorktime *workTime=0, QWidget *parent=0)
KCommand * buildCommand (Part *part)

Protected Slots

void slotOk ()

Private Attributes

TaskGeneralPanelm_generalTab
RequestResourcesPanelm_resourcesTab
TaskCostPanelm_costTab


Detailed Description

The dialog that shows and allows you to alter any task.

Definition at line 57 of file kpttaskdialog.h.


Constructor & Destructor Documentation

KPlato::TaskDialog::TaskDialog ( Task task,
Accounts accounts,
StandardWorktime workTime = 0,
QWidget *  parent = 0 
)

The constructor for the task settings dialog.

Parameters:
task the task to show
accounts all defined accounts
workTime defines the number of hours pr day and week
parent parent widget

Definition at line 35 of file kpttaskdialog.cc.

References m_costTab, m_generalTab, m_resourcesTab, and slotOk().


Member Function Documentation

KCommand * KPlato::TaskDialog::buildCommand ( Part part  ) 

Definition at line 68 of file kpttaskdialog.cc.

References KPlato::TaskCostPanel::buildCommand(), KPlato::RequestResourcesPanel::buildCommand(), KPlato::TaskGeneralPanel::buildCommand(), m_costTab, m_generalTab, and m_resourcesTab.

Referenced by KPlato::View::slotAddMilestone(), KPlato::View::slotAddSubTask(), KPlato::View::slotAddTask(), and KPlato::View::slotOpenNode().

void KPlato::TaskDialog::slotOk (  )  [protected, slot]

Definition at line 93 of file kpttaskdialog.cc.

References m_generalTab, m_resourcesTab, KPlato::RequestResourcesPanel::ok(), and KPlato::TaskGeneralPanel::ok().

Referenced by TaskDialog().


Member Data Documentation

TaskGeneralPanel* KPlato::TaskDialog::m_generalTab [private]

Definition at line 75 of file kpttaskdialog.h.

Referenced by buildCommand(), slotOk(), and TaskDialog().

RequestResourcesPanel* KPlato::TaskDialog::m_resourcesTab [private]

Definition at line 76 of file kpttaskdialog.h.

Referenced by buildCommand(), slotOk(), and TaskDialog().

TaskCostPanel* KPlato::TaskDialog::m_costTab [private]

Definition at line 77 of file kpttaskdialog.h.

Referenced by buildCommand(), and TaskDialog().


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