author | zecke <zecke> | 2002-04-23 12:45:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-23 12:45:20 (UTC) |
commit | e25c5384f3f3025be64ed26d244c59afc5862711 (patch) (side-by-side diff) | |
tree | 603f32b0550ecda9cbe95a93807a2a89b32cabcd /core/pim/todo/todotable.cpp | |
parent | 367304a610dd618ad45ddce8256ba4d7d8ded442 (diff) | |
download | opie-e25c5384f3f3025be64ed26d244c59afc5862711.zip opie-e25c5384f3f3025be64ed26d244c59afc5862711.tar.gz opie-e25c5384f3f3025be64ed26d244c59afc5862711.tar.bz2 |
Patch from Stefan Eilers for overview
merged by hand
-rw-r--r-- | core/pim/todo/todotable.cpp | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/core/pim/todo/todotable.cpp b/core/pim/todo/todotable.cpp index d0bc61c..753c036 100644 --- a/core/pim/todo/todotable.cpp +++ b/core/pim/todo/todotable.cpp @@ -306,13 +306,19 @@ void TodoTable::slotClicked( int row, int col, int, const QPoint &pos ) break; case 2: - // may as well edit it... - // menuTimer->stop(); -// emit signalEdit(); - // fall through - case 3: - // may as well edit it... + // may as well edit it... + // menuTimer->stop(); + // emit signalEdit(); + // Show detailed view of the selected entry + { menuTimer->stop(); - // emit signalEdit(); - break; + ToDoEvent *todo = todoList[static_cast<CheckItem*>(item(row, 0))]; + emit showDetails( *todo ); + } + break; + case 3: + // may as well edit it... + menuTimer->stop(); + // emit signalEdit(); + break; } } @@ -346,5 +352,5 @@ void TodoTable::internalAddEntries( QList<ToDoEvent> &list ) ToDoEvent TodoTable::currentEntry() const { - printf ("in currentEntry\n"); + //qWarning ("in currentEntry\n"); QTableItem *i = item( currentRow(), 0 ); |