author | chicken <chicken> | 2004-03-01 17:39:51 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-01 17:39:51 (UTC) |
commit | bdac663be648746b868757a6fc9e6c443e6f51b1 (patch) (unidiff) | |
tree | 880ee397824e6e99317d8788856bb8cc781b6fe0 /core/pim/osearch/olistview.cpp | |
parent | 5f6f3f7d9356e24ac5284b7ccc10a75451ea94ee (diff) | |
download | opie-bdac663be648746b868757a6fc9e6c443e6f51b1.zip opie-bdac663be648746b868757a6fc9e6c443e6f51b1.tar.gz opie-bdac663be648746b868757a6fc9e6c443e6f51b1.tar.bz2 |
fix includes
Diffstat (limited to 'core/pim/osearch/olistview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/olistview.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/pim/osearch/olistview.cpp b/core/pim/osearch/olistview.cpp index 7a7cb26..8fbb31d 100644 --- a/core/pim/osearch/olistview.cpp +++ b/core/pim/osearch/olistview.cpp | |||
@@ -1,40 +1,39 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * * | 2 | * * |
3 | * This program is free software; you can redistribute it and/or modify * | 3 | * This program is free software; you can redistribute it and/or modify * |
4 | * it under the terms of the GNU General Public License as published by * | 4 | * it under the terms of the GNU General Public License as published by * |
5 | * the Free Software Foundation; either version 2 of the License, or * | 5 | * the Free Software Foundation; either version 2 of the License, or * |
6 | * (at your option) any later version. * | 6 | * (at your option) any later version. * |
7 | * * | 7 | * * |
8 | ***************************************************************************/ | 8 | ***************************************************************************/ |
9 | // (c) 2002 Patrick S. Vogtp <tille@handhelds.org> | 9 | // (c) 2002 Patrick S. Vogtp <tille@handhelds.org> |
10 | 10 | ||
11 | #include "olistview.h" | 11 | #include "olistview.h" |
12 | #include "olistviewitem.h" | 12 | #include "olistviewitem.h" |
13 | 13 | ||
14 | #include <qpe/qpeapplication.h> | 14 | #include <qpe/qpeapplication.h> |
15 | 15 | ||
16 | #include <qmessagebox.h> | ||
17 | 16 | ||
18 | 17 | ||
19 | OListView::OListView(QWidget *parent, const char *name ) | 18 | OListView::OListView(QWidget *parent, const char *name ) |
20 | : QListView(parent,name) | 19 | : QListView(parent,name) |
21 | { | 20 | { |
22 | 21 | ||
23 | setRootIsDecorated( true ); | 22 | setRootIsDecorated( true ); |
24 | addColumn(tr("Results"),qApp->desktop()->width() - 9 ); | 23 | addColumn(tr("Results"),qApp->desktop()->width() - 9 ); |
25 | //setColumnWidthMode(0, Manual); | 24 | //setColumnWidthMode(0, Manual); |
26 | 25 | ||
27 | setSorting( -1 ); | 26 | setSorting( -1 ); |
28 | connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*))); | 27 | connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*))); |
29 | } | 28 | } |
30 | 29 | ||
31 | 30 | ||
32 | OListView::~OListView() | 31 | OListView::~OListView() |
33 | { | 32 | { |
34 | } | 33 | } |
35 | 34 | ||
36 | void OListView::expand(QListViewItem *item) | 35 | void OListView::expand(QListViewItem *item) |
37 | { | 36 | { |
38 | ((OListViewItem*)item)->expand(); | 37 | ((OListViewItem*)item)->expand(); |
39 | } | 38 | } |
40 | 39 | ||