summaryrefslogtreecommitdiff
path: root/core/pim/osearch/applnksearch.cpp
authortille <tille>2003-05-11 19:29:27 (UTC)
committer tille <tille>2003-05-11 19:29:27 (UTC)
commit10de2c93dffa16f6d2f1cf72fa20008757c5ef3a (patch) (side-by-side diff)
tree561f501cf966e1f3ee6c9ce6d76ab9c227e7708a /core/pim/osearch/applnksearch.cpp
parent43c18630840a98aed8deb96b454957c40f0a4344 (diff)
downloadopie-10de2c93dffa16f6d2f1cf72fa20008757c5ef3a.zip
opie-10de2c93dffa16f6d2f1cf72fa20008757c5ef3a.tar.gz
opie-10de2c93dffa16f6d2f1cf72fa20008757c5ef3a.tar.bz2
colabse applnkitem in case of new search, since it's far to slow...
... I wonder how slow osearch will be on the pda!
Diffstat (limited to 'core/pim/osearch/applnksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/applnksearch.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/pim/osearch/applnksearch.cpp b/core/pim/osearch/applnksearch.cpp
index d5b2930..acf650a 100644
--- a/core/pim/osearch/applnksearch.cpp
+++ b/core/pim/osearch/applnksearch.cpp
@@ -53,3 +53,11 @@ void AppLnkSearch::insertItem( void *rec )
{
new AppLnkItem( this, (AppLnk*)rec );
}
+
+void AppLnkSearch::setSearch(QRegExp re)
+{
+ expanded = false;
+ setOpen( false );
+ SearchGroup::setSearch( re );
+}
+