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

Classes | |
| class | WordTypeBasicModel |
Public Slots | |
| void | commitAndCloseEditor () |
| void | setDocument (KEduVocDocument *doc) |
Public Member Functions | |
| VocabularyDelegate (QObject *parent=0) | |
| 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) |
Detailed Description
Definition at line 28 of file vocabularydelegate.h.
Constructor & Destructor Documentation
| VocabularyDelegate::VocabularyDelegate | ( | QObject * | parent = 0 |
) |
Definition at line 38 of file vocabularydelegate.cpp.
Member Function Documentation
| void VocabularyDelegate::commitAndCloseEditor | ( | ) | [slot] |
Definition at line 254 of file vocabularydelegate.cpp.
| QWidget * VocabularyDelegate::createEditor | ( | QWidget * | parent, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const |
as long as it's unused
Definition at line 74 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setCurrentIndex | ( | const QModelIndex & | index | ) |
Definition at line 265 of file vocabularydelegate.cpp.
| void VocabularyDelegate::setDocument | ( | KEduVocDocument * | doc | ) | [slot] |
Definition at line 270 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 310 of file vocabularydelegate.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference