Messagelib
9#include "messagelist_private_export.h"
10#include "quicksearchline.h"
11#include <Akonadi/MessageStatus>
22class MESSAGELIST_TESTS_EXPORT SearchLineStatus :
public QLineEdit
26 explicit SearchLineStatus(QWidget *parent =
nullptr);
27 ~SearchLineStatus()
override;
29 void setLocked(
bool b);
30 [[nodiscard]]
bool locked()
const;
32 void addCompletionItem(
const QString &str);
33 void slotClearHistory();
34 void clearFilterButtonClicked();
36 void slotInsertCommand(
const QString &command);
38 void clearButtonClicked();
39 void forceLostFocus();
41 void activateFilter(MessageList::Core::Filter *f);
42 void searchCommandActionRequested();
45 void contextMenuEvent(QContextMenuEvent *e)
override;
46 void keyPressEvent(QKeyEvent *e)
override;
49 MESSAGELIST_NO_EXPORT
void slotToggledLockAction();
50 MESSAGELIST_NO_EXPORT
void clearFilterAction();
51 MESSAGELIST_NO_EXPORT
void updateLockAction();
52 MESSAGELIST_NO_EXPORT
void initializeActions();
53 MESSAGELIST_NO_EXPORT
void updateFilterLineEditBackgroundColor();
54 MESSAGELIST_NO_EXPORT
void slotClear();
55 MESSAGELIST_NO_EXPORT
void showSavedFiltersMenu();
56 MESSAGELIST_NO_EXPORT
void slotConfigureFilters();
57 MESSAGELIST_NO_EXPORT
void slotActivateFilter(
const QString &identifier);
60 bool mHasFilter =
false;
61 QAction *mLockAction =
nullptr;
62 QAction *mSaveFilterAction =
nullptr;
63 QAction *mSearchCommandAction =
nullptr;
64 QCompleter *
const mCompleter;
65 QStringListModel *
const mCompleterListModel;
66 FilterSavedMenu *mFilterSavedMenu =
nullptr;
67 QStringList mListCompetion;
This class is responsible of matching messages that should be displayed in the View.
The implementation independent part of the MessageList library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:05:41 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.