author | zecke <zecke> | 2004-03-14 19:06:30 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 19:06:30 (UTC) |
commit | 601330a1173afbc7736d103a584b8bde20646dee (patch) (unidiff) | |
tree | ed095c532224e721df2b9caa828926bf0617abd8 /core/pim/osearch/searchgroup.cpp | |
parent | d91c046d1faaf9fb039bda5cc186c96d4ff2c227 (diff) | |
download | opie-601330a1173afbc7736d103a584b8bde20646dee.zip opie-601330a1173afbc7736d103a584b8bde20646dee.tar.gz opie-601330a1173afbc7736d103a584b8bde20646dee.tar.bz2 |
Convert to ODP
Diffstat (limited to 'core/pim/osearch/searchgroup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/searchgroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/osearch/searchgroup.cpp b/core/pim/osearch/searchgroup.cpp index 7a0b5a7..9166f72 100644 --- a/core/pim/osearch/searchgroup.cpp +++ b/core/pim/osearch/searchgroup.cpp | |||
@@ -12,17 +12,17 @@ | |||
12 | // | 12 | // |
13 | #include "searchgroup.h" | 13 | #include "searchgroup.h" |
14 | 14 | ||
15 | #include <opie2/owait.h> | 15 | #include <opie2/owait.h> |
16 | 16 | ||
17 | #include <qapplication.h> | 17 | #include <qapplication.h> |
18 | 18 | ||
19 | #ifndef NEW_OWAIT | 19 | #ifndef NEW_OWAIT |
20 | static OWait *wait = 0; | 20 | static Opie::Ui::OWait *wait = 0; |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | SearchGroup::SearchGroup(QListView* parent, QString name) | 23 | SearchGroup::SearchGroup(QListView* parent, QString name) |
24 | : OListViewItem(parent, name) | 24 | : OListViewItem(parent, name) |
25 | { | 25 | { |
26 | _name = name; | 26 | _name = name; |
27 | loaded = false; | 27 | loaded = false; |
28 | } | 28 | } |
@@ -63,17 +63,17 @@ void SearchGroup::setSearch(QRegExp re) | |||
63 | if (isOpen()) expand(); | 63 | if (isOpen()) expand(); |
64 | else new OListViewItem( this, "searching..."); | 64 | else new OListViewItem( this, "searching..."); |
65 | } | 65 | } |
66 | 66 | ||
67 | int SearchGroup::realSearch() | 67 | int SearchGroup::realSearch() |
68 | { | 68 | { |
69 | if (_lastSearch == _search) return _resultCount; | 69 | if (_lastSearch == _search) return _resultCount; |
70 | #ifndef NEW_OWAIT | 70 | #ifndef NEW_OWAIT |
71 | if (!wait) wait = new OWait( qApp->mainWidget(), "osearch" ); | 71 | if (!wait) wait = new Opie::Ui::OWait( qApp->mainWidget(), "osearch" ); |
72 | wait->show(); | 72 | wait->show(); |
73 | qApp->processEvents(); | 73 | qApp->processEvents(); |
74 | #else | 74 | #else |
75 | qDebug("********** NEW_OWAIT *************"); | 75 | qDebug("********** NEW_OWAIT *************"); |
76 | OWait( "searching" ); | 76 | OWait( "searching" ); |
77 | #endif | 77 | #endif |
78 | if (!loaded) load(); | 78 | if (!loaded) load(); |
79 | _resultCount = 0; | 79 | _resultCount = 0; |