summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/taskeditoroverview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditoroverview.cpp b/core/pim/todo/taskeditoroverview.cpp
index 89e553f..5e2b026 100644
--- a/core/pim/todo/taskeditoroverview.cpp
+++ b/core/pim/todo/taskeditoroverview.cpp
@@ -62,13 +62,13 @@ TaskEditorOverView::TaskEditorOverView( QWidget* parent, const char* name, WFla
62 sv->setResizePolicy( QScrollView::AutoOneFit ); 62 sv->setResizePolicy( QScrollView::AutoOneFit );
63 sv->setFrameStyle( QFrame::NoFrame ); 63 sv->setFrameStyle( QFrame::NoFrame );
64 64
65 QWidget *container = new QWidget( sv->viewport() ); 65 QWidget *container = new QWidget( sv->viewport() );
66 sv->addChild( container ); 66 sv->addChild( container );
67 67
68 QGridLayout *layout = new QGridLayout( container, 7, 2, 4, 4 ); 68 QGridLayout *layout = new QGridLayout( container, 7, 2, 4, 4 );
69 69
70 // Description 70 // Description
71 QLabel *label = new QLabel( tr( "Description:" ), container ); 71 QLabel *label = new QLabel( tr( "Description:" ), container );
72 layout->addWidget( label, 0, 0 ); 72 layout->addWidget( label, 0, 0 );
73 QWhatsThis::add( label, tr( "Enter brief description of the task here." ) ); 73 QWhatsThis::add( label, tr( "Enter brief description of the task here." ) );
74 cmbDesc = new QComboBox( TRUE, container ); 74 cmbDesc = new QComboBox( TRUE, container );
@@ -116,13 +116,13 @@ TaskEditorOverView::TaskEditorOverView( QWidget* parent, const char* name, WFla
116 connect( ckbRecurrence, SIGNAL(clicked() ), this, SLOT( slotRecClicked() ) ); 116 connect( ckbRecurrence, SIGNAL(clicked() ), this, SLOT( slotRecClicked() ) );
117 117
118 // Notes 118 // Notes
119 label = new QLabel( tr( "Notes:" ), container ); 119 label = new QLabel( tr( "Notes:" ), container );
120 layout->addWidget( label, 5, 0 ); 120 layout->addWidget( label, 5, 0 );
121 QWhatsThis::add( label, tr( "Enter any additional information about this task here." ) ); 121 QWhatsThis::add( label, tr( "Enter any additional information about this task here." ) );
122 mleNotes = new QMultiLineEdit( this ); 122 mleNotes = new QMultiLineEdit( container );
123 mleNotes->setWordWrap( QMultiLineEdit::WidgetWidth ); 123 mleNotes->setWordWrap( QMultiLineEdit::WidgetWidth );
124 layout->addMultiCellWidget( mleNotes, 6, 6, 0, 1 ); 124 layout->addMultiCellWidget( mleNotes, 6, 6, 0, 1 );
125 QWhatsThis::add( mleNotes, tr( "Enter any additional information about this task here." ) ); 125 QWhatsThis::add( mleNotes, tr( "Enter any additional information about this task here." ) );
126} 126}
127 127
128TaskEditorOverView::~TaskEditorOverView() 128TaskEditorOverView::~TaskEditorOverView()
@@ -162,13 +162,13 @@ void TaskEditorOverView::save( OTodo &todo )
162 if ( cmbCategory->currentCategory() != -1 ) 162 if ( cmbCategory->currentCategory() != -1 )
163 { 163 {
164 QArray<int> arr = cmbCategory->currentCategories(); 164 QArray<int> arr = cmbCategory->currentCategories();
165 todo.setCategories( arr ); 165 todo.setCategories( arr );
166 } 166 }
167 167
168 // Recurrence - don't need to save here... 168 // Recurrence - don't need to save here...
169 169
170 // Notes 170 // Notes
171 todo.setDescription( mleNotes->text() ); 171 todo.setDescription( mleNotes->text() );
172} 172}
173 173
174void TaskEditorOverView::slotRecClicked() 174void TaskEditorOverView::slotRecClicked()