Diffstat (limited to 'core/pim/todo/quickeditimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/quickeditimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/quickeditimpl.cpp b/core/pim/todo/quickeditimpl.cpp index 8d0a9fd..cadec03 100644 --- a/core/pim/todo/quickeditimpl.cpp +++ b/core/pim/todo/quickeditimpl.cpp | |||
@@ -1,33 +1,33 @@ | |||
1 | #include <qaction.h> | 1 | #include <qaction.h> |
2 | #include <qlineedit.h> | 2 | #include <qlineedit.h> |
3 | 3 | ||
4 | #include <qpe/resource.h> | 4 | #include <qpe/resource.h> |
5 | 5 | ||
6 | #include <opie/oclickablelabel.h> | 6 | #include <opie/oclickablelabel.h> |
7 | 7 | ||
8 | #include "mainwindow.h" | 8 | #include "mainwindow.h" |
9 | #include "quickeditimpl.h" | 9 | #include "quickeditimpl.h" |
10 | 10 | ||
11 | 11 | ||
12 | QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) | 12 | QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) |
13 | : QPEToolBar( (QMainWindow *)parent ), Todo::QuickEdit( (Todo::MainWindow *)parent ) { | 13 | : QPEToolBar( (QMainWindow *)parent ), Todo::QuickEdit( (Todo::MainWindow *)parent ) { |
14 | setHorizontalStretchable( TRUE ); | 14 | setHorizontalStretchable( TRUE ); |
15 | 15 | ||
16 | // Load priority icons | 16 | // Load priority icons |
17 | // TODO - probably should be done globally somewhere else | 17 | // TODO - probably should be done globally somewhere else, see also tableview.cpp/h |
18 | priority1 = Resource::loadPixmap( "todo/priority1" ); | 18 | priority1 = Resource::loadPixmap( "todo/priority1" ); |
19 | priority3 = Resource::loadPixmap( "todo/priority3" ); | 19 | priority3 = Resource::loadPixmap( "todo/priority3" ); |
20 | priority5 = Resource::loadPixmap( "todo/priority5" ); | 20 | priority5 = Resource::loadPixmap( "todo/priority5" ); |
21 | 21 | ||
22 | 22 | ||
23 | // TODO - come up with icons and replace text priority values | 23 | // TODO - come up with icons and replace text priority values |
24 | m_lbl = new OClickableLabel( this ); | 24 | m_lbl = new OClickableLabel( this ); |
25 | m_lbl->setMinimumWidth(15); | 25 | m_lbl->setMinimumWidth(15); |
26 | m_lbl->setPixmap( priority3 ); | 26 | m_lbl->setPixmap( priority3 ); |
27 | connect(m_lbl, SIGNAL(clicked() ), this, SLOT(slotPrio()) ); | 27 | connect(m_lbl, SIGNAL(clicked() ), this, SLOT(slotPrio()) ); |
28 | 28 | ||
29 | m_edit = new QLineEdit( this ); | 29 | m_edit = new QLineEdit( this ); |
30 | setStretchableWidget( m_edit ); | 30 | setStretchableWidget( m_edit ); |
31 | 31 | ||
32 | QAction *a = new QAction( tr( "More" ), Resource::loadPixmap( "todo/more" ), QString::null, 0, this, 0 ); | 32 | QAction *a = new QAction( tr( "More" ), Resource::loadPixmap( "todo/more" ), QString::null, 0, this, 0 ); |
33 | connect( a, SIGNAL( activated() ), this, SLOT( slotMore() ) ); | 33 | connect( a, SIGNAL( activated() ), this, SLOT( slotMore() ) ); |