Messagelib
widgetbase.h
55 void setStorageModel(StorageModel *storageModel, PreSelectionMode preSelectionMode = PreSelectLastSelected);
133 * Shows or hides the quicksearch field, the filter combobox and the toolbutton for advanced search.
178 virtual void viewMessageListContextPopupRequest(const QList<MessageItem *> &selectedItems, const QPoint &globalPos);
183 virtual void viewGroupHeaderContextPopupRequest(GroupHeaderItem *group, const QPoint &globalPos);
209 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:47
Provides a widget which has the messagelist and the most important helper widgets,...
Definition widgetbase.h:41
virtual void viewDragMoveEvent(QDragMoveEvent *e)
This is called by View when a drag move event is received.
Definition widgetbase.cpp:1071
bool isThreaded() const
Returns true if the current Aggregation is threaded, false otherwise (or if there is no current Aggre...
Definition widgetbase.cpp:1095
virtual void fillMessageTagCombo()
Called when the "Message Status/Tag" filter menu is opened by the user.
Definition widgetbase.cpp:903
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:1083
bool selectionEmpty() const
Fast function that determines if the selection is empty.
Definition widgetbase.cpp:1100
void changeQuicksearchVisibility(bool)
Shows or hides the quicksearch field, the filter combobox and the toolbutton for advanced search.
Definition widgetbase.cpp:198
StorageModel * storageModel() const
Returns the StorageModel currently set.
Definition widgetbase.cpp:384
virtual void viewDropEvent(QDropEvent *e)
This is called by View when a drop event is received.
Definition widgetbase.cpp:1075
void slotViewHeaderSectionClicked(int logicalIndex)
Handles header section clicks switching the Aggregation MessageSorting on-the-fly.
Definition widgetbase.cpp:845
virtual void viewMessageListContextPopupRequest(const QList< MessageItem * > &selectedItems, const QPoint &globalPos)
This is called by View when a message is right clicked.
Definition widgetbase.cpp:1059
void setCurrentFolder(const Akonadi::Collection &collection)
Sets the current folder.
Definition widgetbase.cpp:1110
virtual void viewSelectionChanged()
This is called by View when selection changes.
Definition widgetbase.cpp:1055
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:1051
virtual void viewStartDragRequest()
This is called by View when a drag can possibly be started.
Definition widgetbase.cpp:1079
virtual void viewGroupHeaderContextPopupRequest(GroupHeaderItem *group, const QPoint &globalPos)
This is called by View when a group header is right clicked.
Definition widgetbase.cpp:1063
void setCurrentStatusFilterItem()
Must be called by fillMessageTagCombo()
Definition widgetbase.cpp:240
void populateStatusFilterCombo()
This is called to setup the status filter's QComboBox.
Definition widgetbase.cpp:220
void aggregationsChanged()
This is called by Manager when the option sets stored within have changed.
Definition widgetbase.cpp:895
void themesChanged()
This is called by Manager when the option sets stored within have changed.
Definition widgetbase.cpp:888
QString currentFilterTagId() const
Returns the id of the MessageItem::Tag currently set in the quicksearch field.
Definition widgetbase.cpp:275
Core::MessageItem * currentMessageItem() const
Returns the current MessageItem in the current folder.
Definition widgetbase.cpp:249
void setStorageModel(StorageModel *storageModel, PreSelectionMode preSelectionMode=PreSelectLastSelected)
Sets the storage model for this Widget.
Definition widgetbase.cpp:349
QList< Akonadi::MessageStatus > currentFilterStatus() const
Returns the Akonadi::MessageStatus in the current quicksearch field.
Definition widgetbase.cpp:259
virtual void viewMessageSelected(MessageItem *msg)
This is called by View when a message is single-clicked (thus selected and made current)
Definition widgetbase.cpp:1047
virtual void viewDragEnterEvent(QDragEnterEvent *e)
This is called by View when a drag enter event is received.
Definition widgetbase.cpp:1067
void focusQuickSearch(const QString &selectedText)
Sets the focus on the quick search line of the currently active tab.
Definition widgetbase.cpp:1090
QString currentFilterSearchString() const
Returns the search term in the current quicksearch field.
Definition widgetbase.cpp:267
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-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.