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();
42 void searchCommandActionRequested();
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;
62 QAction *mSaveFilterAction =
nullptr;
63 QAction *mSearchCommandAction =
nullptr;
66 FilterSavedMenu *mFilterSavedMenu =
nullptr;
This class is responsible of matching messages that should be displayed in the View.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.