kget
autopastemodel.h
Go to the documentation of this file.
33 QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
36 void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const;
109 void addItems(const QList<int> &dataTypes, const QList<int> patternSyntaxes, const QStringList &patterns);
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Definition: autopastemodel.cpp:229
Definition: autopastemodel.h:44
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
Definition: autopastemodel.cpp:92
bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: autopastemodel.cpp:259
int rowCount(const QModelIndex &index=QModelIndex()) const
Definition: autopastemodel.cpp:148
Definition: autopastemodel.h:60
QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: autopastemodel.cpp:35
AutoPasteDelegate(QAbstractItemModel *types, QAbstractItemModel *syntaxes, QObject *parent=0)
Definition: autopastemodel.cpp:28
Definition: autopastemodel.h:55
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: autopastemodel.cpp:222
Definition: autopastemodel.h:59
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: autopastemodel.cpp:166
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: autopastemodel.cpp:183
void setEditorData(QWidget *editor, const QModelIndex &index) const
Definition: autopastemodel.cpp:63
Definition: autopastemodel.h:26
Definition: autopastemodel.h:50
int columnCount(const QModelIndex &index=QModelIndex()) const
Definition: autopastemodel.cpp:157
void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: autopastemodel.cpp:124
Definition: autopastemodel.h:51
bool moveItem(int sourceRow, int destinationRow)
Moves an item to a new position.
Definition: autopastemodel.cpp:297
Definition: autopastemodel.h:52
void addItem(TypeData dataType, PatternSyntaxData patternSyntax, const QString &pattern)
Adds an an item.
Definition: autopastemodel.cpp:275
Definition: autopastemodel.h:56
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: autopastemodel.cpp:130
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.