author | zecke <zecke> | 2002-06-16 16:55:40 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-16 16:55:40 (UTC) |
commit | f63c4f952daeeda9787b8b700a9d50f20cdff88c (patch) (side-by-side diff) | |
tree | fee143b48834b24ab56f7373571c8ef94f6314f3 /core/pim/todo/todoentryimpl.cpp | |
parent | 98f3588c957217c720779945a02bc01a164bfaa5 (diff) | |
download | opie-f63c4f952daeeda9787b8b700a9d50f20cdff88c.zip opie-f63c4f952daeeda9787b8b700a9d50f20cdff88c.tar.gz opie-f63c4f952daeeda9787b8b700a9d50f20cdff88c.tar.bz2 |
I dunno
Diffstat (limited to 'core/pim/todo/todoentryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/todoentryimpl.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/pim/todo/todoentryimpl.cpp b/core/pim/todo/todoentryimpl.cpp index f8e2f4d..dd01130 100644 --- a/core/pim/todo/todoentryimpl.cpp +++ b/core/pim/todo/todoentryimpl.cpp @@ -16,22 +16,24 @@ ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "todoentryimpl.h" +#include <opie/oclickablelabel.h> #include <opie/todoevent.h> #include <opie/tododb.h> #include <qpe/categoryselect.h> #include <qpe/datebookmonth.h> #include <qpe/global.h> +#include <qpe/resource.h> #include <qpe/imageedit.h> #include <qpe/timestring.h> #include <qpe/palmtoprecord.h> #include <qmessagebox.h> #include <qpopupmenu.h> #include <qtoolbutton.h> #include <qcombobox.h> @@ -94,16 +96,17 @@ void NewTaskDialog::init() buttonDate->setPopup( m1 ); comboCategory->setCategories( todo.categories(), "Todo List", tr("Todo List") ); connect( picker, SIGNAL( dateClicked( int, int, int ) ), this, SLOT( dateChanged( int, int, int ) ) ); buttonDate->setText( TimeString::longDateString( date ) ); picker->setDate( date.year(), date.month(), date.day() ); + lblDown->setPixmap(Resource::loadPixmap("down") ); } /* * Destroys the object and frees any allocated resources */ NewTaskDialog::~NewTaskDialog() { // no need to delete child widgets, Qt does it all for us @@ -135,17 +138,21 @@ ToDoEvent NewTaskDialog::todoEntry() todo.setCompleted( checkCompleted->isChecked() ); todo.setDescription( txtTodo->text() ); todo.setSummary( lneSum->text() ); QString text = cmbProg->currentText(); todo.setProgress( text.remove( text.length()-1, 1 ).toUShort() ); return todo; } - +void NewTaskDialog::slotCopy() +{ + txtTodo->clear(); + txtTodo->setText( lneSum->text() ); +} /*! */ void NewTaskDialog::accept() { QString strText = txtTodo->text(); |