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

kig

Public Member Functions | List of all members
TypesModel Class Reference

#include <typesdialog.h>

Inheritance diagram for TypesModel:
Inheritance graph
[legend]

Public Member Functions

 TypesModel (QObject *parent=0)
 
virtual ~TypesModel ()
 
void addMacros (const std::vector< Macro * > &macros)
 
void clear ()
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
void elementChanged (const QModelIndex &index)
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
bool isMacro (const QModelIndex &index) const
 
Macro * macroFromIndex (const QModelIndex &index) const
 
void removeElements (const QModelIndexList &elems)
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 

Detailed Description

A model for representing the data.

Definition at line 40 of file typesdialog.h.

Constructor & Destructor Documentation

TypesModel::TypesModel ( QObject *  parent = 0)

Definition at line 134 of file typesdialog.cpp.

TypesModel::~TypesModel ( )
virtual

Definition at line 139 of file typesdialog.cpp.

Member Function Documentation

void TypesModel::addMacros ( const std::vector< Macro * > &  macros)

Definition at line 143 of file typesdialog.cpp.

void TypesModel::clear ( )

Definition at line 200 of file typesdialog.cpp.

int TypesModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 239 of file typesdialog.cpp.

QVariant TypesModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 244 of file typesdialog.cpp.

void TypesModel::elementChanged ( const QModelIndex &  index)

Definition at line 208 of file typesdialog.cpp.

QVariant TypesModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 300 of file typesdialog.cpp.

QModelIndex TypesModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
virtual

Definition at line 321 of file typesdialog.cpp.

bool TypesModel::isMacro ( const QModelIndex &  index) const

Definition at line 219 of file typesdialog.cpp.

Macro * TypesModel::macroFromIndex ( const QModelIndex &  index) const

Definition at line 227 of file typesdialog.cpp.

void TypesModel::removeElements ( const QModelIndexList &  elems)

Definition at line 159 of file typesdialog.cpp.

int TypesModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 329 of file typesdialog.cpp.


The documentation for this class was generated from the following files:
  • typesdialog.h
  • typesdialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal