• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

parley

VocabularyDelegate Class Reference

#include <vocabularydelegate.h>

Inheritance diagram for VocabularyDelegate:

Inheritance graph
[legend]

List of all members.


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

as long as it's unused

Definition at line 74 of file vocabularydelegate.cpp.

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:
  • vocabularydelegate.h
  • vocabularydelegate.cpp

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal