Messagelib
widgetbase.h
56 void setStorageModel(StorageModel *storageModel, PreSelectionMode preSelectionMode = PreSelectLastSelected);
135 * Shows or hides the quicksearch field, the filter combobox and the toolbutton for advanced search.
180 virtual void viewMessageListContextPopupRequest(const QList<MessageItem *> &selectedItems, const QPoint &globalPos);
185 virtual void viewGroupHeaderContextPopupRequest(GroupHeaderItem *group, const QPoint &globalPos);
211 virtual void viewMessageStatusChangeRequest(MessageItem *msg, Akonadi::MessageStatus set, Akonadi::MessageStatus clear);
This class is responsible of matching messages that should be displayed in the View.
Definition filter.h:34
The QAbstractItemModel based interface that you need to provide for your storage to work with Message...
Definition storagemodelbase.h:29
The MessageList::View is the real display of the message list.
Definition view.h:48
Provides a widget which has the messagelist and the most important helper widgets,...
Definition widgetbase.h:42
virtual void viewDragMoveEvent(QDragMoveEvent *e)
This is called by View when a drag move event is received.
Definition widgetbase.cpp:1102
bool isThreaded() const
Returns true if the current Aggregation is threaded, false otherwise (or if there is no current Aggre...
Definition widgetbase.cpp:1126
virtual void fillMessageTagCombo()
Called when the "Message Status/Tag" filter menu is opened by the user.
Definition widgetbase.cpp:915
virtual void viewMessageStatusChangeRequest(MessageItem *msg, Akonadi::MessageStatus set, Akonadi::MessageStatus clear)
This is called by View when a message item is manipulated by the user in a way that it's status shoul...
Definition widgetbase.cpp:1114
bool selectionEmpty() const
Fast function that determines if the selection is empty.
Definition widgetbase.cpp:1131
void changeQuicksearchVisibility(bool)
Shows or hides the quicksearch field, the filter combobox and the toolbutton for advanced search.
Definition widgetbase.cpp:202
StorageModel * storageModel() const
Returns the StorageModel currently set.
Definition widgetbase.cpp:396
virtual void viewDropEvent(QDropEvent *e)
This is called by View when a drop event is received.
Definition widgetbase.cpp:1106
void slotViewHeaderSectionClicked(int logicalIndex)
Handles header section clicks switching the Aggregation MessageSorting on-the-fly.
Definition widgetbase.cpp:857
virtual void viewMessageListContextPopupRequest(const QList< MessageItem * > &selectedItems, const QPoint &globalPos)
This is called by View when a message is right clicked.
Definition widgetbase.cpp:1090
void setCurrentFolder(const Akonadi::Collection &collection)
Sets the current folder.
Definition widgetbase.cpp:1141
virtual void viewSelectionChanged()
This is called by View when selection changes.
Definition widgetbase.cpp:1086
virtual void viewMessageActivated(MessageItem *msg)
This is called by View when a message is double-clicked or activated by other input means.
Definition widgetbase.cpp:1082
virtual void viewStartDragRequest()
This is called by View when a drag can possibly be started.
Definition widgetbase.cpp:1110
virtual void viewGroupHeaderContextPopupRequest(GroupHeaderItem *group, const QPoint &globalPos)
This is called by View when a group header is right clicked.
Definition widgetbase.cpp:1094
void setCurrentStatusFilterItem()
Must be called by fillMessageTagCombo()
Definition widgetbase.cpp:244
void populateStatusFilterCombo()
This is called to setup the status filter's QComboBox.
Definition widgetbase.cpp:224
void aggregationsChanged()
This is called by Manager when the option sets stored within have changed.
Definition widgetbase.cpp:907
void themesChanged()
This is called by Manager when the option sets stored within have changed.
Definition widgetbase.cpp:900
QString currentFilterTagId() const
Returns the id of the MessageItem::Tag currently set in the quicksearch field.
Definition widgetbase.cpp:287
Core::MessageItem * currentMessageItem() const
Returns the current MessageItem in the current folder.
Definition widgetbase.cpp:253
void setStorageModel(StorageModel *storageModel, PreSelectionMode preSelectionMode=PreSelectLastSelected)
Sets the storage model for this Widget.
Definition widgetbase.cpp:361
QList< Akonadi::MessageStatus > currentFilterStatus() const
Returns the Akonadi::MessageStatus in the current quicksearch field.
Definition widgetbase.cpp:263
virtual void viewMessageSelected(MessageItem *msg)
This is called by View when a message is single-clicked (thus selected and made current)
Definition widgetbase.cpp:1078
virtual void viewDragEnterEvent(QDragEnterEvent *e)
This is called by View when a drag enter event is received.
Definition widgetbase.cpp:1098
void focusQuickSearch(const QString &selectedText)
Sets the focus on the quick search line of the currently active tab.
Definition widgetbase.cpp:1121
QString currentFilterSearchString() const
Returns the search term in the current quicksearch field.
Definition widgetbase.cpp:279
void statusMessage(const QString &message)
Notify the outside when updating the status bar with a message could be useful.
Q_SCRIPTABLE bool setFilter(const QString &filter)
PreSelectionMode
Pre-selection is the action of automatically selecting a message just after the folder has finished l...
Definition messagelist/src/core/enums.h:28
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:55:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:55:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.