Diffstat (limited to 'core/pim/todo/otaskeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/otaskeditor.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp index bde25ef..68b315d 100644 --- a/core/pim/todo/otaskeditor.cpp +++ b/core/pim/todo/otaskeditor.cpp @@ -1,4 +1,4 @@ #include <qdatetime.h> -#include <qlayout.h> #include <qlabel.h> +#include <qlayout.h> #include <qmultilineedit.h> @@ -8,3 +8,3 @@ #include "taskeditoroverview.h" -#include "taskeditoradvanced.h" +#include "taskeditorstatus.h" #include "taskeditoralarms.h" @@ -14,3 +14,3 @@ OTaskEditor::OTaskEditor(int cur) - : QDialog(0, 0, TRUE ) { + : QDialog( 0, 0, TRUE, WStyle_ContextHelp ) { init(); @@ -19,3 +19,3 @@ OTaskEditor::OTaskEditor(int cur) OTaskEditor::OTaskEditor( const OTodo& to) - : QDialog(0, 0, TRUE ) { + : QDialog( 0, 0, TRUE, WStyle_ContextHelp ) { init(); @@ -42,3 +42,3 @@ OTodo OTaskEditor::todo()const{ m_overView->save( to ); - m_adv->save( to ); + m_stat->save( to ); to.setRecurrence( m_rec->recurrence() ); @@ -49,3 +49,3 @@ void OTaskEditor::load(const OTodo& to) { m_overView->load( to ); - m_adv->load( to ); + m_stat->load( to ); m_rec->setRecurrence( to.recurrence(), to.hasDueDate() ? to.dueDate() : QDate::currentDate() ); @@ -63,6 +63,6 @@ void OTaskEditor::init() { m_overView = new TaskEditorOverView( m_tab ); - m_tab->addTab( m_overView, "TodoList", tr("Overview") ); + m_tab->addTab( m_overView, "todo/info", tr("Information") ); - m_adv = new TaskEditorAdvanced( m_tab ); - m_tab->addTab( m_adv, "todo/advanced", tr("Advanced") ); + m_stat = new TaskEditorStatus( m_tab ); + m_tab->addTab( m_stat, "TodoList", tr("Status") ); @@ -79,3 +79,3 @@ void OTaskEditor::init() { m_rec = new ORecurranceWidget( true, QDate::currentDate(), this ); - m_tab->addTab( m_rec, "repeat", tr("Recurrance") ); + m_tab->addTab( m_rec, "repeat", tr("Recurrence") ); @@ -87,3 +87,3 @@ void OTaskEditor::init() { /* connect due date changed to the recurrence tab */ - connect(m_overView, SIGNAL(dueDateChanged(const QDate&) ), + connect(m_stat, SIGNAL(dueDateChanged(const QDate&) ), m_rec, SLOT(setStartDate(const QDate& ) ) ); |