kmail
#include <searchwindow.h>
Public Member Functions | |
SearchWindow (KMMainWidget *parent, const Akonadi::Collection &collection=Akonadi::Collection()) | |
~SearchWindow () | |
void | activateFolder (const Akonadi::Collection &folder) |
void | addRulesToSearchPattern (const MailCommon::SearchPattern &pattern) |
Akonadi::Item | selectedMessage () const |
Akonadi::Item::List | selectedMessages () const |
Protected Member Functions | |
void | closeEvent (QCloseEvent *) |
void | createSearchModel () |
void | keyPressEvent (QKeyEvent *) |
Detailed Description
Definition at line 63 of file searchwindow.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new search window.
- Parameters
-
parent The parent widget. collection The folder which will be pre-selected as the base folder of search operations.
Definition at line 70 of file searchwindow.cpp.
KMail::SearchWindow::~SearchWindow | ( | ) |
Destroys the search window.
Definition at line 290 of file searchwindow.cpp.
Member Function Documentation
void KMail::SearchWindow::activateFolder | ( | const Akonadi::Collection & | folder | ) |
Changes the base folder for search operations to a different folder.
- Parameters
-
folder The folder to use as the new base for searches.
Definition at line 382 of file searchwindow.cpp.
void KMail::SearchWindow::addRulesToSearchPattern | ( | const MailCommon::SearchPattern & | pattern | ) |
Loads a search pattern into the search window, appending its rules to the current one.
Definition at line 833 of file searchwindow.cpp.
|
protected |
Reimplemented to stop searching when the window is closed.
Definition at line 615 of file searchwindow.cpp.
|
protected |
Definition at line 318 of file searchwindow.cpp.
|
protected |
Reimplemented to react to Escape.
Definition at line 367 of file searchwindow.cpp.
Akonadi::Item KMail::SearchWindow::selectedMessage | ( | ) | const |
Provides access to the currently selected message.
- Returns
- the currently selected message.
Definition at line 723 of file searchwindow.cpp.
Akonadi::Item::List KMail::SearchWindow::selectedMessages | ( | ) | const |
Provides access to the list of currently selected message in the listview.
- Returns
- The list of currently selected search result messages.
Definition at line 710 of file searchwindow.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.