tdelistviewsearchline.cpp
59 TDEListViewSearchLine::TDEListViewSearchLine(TQWidget *parent, TDEListView *listView, const char *name) :
367 bool TDEListViewSearchLine::checkItemParentsVisible(TQListViewItem *item, TQListViewItem *highestHiddenParent)
374 TQListViewItem * hhp = highestHiddenParent ? highestHiddenParent : item->isVisible() ? 0L : item;
449 TQIconSet icon = SmallIconSet(TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase");
virtual TQPopupMenu * createPopupMenu()
Re-implemented for internal reasons.
Definition: klineedit.cpp:862
~TDEListViewSearchLineWidget()
Destroys the TDEListViewSearchLineWidget.
Definition: tdelistviewsearchline.cpp:431
TDEListViewSearchLineWidget(TDEListView *listView=0, TQWidget *parent=0, const char *name=0)
Creates a TDEListViewSearchLineWidget for listView with parent as the parent with and name.
Definition: tdelistviewsearchline.cpp:418
TDEListViewSearchLine * searchLine() const
Returns a pointer to the search line.
Definition: tdelistviewsearchline.cpp:466
virtual void createWidgets()
Creates the widgets inside of the widget.
Definition: tdelistviewsearchline.cpp:443
virtual TDEListViewSearchLine * createSearchLine(TDEListView *listView)
Creates the search line.
Definition: tdelistviewsearchline.cpp:436
This class makes it easy to add a search line for filtering the items in a listview based on a simple...
Definition: tdelistviewsearchline.h:48
virtual ~TDEListViewSearchLine()
Destroys the TDEListViewSearchLine.
Definition: tdelistviewsearchline.cpp:93
TQValueList< int > searchColumns() const
Returns the current list of columns that will be searched.
Definition: tdelistviewsearchline.cpp:103
void setCaseSensitive(bool cs)
Make the search case sensitive or case insensitive.
Definition: tdelistviewsearchline.cpp:163
void activateSearch()
When the timer started with queueSearch() expires this slot is called.
Definition: tdelistviewsearchline.cpp:291
virtual TQPopupMenu * createPopupMenu()
Re-implemented for internal reasons.
Definition: tdelistviewsearchline.cpp:234
void setKeepParentsVisible(bool v)
When a search is active on a list that's organized into a tree view if a parent or ancesestor of an i...
Definition: tdelistviewsearchline.cpp:168
virtual bool itemMatches(const TQListViewItem *item, const TQString &s) const
Returns true if item matches the search s.
Definition: tdelistviewsearchline.cpp:205
void setSearchColumns(const TQValueList< int > &columns)
Sets the list of columns to be searched.
Definition: tdelistviewsearchline.cpp:173
void queueSearch(const TQString &search)
When keys are pressed a new search string is created and a timer is activated.
Definition: tdelistviewsearchline.cpp:284
virtual void updateSearch(const TQString &s=TQString::null)
Updates search to only make visible the items that match s.
Definition: tdelistviewsearchline.cpp:122
TDEListView * listView() const
Returns the listview that is currently filtered by the search.
Definition: tdelistviewsearchline.cpp:113
TDEListViewSearchLine(TQWidget *parent=0, TDEListView *listView=0, const char *name=0)
Constructs a TDEListViewSearchLine with listView being the TDEListView to be filtered.
Definition: tdelistviewsearchline.cpp:59
bool keepParentsVisible() const
If this is true (the default) then the parents of matched items will also be shown.
Definition: tdelistviewsearchline.cpp:108
bool caseSensitive() const
Returns true if the search is case sensitive.
Definition: tdelistviewsearchline.cpp:98
void setListView(TDEListView *lv)
Sets the TDEListView that is filtered by this search line.
Definition: tdelistviewsearchline.cpp:178
This Widget extends the functionality of TQListView to honor the system wide settings for Single Clic...
Definition: tdelistview.h:85
TQWidget * getWidget(int id)
Returns a pointer to the widget corresponding to id.
Definition: tdetoolbar.cpp:652
int insertWidget(int id, int width, TQWidget *_widget, int index=-1)
Inserts a user-defined widget.
Definition: tdetoolbar.cpp:411