2 kopetelistviewsearchline.h - a widget for performing quick searches of Kopete::ListViews
4 Copyright (c) 2004 by Richard Smith <kde@metafoo.co.uk>
6 Kopete (c) 2004 by the Kopete developers <kopete-devel@kde.org>
8 *************************************************************************
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
15 *************************************************************************
18 #ifndef KOPETELISTVIEWSEARCHLINE_H
19 #define KOPETELISTVIEWSEARCHLINE_H
21 #include <k3listviewsearchline.h>
22 #include <kopete_export.h>
30 class KOPETE_EXPORT SearchLine
: public K3ListViewSearchLine
35 * Constructs a SearchLine with \a listView being the
36 * ListView to be filtered.
38 * If \a listView is null then the widget will be disabled until a listview
39 * is set with setListView().
41 explicit SearchLine( QWidget
*parent
= 0, ListView
*listView
= 0 );
43 * Destroys the SearchLine.
47 void updateSearch( const QString
&s
);
50 virtual void checkItemParentsNotVisible();
51 virtual bool checkItemParentsVisible( Q3ListViewItem
*it
);
52 virtual void setItemVisible( Q3ListViewItem
*it
, bool visible
);
59 } // end namespace ListView
61 } // end namespace Kopete