Diffstat (limited to 'core/pim/osearch/searchgroup.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/searchgroup.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/core/pim/osearch/searchgroup.h b/core/pim/osearch/searchgroup.h new file mode 100644 index 0000000..d26ff17 --- a/dev/null +++ b/core/pim/osearch/searchgroup.h @@ -0,0 +1,42 @@ +// +// +// C++ Interface: $MODULE$ +// +// Description: +// +// +// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef SEARCHGROUP_H +#define SEARCHGROUP_H + +#include "olistviewitem.h" + +#include <qregexp.h> + +/** +@author Patrick S. Vogt +*/ +class SearchGroup : public OListViewItem +{ +public: + SearchGroup(QListView* parent, QString name); + + ~SearchGroup(); + + virtual void expand(); + virtual void setSearch(QString); + virtual void setSearch(QRegExp); + virtual int rtti() { return Searchgroup;} + +protected: + QRegExp _search; +private: + QString _name; + bool expanded; +}; + +#endif |