kmail
KMail::SearchWindow Class Reference
#include <searchwindow.h>
Detailed Description
The SearchWindow class provides a dialog for triggering a search on folders and storing that search as a search folder.It shows the search results in a listview and allows triggering of operations such as printing or moving on them.
Definition at line 67 of file searchwindow.h.
Public Member Functions | |
SearchWindow (KMMainWidget *parent, const char *name=0, KMFolder *curFolder=0, bool modal=false) | |
virtual | ~SearchWindow () |
void | activateFolder (KMFolder *curFolder) |
KMMessageList | selectedMessages () |
KMMessage * | message () |
Protected Slots | |
virtual void | updStatus (void) |
virtual void | slotClose () |
virtual void | slotSearch () |
virtual void | slotStop () |
void | updateCreateButton (const QString &) |
void | renameSearchFolder () |
void | openSearchFolder () |
void | folderInvalidated (KMFolder *) |
virtual bool | slotShowMsg (QListViewItem *) |
virtual void | updateContextMenuActions () |
virtual void | slotContextMenuRequested (QListViewItem *, const QPoint &, int) |
virtual void | copySelectedToFolder (int menuId) |
virtual void | moveSelectedToFolder (int menuId) |
virtual void | slotFolderActivated () |
void | slotClearSelection () |
void | slotReplyToMsg () |
void | slotReplyAllToMsg () |
void | slotReplyListToMsg () |
void | slotForwardInlineMsg () |
void | slotForwardAttachedMsg () |
void | slotForwardDigestMsg () |
void | slotRedirectMsg () |
void | slotSaveMsg () |
void | slotSaveAttachments () |
void | slotPrintMsg () |
virtual void | searchDone () |
virtual void | slotAddMsg (int idx) |
virtual void | slotRemoveMsg (KMFolder *, Q_UINT32 serNum) |
void | enableGUI () |
void | setEnabledSearchButton (bool) |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | closeEvent (QCloseEvent *) |
Protected Attributes | |
bool | mStopped |
bool | mCloseRequested |
int | mFetchingInProgress |
int | mSortColumn |
SortOrder | mSortOrder |
QGuardedPtr< KMFolderSearch > | mFolder |
QTimer * | mTimer |
QRadioButton * | mChkbxAllFolders |
QRadioButton * | mChkbxSpecificFolders |
KMail::FolderRequester * | mCbxFolders |
QPushButton * | mBtnSearch |
QPushButton * | mBtnStop |
QCheckBox * | mChkSubFolders |
KListView * | mLbxMatches |
QLabel * | mSearchFolderLbl |
QLineEdit * | mSearchFolderEdt |
QPushButton * | mSearchFolderBtn |
QPushButton * | mSearchFolderOpenBtn |
KStatusBar * | mStatusBar |
QWidget * | mLastFocus |
QMap< int, KMFolder * > | mMenuToFolder |
KAction * | mReplyAction |
KAction * | mReplyAllAction |
KAction * | mReplyListAction |
KAction * | mSaveAsAction |
KAction * | mForwardInlineAction |
KAction * | mForwardAttachedAction |
KAction * | mForwardDigestAction |
KAction * | mRedirectAction |
KAction * | mPrintAction |
KAction * | mClearAction |
KAction * | mSaveAtchAction |
KActionMenu * | mForwardActionMenu |
QValueList< QGuardedPtr< KMFolder > > | mFolders |
KMMainWidget * | mKMMainWidget |
KMSearchPatternEdit * | mPatternEdit |
KMSearchPattern * | mSearchPattern |
Static Protected Attributes | |
static const int | MSGID_COLUMN |
Constructor & Destructor Documentation
KMail::SearchWindow::SearchWindow | ( | KMMainWidget * | parent, | |
const char * | name = 0 , |
|||
KMFolder * | curFolder = 0 , |
|||
bool | modal = false | |||
) |
Creates a new search window.
- Parameters:
-
parent The parent widget. name The (widget) name of the dialog. curFolder The folder which will be pre-selected as the base folder of search operations. modal Whether the dialog is to be shown modal.
Definition at line 64 of file searchwindow.cpp.
Member Function Documentation
void KMail::SearchWindow::activateFolder | ( | KMFolder * | curFolder | ) |
Changes the base folder for search operations to a different folder.
- Parameters:
-
curFolder The folder to use as the new base for searches.
Definition at line 397 of file searchwindow.cpp.
KMMessageList KMail::SearchWindow::selectedMessages | ( | ) |
Provides access to the list of currently selected message in the listview.
- Returns:
- The list of currenty selected search result messages.
Definition at line 654 of file searchwindow.cpp.
KMMessage * KMail::SearchWindow::message | ( | ) |
Provides access to the currently selected message.
- Returns:
- the currently selected message.
Definition at line 670 of file searchwindow.cpp.
void KMail::SearchWindow::updStatus | ( | void | ) | [protected, virtual, slot] |
void KMail::SearchWindow::searchDone | ( | ) | [protected, virtual, slot] |
void KMail::SearchWindow::keyPressEvent | ( | QKeyEvent * | ) | [protected, virtual] |
void KMail::SearchWindow::closeEvent | ( | QCloseEvent * | ) | [protected, virtual] |
Reimplemented to stop searching when the window is closed.
Definition at line 556 of file searchwindow.cpp.
The documentation for this class was generated from the following files: