Mailcommon
foldertreewidget.cpp
73 connect(d->folderTreeView, &FolderTreeView::manualSortingChanged, this, &FolderTreeWidget::slotManualSortingChanged);
84 d->filterFolderLineEdit->setPlaceholderText(i18nc("@info Displayed grayed-out inside the textbox, verb to search", "Search"));
96 d->readableproxy->setSourceModel((options & HideStatistics) ? static_cast<QAbstractItemModel *>(KernelIf->collectionModel())
100 connect(d->folderTreeView, &FolderTreeView::changeTooltipsPolicy, this, &FolderTreeWidget::slotChangeTooltipsPolicy);
123 connect(d->filterFolderLineEdit, &QLineEdit::textChanged, this, &FolderTreeWidget::slotFilterFixedString);
165 void FolderTreeWidget::selectCollectionFolder(const Akonadi::Collection &collection, bool expand)
167 const QModelIndex index = Akonadi::EntityTreeModel::modelIndexForCollection(d->folderTreeView->model(), collection);
217 const auto collection = index.model()->data(index, Akonadi::EntityTreeModel::CollectionRole).value<Akonadi::Collection>();
void append(const T &value)
@ DisplayWhenTextElided
Display the tooltip if the item text is actually elided.
Definition: foldertreewidget.h:67
KeyPress
CaseInsensitive
virtual QVariant data(const QModelIndex &index, int role) const const=0
KXMLGUIClient * xmlGuiClient() const
T value() const const
NoEditTriggers
virtual bool event(QEvent *event) override
void setFont(const QFont &)
QFont systemFont(QFontDatabase::SystemFont type)
@ DisplayAlways
Always display a tooltip when hovering over an item.
Definition: foldertreewidget.h:66
NoContextMenu
void setAttribute(Qt::WidgetAttribute attribute, bool on)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString text() const const
Q_SCRIPTABLE Q_NOREPLY void start()
bool isPrint() const const
static QString mimeType()
QString i18n(const char *text, const TYPE &arg...)
The EntityCollectionOrderProxyModel class implements ordering of mail collections.
Definition: entitycollectionorderproxymodel.h:30
CollectionRole
void textChanged(const QString &text)
bool isEmpty() const const
const T & at(int i) const const
The FolderTreeWidgetProxyModel class.
Definition: foldertreewidgetproxymodel.h:21
QFuture< void > filter(Sequence &sequence, KeepFunctor filterFunction)
bool isEmpty() const const
SingleSelection
This is an enhanced EntityTreeView specially suited for the folders in KMail's main folder widget.
Definition: foldertreeview.h:30
Key_Backspace
bool isValid() const const
GeneralFont
QString label(StandardShortcut id)
selectedIndexes
int key() const const
QEvent::Type type() const const
const QChar at(int position) const const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
QString i18nc(const char *context, const char *text, const TYPE &arg...)
static QModelIndex modelIndexForCollection(const QAbstractItemModel *model, const Collection &collection)
bool isValid() const
const QString & commitString() const const
const FMH::MODEL filterModel(const MODEL &model, const QVector< MODEL_KEY > &keys)
const QAbstractItemModel * model() const const
WA_InputMethodEnabled
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 03:59:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 03:59:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.