summaryrefslogtreecommitdiff
path: root/core/pim/osearch/olistview.cpp
authorcoredump <coredump>2003-12-08 16:27:39 (UTC)
committer coredump <coredump>2003-12-08 16:27:39 (UTC)
commit40eab6d033e060347c83adb707364933d2a77f30 (patch) (side-by-side diff)
treed4c59e570257444a3b76b0fabb46184e0e7cecaa /core/pim/osearch/olistview.cpp
parent466d396717be9ec10bdc1472bce5e733cd268ce4 (diff)
downloadopie-40eab6d033e060347c83adb707364933d2a77f30.zip
opie-40eab6d033e060347c83adb707364933d2a77f30.tar.gz
opie-40eab6d033e060347c83adb707364933d2a77f30.tar.bz2
Appearance fixed for osearch
Diffstat (limited to 'core/pim/osearch/olistview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/osearch/olistview.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/osearch/olistview.cpp b/core/pim/osearch/olistview.cpp
index 06392ba..e678d63 100644
--- a/core/pim/osearch/olistview.cpp
+++ b/core/pim/osearch/olistview.cpp
@@ -2,32 +2,34 @@
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
// (c) 2002 Patrick S. Vogtp <tille@handhelds.org>
#include "olistview.h"
#include "olistviewitem.h"
#include <qmessagebox.h>
-
+#include <qpe/qpeapplication.h>
OListView::OListView(QWidget *parent, const char *name )
: QListView(parent,name)
{
setRootIsDecorated( true );
- addColumn(tr("Results"));
+ addColumn(tr("Results"),qApp->desktop()->width() - 9 );
+ //setColumnWidthMode(0, Manual);
+
setSorting( -1 );
connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*)));
}
OListView::~OListView()
{
}
void OListView::expand(QListViewItem *item)
{
((OListViewItem*)item)->expand();