KDE3Support
k3listviewsearchline.cpp
Go to the documentation of this file.
288 connect(subMenu, SIGNAL(triggered(QAction*)), this, SLOT(searchColumnsMenuActivated(QAction*)));
481 bool K3ListViewSearchLine::checkItemParentsVisible(Q3ListViewItem *item, Q3ListViewItem *highestHiddenParent)
488 Q3ListViewItem * hhp = highestHiddenParent ? highestHiddenParent : item->isVisible() ? 0L : item;
QString i18n(const char *text)
void setListView(K3ListView *lv)
Sets the K3ListView that is filtered by this search line, replacing any previously filtered listviews...
Definition: k3listviewsearchline.cpp:226
const char header[]
virtual void contextMenuEvent(QContextMenuEvent *e)
Re-implemented for internal reasons.
Definition: k3listviewsearchline.cpp:281
bool keepParentsVisible() const
If this is true (the default) then the parents of matched items will also be shown.
Definition: k3listviewsearchline.cpp:110
QMenu * createStandardContextMenu()
virtual void updateSearch(const QString &s=QString())
Updates search to only make visible the items that match s.
Definition: k3listviewsearchline.cpp:161
QString label(StandardShortcut id)
QList< int > searchColumns() const
Returns the current list of columns that will be searched.
Definition: k3listviewsearchline.cpp:102
virtual bool canChooseColumnsCheck()
Checks columns in all listviews and decides whether choosing columns to filter on makes any sense...
Definition: k3listviewsearchline.cpp:349
void activateSearch()
When the timer started with queueSearch() expires this slot is called.
Definition: k3listviewsearchline.cpp:398
K3ListViewSearchLineWidget(K3ListView *listView=0, QWidget *parent=0)
Creates a K3ListViewSearchLineWidget for listView with parent as the parent with and name...
Definition: k3listviewsearchline.cpp:531
QString i18nc(const char *ctxt, const char *text)
virtual bool itemMatches(const Q3ListViewItem *item, const QString &s) const
Returns true if item matches the search s.
Definition: k3listviewsearchline.cpp:252
K3ListViewSearchLine * searchLine() const
Returns a pointer to the search line.
Definition: k3listviewsearchline.cpp:567
virtual void createWidgets()
Creates the widgets inside of the widget.
Definition: k3listviewsearchline.cpp:555
Definition: k3listview.h:112
virtual void disconnectListView(K3ListView *)
Disconnects signals of a listviews from the search line.
Definition: k3listviewsearchline.cpp:341
virtual void connectListView(K3ListView *)
Connects signals of this listview to the appropriate slots of the search line.
Definition: k3listviewsearchline.cpp:333
virtual ~K3ListViewSearchLine()
Destroys the K3ListViewSearchLine.
Definition: k3listviewsearchline.cpp:92
~K3ListViewSearchLineWidget()
Destroys the K3ListViewSearchLineWidget.
Definition: k3listviewsearchline.cpp:543
void queueSearch(const QString &search)
When keys are pressed a new search string is created and a timer is activated.
Definition: k3listviewsearchline.cpp:391
This Widget extends the functionality of Q3ListView to honor the system wide settings for Single Clic...
Definition: k3listview.h:57
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: k3listviewsearchline.cpp:215
This class makes it easy to add a search line for filtering the items in listviews based on a simple ...
Definition: k3listviewsearchline.h:38
K3ListView * listView() const
Returns the listview that is currently filtered by the search.
Definition: k3listviewsearchline.cpp:115
bool caseSensitive() const
Returns true if the search is case sensitive.
Definition: k3listviewsearchline.cpp:97
K3ListViewSearchLine(QWidget *parent=0, K3ListView *listView=0)
Constructs a K3ListViewSearchLine with listView being the K3ListView to be filtered.
Definition: k3listviewsearchline.cpp:64
void setCaseSensitive(bool cs)
Make the search case sensitive or case insensitive.
Definition: k3listviewsearchline.cpp:210
void setSpacing(int space)
void removeListView(K3ListView *lv)
Removes a K3ListView from the list of listviews filtered by this search line.
Definition: k3listviewsearchline.cpp:145
void setClearButtonShown(bool show)
Definition: k3listview.h:109
const QList< K3ListView * > & listViews() const
Returns the list of pointers to listviews that are currently filtered by the search.
Definition: k3listviewsearchline.cpp:123
virtual K3ListViewSearchLine * createSearchLine(K3ListView *listView)
Creates the search line.
Definition: k3listviewsearchline.cpp:548
void setSearchColumns(const QList< int > &columns)
Sets the list of columns to be searched.
Definition: k3listviewsearchline.cpp:220
void addListView(K3ListView *lv)
Adds a K3ListView to the list of listviews filtered by this search line.
Definition: k3listviewsearchline.cpp:133
void setListViews(const QList< K3ListView * > &lv)
Sets K3ListViews that are filtered by this search line, replacing any previously filtered listviews...
Definition: k3listviewsearchline.cpp:232
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.