GluonCreator::ProjectModel Class Reference

#include <projectmodel.h>

List of all members.

Classes

class  ProjectModelPrivate

Public Slots

void setProject (GluonEngine::GameProject *project)

Public Member Functions

 ProjectModel (QObject *parent=0)
 ~ProjectModel ()
GluonEngine::GameProjectproject ()
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
virtual QModelIndex parent (const QModelIndex &child) const
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
virtual Qt::DropActions supportedDropActions () const
virtual Qt::ItemFlags flags (const QModelIndex &index) const
virtual QStringList mimeTypes () const
virtual bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
virtual bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
virtual bool removeRows (int row, int count, const QModelIndex &parent)
void addChild (QObject *newChild, QModelIndex &parent)

Detailed Description

Definition at line 35 of file projectmodel.h.


Constructor & Destructor Documentation

ProjectModel::ProjectModel ( QObject parent = 0  ) 

Definition at line 58 of file projectmodel.cpp.

ProjectModel::~ProjectModel (  ) 

Definition at line 63 of file projectmodel.cpp.


Member Function Documentation

void ProjectModel::addChild ( QObject newChild,
QModelIndex &  parent 
)

Definition at line 355 of file projectmodel.cpp.

int ProjectModel::columnCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 139 of file projectmodel.cpp.

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

Definition at line 89 of file projectmodel.cpp.

bool ProjectModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
) [virtual]

Definition at line 287 of file projectmodel.cpp.

Qt::ItemFlags ProjectModel::flags ( const QModelIndex &  index  )  const [virtual]

Definition at line 246 of file projectmodel.cpp.

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

Definition at line 230 of file projectmodel.cpp.

QModelIndex ProjectModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const [virtual]

Definition at line 207 of file projectmodel.cpp.

QStringList ProjectModel::mimeTypes (  )  const [virtual]

Definition at line 269 of file projectmodel.cpp.

QModelIndex ProjectModel::parent ( const QModelIndex &  child  )  const [virtual]

Definition at line 179 of file projectmodel.cpp.

GluonEngine::GameProject * ProjectModel::project (  ) 

Definition at line 70 of file projectmodel.cpp.

bool ProjectModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent 
) [virtual]

Definition at line 330 of file projectmodel.cpp.

int ProjectModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 146 of file projectmodel.cpp.

bool ProjectModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
) [virtual]

Definition at line 318 of file projectmodel.cpp.

void ProjectModel::setProject ( GluonEngine::GameProject project  )  [slot]

Definition at line 76 of file projectmodel.cpp.

Qt::DropActions ProjectModel::supportedDropActions (  )  const [virtual]

Definition at line 240 of file projectmodel.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 13:13:42 2010 for Gluon by  doxygen 1.6.3