#include <kpttaskdialog.h>
Public Member Functions | |
TaskDialog (Task &task, Accounts &accounts, StandardWorktime *workTime=0, QWidget *parent=0) | |
KCommand * | buildCommand (Part *part) |
Protected Slots | |
void | slotOk () |
Private Attributes | |
TaskGeneralPanel * | m_generalTab |
RequestResourcesPanel * | m_resourcesTab |
TaskCostPanel * | m_costTab |
Definition at line 57 of file kpttaskdialog.h.
KPlato::TaskDialog::TaskDialog | ( | Task & | task, | |
Accounts & | accounts, | |||
StandardWorktime * | workTime = 0 , |
|||
QWidget * | parent = 0 | |||
) |
The constructor for the task settings dialog.
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().
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().
TaskGeneralPanel* KPlato::TaskDialog::m_generalTab [private] |
Definition at line 75 of file kpttaskdialog.h.
Referenced by buildCommand(), slotOk(), and TaskDialog().
Definition at line 76 of file kpttaskdialog.h.
Referenced by buildCommand(), slotOk(), and TaskDialog().
TaskCostPanel* KPlato::TaskDialog::m_costTab [private] |