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

Detailed Description
Definition at line 28 of file vocabularydelegate.h.
Public Slots | |
| void | setDocument (KEduVocDocument *doc) |
Public Member Functions | |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| void | setCurrentIndex (const QModelIndex &index) |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| void | setTranslator (Translator *translator) |
| VocabularyDelegate (QObject *parent=0) | |
Classes | |
| class | WordTypeBasicModel |
Constructor & Destructor Documentation
| VocabularyDelegate::VocabularyDelegate | ( | QObject * | parent = 0 |
) |
Definition at line 37 of file vocabularydelegate.cpp.
Member Function Documentation
| QWidget * VocabularyDelegate::createEditor | ( | QWidget * | parent, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const |
| void VocabularyDelegate::setCurrentIndex | ( | const QModelIndex & | index | ) |
Definition at line 289 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setDocument | ( | KEduVocDocument * | doc | ) | [slot] |
Definition at line 294 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setEditorData | ( | QWidget * | editor, | |
| const QModelIndex & | index | |||
| ) | const |
Definition at line 182 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setModelData | ( | QWidget * | editor, | |
| QAbstractItemModel * | model, | |||
| const QModelIndex & | index | |||
| ) | const |
Definition at line 220 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 336 of file vocabularydelegate.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference