21#include "kptsummarytaskdialog.h"
22#include "kptsummarytaskgeneralpanel.h"
34 : KDialogBase(Swallow, i18n( "Summary Task Settings"), Ok|Cancel, Ok, p, "Summary Task Settings Dialog", true, true)
36 m_generalTab = new SummaryTaskGeneralPanel(task, this);
37 setMainWidget(m_generalTab);
38 enableButtonOK( false);
40 connect(m_generalTab, TQ_SIGNAL(obligatedFieldsFilled( bool)), TQ_SLOT(enableButtonOK( bool)));
44KCommand *SummaryTaskDialog::buildCommand(Part *part) {
45 KMacroCommand *m = new KMacroCommand(i18n( "Modify Summary Task"));
46 bool modified = false;
47 KCommand *cmd = m_generalTab->buildCommand(part);
59void SummaryTaskDialog::slotOk() {
60 if (!m_generalTab->ok())
69#include "kptsummarytaskdialog.moc"
SummaryTaskDialog(Task &task, TQWidget *parent=0) The constructor for the summary task settings dialog.
A task in the scheduling software is represented by this class.
|