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 | childCollectionsFromSelectedCollection (const Akonadi::Collection &collection, KUrl::List &list) | 
| void | closeEvent (QCloseEvent *) | 
| void | createSearchModel () | 
| void | getChildren (const QAbstractItemModel *model, const QModelIndex &parentIndex, KUrl::List &list) | 
| void | keyPressEvent (QKeyEvent *) | 
Detailed Description
Definition at line 65 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 75 of file searchwindow.cpp.
| KMail::SearchWindow::~SearchWindow | ( | ) | 
Destroys the search window.
Definition at line 296 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 388 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 806 of file searchwindow.cpp.
      
  | 
  protected | 
Definition at line 822 of file searchwindow.cpp.
      
  | 
  protected | 
Reimplemented to stop searching when the window is closed.
Definition at line 582 of file searchwindow.cpp.
      
  | 
  protected | 
Definition at line 324 of file searchwindow.cpp.
      
  | 
  protected | 
Definition at line 832 of file searchwindow.cpp.
      
  | 
  protected | 
Reimplemented to react to Escape.
Definition at line 373 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 701 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 688 of file searchwindow.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference