AiFractals::AiUndoModel Class Reference

A custom class for creating a undo model. More...

#include <aiundomodel.hpp>

List of all members.

Public Member Functions

 AiUndoModel (QObject *parent=0)
 contructor with optional parent
QUndoStack * getStack () const
void setStack (QUndoStack *stack)
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual QModelIndex parent (const QModelIndex &child) const
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
QModelIndex selectedIndex () const
void setStackCurrentIndex (const QModelIndex &index)

Private Slots

void stackChanged ()

Private Attributes

QUndoStack * m_stack

Detailed Description

A custom class for creating a undo model.

Adrabi Abderrahim

Definition at line 56 of file aiundomodel.hpp.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs

Generated on Sat Feb 27 08:33:22 2010 for AiFractals by  doxygen 1.6.1