Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Properties | Private Attributes | Friends | Related Functions

PiecesModel Class Reference

Inheritance diagram for PiecesModel:
Inheritance graph
[legend]
Collaboration diagram for PiecesModel:
Collaboration graph
[legend]

List of all members.

Public Slots

void deleteLater ()
virtual void revert ()
virtual bool submit ()

Signals

void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
void destroyed (QObject *=0)
void headerDataChanged (Qt::Orientation orientation, int first, int last)
void layoutAboutToBeChanged ()
void layoutChanged ()

Public Member Functions

void addPiece (const QPixmap &pixmap, const QPoint &location)
void addPieces (const QPixmap &pixmap)
bool blockSignals (bool b)
virtual QModelIndex buddy (const QModelIndex &index) const
virtual bool canFetchMore (const QModelIndex &parent) const
const QObjectListchildren () const
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
bool disconnect (const QObject *receiver, const char *member=0)
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
void dumpObjectInfo ()
void dumpObjectTree ()
QList< QByteArraydynamicPropertyNames () const
virtual bool event (QEvent *)
virtual bool eventFilter (QObject *, QEvent *)
virtual void fetchMore (const QModelIndex &parent)
template<typename T >
findChild (const QString &aName=QString()) const
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
template<typename T >
QList< T > findChildren (const QRegExp &re) const
Qt::ItemFlags flags (const QModelIndex &index) const
bool hasIndex (int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex index (int row, int column=0, const QModelIndex &parent=QModelIndex()) const
bool inherits (const char *classname) const
bool insertColumn (int column, const QModelIndex &parent=QModelIndex())
virtual bool insertColumns (int column, int count, const QModelIndex &parent=QModelIndex())
bool insertRow (int row, const QModelIndex &parent=QModelIndex())
virtual bool insertRows (int row, int count, const QModelIndex &parent=QModelIndex())
void installEventFilter (QObject *)
bool isWidgetType () const
virtual QMap< int, QVariantitemData (const QModelIndex &index) const
void killTimer (int id)
virtual QModelIndexList match (const QModelIndex &start, int role, const QVariant &value, int hits=1, Qt::MatchFlags flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const
QMimeDatamimeData (const QModelIndexList &indexes) const
QStringList mimeTypes () const
void moveToThread (QThread *thread)
QString objectName () const
QObjectparent () const
 PiecesModel (QObject *parent=0)
QVariant property (const char *name) const
bool removeColumn (int column, const QModelIndex &parent=QModelIndex())
virtual bool removeColumns (int column, int count, const QModelIndex &parent=QModelIndex())
void removeEventFilter (QObject *)
bool removeRow (int row, const QModelIndex &parent=QModelIndex())
bool removeRows (int row, int count, const QModelIndex &parent)
int rowCount (const QModelIndex &parent) const
virtual bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
virtual bool setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole)
virtual bool setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles)
void setObjectName (const QString &name)
void setParent (QObject *)
bool setProperty (const char *name, const QVariant &value)
void setSupportedDragActions (Qt::DropActions)
void setUserData (uint id, QObjectUserData *data)
QModelIndex sibling (int row, int column, const QModelIndex &idx) const
bool signalsBlocked () const
virtual void sort (int column, Qt::SortOrder order=Qt::AscendingOrder)
virtual QSize span (const QModelIndex &index) const
int startTimer (int interval)
Qt::DropActions supportedDragActions () const
Qt::DropActions supportedDropActions () const
QThreadthread () const
QObjectUserDatauserData (uint id) const

Static Public Member Functions

static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
static uint registerUserData ()

Protected Member Functions

void beginInsertColumns (const QModelIndex &parent, int first, int last)
void beginInsertRows (const QModelIndex &parent, int first, int last)
void beginRemoveColumns (const QModelIndex &parent, int first, int last)
void beginRemoveRows (const QModelIndex &parent, int first, int last)
void changePersistentIndex (const QModelIndex &from, const QModelIndex &to)
void changePersistentIndexList (const QModelIndexList &from, const QModelIndexList &to)
virtual void childEvent (QChildEvent *)
virtual void connectNotify (const char *signal)
QModelIndex createIndex (int row, int column, int id) const
QModelIndex createIndex (int row, int column, void *data=0) const
QModelIndex createIndex (int row, int column, quint32 id) const
virtual void customEvent (QEvent *)
bool decodeData (int row, int column, const QModelIndex &parent, QDataStream &stream)
virtual void disconnectNotify (const char *signal)
void encodeData (const QModelIndexList &indexes, QDataStream &stream) const
void endInsertColumns ()
void endInsertRows ()
void endRemoveColumns ()
void endRemoveRows ()
QModelIndexList persistentIndexList () const
int receivers (const char *signal) const
void reset ()
QObjectsender () const
virtual void timerEvent (QTimerEvent *)

Protected Attributes

QObjectDatad_ptr

Static Protected Attributes

static const QMetaObject staticQtMetaObject

Properties

QString objectName
 the name of this object

Private Attributes

QList< QPointlocations
QList< QPixmappixmaps

Friends

class QApplication
class QApplicationPrivate
class QCoreApplication
class QCoreApplicationPrivate
struct QMetaObject
class QThreadData
class QWidget

Related Functions

(Note that these are not member functions.)


qFindChild (const QObject *obj, const QString &name)
qFindChildqFindChildren (const QObject *obj, const QString &name=QString(), T dummy=0)()
QList< T > qFindChildren (const QObject *obj, const QString &name)
QList< T > qFindChildrenqFindChildren (const QObject *obj, const QRegExp &regExp)()
QList< T > qFindChildrenqFindChildren (const QObject *obj, const QString &name=QString(), T dummy=0)()
T * qobject_cast (QObject *object)
 QObjectList
void * qt_find_obj_child (QObject *parent, const char *type, const QString &name)

Detailed Description

Definition at line 55 of file piecesmodel.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index