kjots
kjotslinkdialog.cpp
Go to the documentation of this file.
133 const QModelIndexList list = Akonadi::EntityTreeModel::modelIndexesForItem( m_descendantsProxyModel, item );
171 const Akonadi::Collection collection = index.data(Akonadi::EntityTreeModel::CollectionRole).value<Akonadi::Collection>();
175 const Akonadi::Item item = index.data(Akonadi::EntityTreeModel::ItemRole).value<Akonadi::Item>();
This class is a validator intended to be used with an editable QComboBox.
Definition: kjotsbookshelfentryvalidator.h:36
void setCaseSensitivity(Qt::CaseSensitivity caseSensitivity)
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
KJotsLinkDialog(QAbstractItemModel *kjotsModel, QWidget *parent=0)
Definition: kjotslinkdialog.cpp:40
T value() const
bool isValid() const
void setLinkText(const QString &linkText)
Returns the link text shown in the dialog.
Definition: kjotslinkdialog.cpp:110
QString number(int n, int base)
bool isEmpty() const
QString trimmed() const
int row() const
void setColumnHidden(int column, bool hide)
void expandAll()
QString linkUrl() const
Returns the target link url entered by the user.
Definition: kjotslinkdialog.cpp:167
void setChecked(bool)
void addLayout(QLayout *layout, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
QVariant data(int role) const
virtual void setModel(QAbstractItemModel *model)
void setLinkUrl(const QString &linkUrl)
Sets the target link url shown in the dialog.
Definition: kjotslinkdialog.cpp:117
QString linkText() const
Returns the link text entered by the user.
Definition: kjotslinkdialog.cpp:149
void trySetEntry(const QString &text)
Definition: kjotslinkdialog.cpp:154
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.