parley
Editor::VocabularyDelegate Class Reference
#include <vocabularydelegate.h>
Inheritance diagram for Editor::VocabularyDelegate:

Classes | |
| class | WordTypeBasicModel |
Public Slots | |
| void | setDocument (KEduVocDocument *doc) |
Public Member Functions | |
| VocabularyDelegate (QObject *parent=0) | |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| void | setTranslator (Translator *translator) |
Detailed Description
Definition at line 30 of file vocabularydelegate.h.
Constructor & Destructor Documentation
| VocabularyDelegate::VocabularyDelegate | ( | QObject * | parent = 0 | ) |
Definition at line 40 of file vocabularydelegate.cpp.
Member Function Documentation
| QWidget * VocabularyDelegate::createEditor | ( | QWidget * | parent, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
as long as it's unused
Definition at line 76 of file vocabularydelegate.cpp.
|
slot |
Definition at line 254 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setEditorData | ( | QWidget * | editor, |
| const QModelIndex & | index | ||
| ) | const |
Definition at line 163 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setModelData | ( | QWidget * | editor, |
| QAbstractItemModel * | model, | ||
| const QModelIndex & | index | ||
| ) | const |
Definition at line 197 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setTranslator | ( | Translator * | translator | ) |
Sets the member variable m_translator to a Translator object.
- Parameters
-
translator Translator Object to be used for retreiving word translations
Definition at line 294 of file vocabularydelegate.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 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:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference