-rw-r--r-- | korganizer/kotodoview.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 06d40b1..2c017e1 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -478,3 +478,3 @@ KOQuickTodo::KOQuickTodo(QWidget *parent) : { - setText(i18n("Click to add a new Todo")); + setText(i18n("Click to add new Todo")); } @@ -483,3 +483,3 @@ void KOQuickTodo::focusInEvent(QFocusEvent *ev) { - if ( text()==i18n("Click to add a new Todo") ) + if ( text()==i18n("Click to add new Todo") ) setText(""); @@ -490,3 +490,3 @@ void KOQuickTodo::focusOutEvent(QFocusEvent *ev) { - setText(i18n("Click to add a new Todo")); + setText(i18n("Click to add new Todo")); QLineEdit::focusOutEvent(ev); @@ -525,6 +525,10 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : QPushButton * s_done = new QPushButton( "D",mQuickBar ); + s_done->setPixmap( SmallIcon("greenhook16")); s_done->setFixedWidth( fixwid ); + s_done->setFixedHeight( flat->sizeHint().height() ); connect ( s_done, SIGNAL ( clicked()), SLOT ( toggleCompleted())); QPushButton * s_run = new QPushButton( "R",mQuickBar ); + s_run->setPixmap( SmallIcon("ko16old")); s_run->setFixedWidth( fixwid ); + s_run->setFixedHeight( flat->sizeHint().height() ); connect ( s_run, SIGNAL ( clicked()), SLOT ( toggleRunning())); @@ -1120,3 +1124,3 @@ void KOTodoView::newSubTodo() if (mActiveItem) { - if ( mQuickAdd->isVisible() && !mQuickAdd->text().isEmpty() && mQuickAdd->text() != i18n("Click to add a new Todo") ) { + if ( mQuickAdd->isVisible() && !mQuickAdd->text().isEmpty() && mQuickAdd->text() != i18n("Click to add new Todo") ) { addQuickTodoPar( mActiveItem->todo()); |