Diffstat (limited to 'core/pim/todo/taskeditorstatus.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditorstatus.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditorstatus.cpp b/core/pim/todo/taskeditorstatus.cpp index 4331877..0ab4223 100644 --- a/core/pim/todo/taskeditorstatus.cpp +++ b/core/pim/todo/taskeditorstatus.cpp | |||
@@ -145,4 +145,5 @@ TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags f | |||
145 | 145 | ||
146 | // Maintainer mode | 146 | // Maintainer mode |
147 | #if 0 | ||
147 | label = new QLabel( tr( "Maintainer Mode:" ), container ); | 148 | label = new QLabel( tr( "Maintainer Mode:" ), container ); |
148 | layout->addWidget( label, 6, 0 ); | 149 | layout->addWidget( label, 6, 0 ); |
@@ -153,5 +154,5 @@ TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags f | |||
153 | cmbMaintMode->insertItem( tr( "Done By" ) ); | 154 | cmbMaintMode->insertItem( tr( "Done By" ) ); |
154 | cmbMaintMode->insertItem( tr( "Coordinating" ) ); | 155 | cmbMaintMode->insertItem( tr( "Coordinating" ) ); |
155 | layout->addMultiCellWidget( cmbMaintMode, 6, 6, 1, 2 ); | 156 | // layout->addMultiCellWidget( cmbMaintMode, 6, 6, 1, 2 ); |
156 | QWhatsThis::add( cmbMaintMode, tr( "Click here to set the maintainer's role." ) ); | 157 | QWhatsThis::add( cmbMaintMode, tr( "Click here to set the maintainer's role." ) ); |
157 | 158 | ||
@@ -166,6 +167,7 @@ TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags f | |||
166 | tbtMaintainer = new QToolButton( container ); | 167 | tbtMaintainer = new QToolButton( container ); |
167 | tbtMaintainer->setPixmap( Resource::loadPixmap( "todo/more" ) ); | 168 | tbtMaintainer->setPixmap( Resource::loadPixmap( "todo/more" ) ); |
168 | layout->addWidget( tbtMaintainer, 7, 2 ); | 169 | // layout->addWidget( tbtMaintainer, 7, 2 ); |
169 | QWhatsThis::add( tbtMaintainer, tr( "Click here to select the task maintainer." ) ); | 170 | QWhatsThis::add( tbtMaintainer, tr( "Click here to select the task maintainer." ) ); |
171 | #endif | ||
170 | } | 172 | } |
171 | 173 | ||
@@ -217,9 +219,10 @@ void TaskEditorStatus::load( const OTodo &todo ) | |||
217 | 219 | ||
218 | // Maintainer Mode | 220 | // Maintainer Mode |
221 | #if 0 | ||
219 | state = todo.hasMaintainer() ? todo.maintainer().mode() : OPimMaintainer::Nothing; | 222 | state = todo.hasMaintainer() ? todo.maintainer().mode() : OPimMaintainer::Nothing; |
220 | if ( state == OPimMaintainer::Undefined ) | 223 | if ( state == OPimMaintainer::Undefined ) |
221 | state = OPimMaintainer::Nothing; | 224 | state = OPimMaintainer::Nothing; |
222 | cmbMaintMode->setCurrentItem( state ); | 225 | cmbMaintMode->setCurrentItem( state ); |
223 | 226 | #endif | |
224 | // Maintainer - not implemented yet | 227 | // Maintainer - not implemented yet |
225 | } | 228 | } |
@@ -261,4 +264,5 @@ void TaskEditorStatus::save( OTodo &todo ) | |||
261 | todo.setCompletedDate( inval ); | 264 | todo.setCompletedDate( inval ); |
262 | 265 | ||
266 | #if 0 | ||
263 | // Maintainer mode - not implemented yet | 267 | // Maintainer mode - not implemented yet |
264 | 268 | ||
@@ -266,4 +270,5 @@ void TaskEditorStatus::save( OTodo &todo ) | |||
266 | /* TODO - resolve name to uid.....*/ | 270 | /* TODO - resolve name to uid.....*/ |
267 | todo.setMaintainer( OPimMaintainer( cmbMaintMode->currentItem(), -10 ) ); | 271 | todo.setMaintainer( OPimMaintainer( cmbMaintMode->currentItem(), -10 ) ); |
272 | #endif | ||
268 | } | 273 | } |
269 | 274 | ||