Qt 4.8
Public Functions | Public Variables | List of all members
QProxyModelPrivate Class Reference

#include <qproxymodel_p.h>

Inheritance diagram for QProxyModelPrivate:
QAbstractItemModelPrivate

Public Functions

void _q_sourceColumnsAboutToBeInserted (const QModelIndex &parent, int first, int last)
 
void _q_sourceColumnsAboutToBeRemoved (const QModelIndex &parent, int first, int last)
 
void _q_sourceColumnsInserted (const QModelIndex &parent, int first, int last)
 
void _q_sourceColumnsRemoved (const QModelIndex &parent, int first, int last)
 
void _q_sourceDataChanged (const QModelIndex &tl, const QModelIndex &br)
 
void _q_sourceRowsAboutToBeInserted (const QModelIndex &parent, int first, int last)
 
void _q_sourceRowsAboutToBeRemoved (const QModelIndex &parent, int first, int last)
 
void _q_sourceRowsInserted (const QModelIndex &parent, int first, int last)
 
void _q_sourceRowsRemoved (const QModelIndex &parent, int first, int last)
 
 QProxyModelPrivate ()
 

Public Variables

QEmptyModel empty
 
QAbstractItemModelmodel
 

Additional Inherited Members

- Private Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
- Private Functions inherited from QAbstractItemModelPrivate
bool allowMove (const QModelIndex &srcParent, int srcFirst, int srcLast, const QModelIndex &destinationParent, int destinationChild, Qt::Orientation orientation)
 Returns whether a move operation is valid. More...
 
void columnsAboutToBeInserted (const QModelIndex &parent, int first, int last)
 
void columnsAboutToBeRemoved (const QModelIndex &parent, int first, int last)
 
void columnsInserted (const QModelIndex &parent, int first, int last)
 
void columnsRemoved (const QModelIndex &parent, int first, int last)
 
QModelIndex createIndex (int row, int column, void *data=0) const
 
QModelIndex createIndex (int row, int column, int id) const
 
bool indexValid (const QModelIndex &index) const
 
void invalidatePersistentIndex (const QModelIndex &index)
 
void invalidatePersistentIndexes ()
 
void itemsAboutToBeMoved (const QModelIndex &srcParent, int srcFirst, int srcLast, const QModelIndex &destinationParent, int destinationChild, Qt::Orientation)
 
void itemsMoved (const QModelIndex &srcParent, int srcFirst, int srcLast, const QModelIndex &destinationParent, int destinationChild, Qt::Orientation orientation)
 
void movePersistentIndexes (QVector< QPersistentModelIndexData *> indexes, int change, const QModelIndex &parent, Qt::Orientation orientation)
 Moves persistent indexes indexes by amount change. More...
 
 QAbstractItemModelPrivate ()
 
void removePersistentIndexData (QPersistentModelIndexData *data)
 
void rowsAboutToBeInserted (const QModelIndex &parent, int first, int last)
 
void rowsAboutToBeRemoved (const QModelIndex &parent, int first, int last)
 
void rowsInserted (const QModelIndex &parent, int first, int last)
 
void rowsRemoved (const QModelIndex &parent, int first, int last)
 
- Private Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Private Functions inherited from QObjectData
virtual ~QObjectData ()=0
 
- Static Private Functions inherited from QAbstractItemModelPrivate
static const QHash< int, QByteArray > & defaultRoleNames ()
 
static QAbstractItemModelstaticEmptyModel ()
 
static bool variantLessThan (const QVariant &v1, const QVariant &v2)
 This function is used by our Q{Tree,Widget,Table}WidgetModel classes to sort. More...
 
- Static Private Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 
- Properties inherited from QAbstractItemModelPrivate
QStack< Changechanges
 
struct QAbstractItemModelPrivate::Persistent persistent
 
QHash< int, QByteArrayroleNames
 
Qt::DropActions supportedDragActions
 
- Properties inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Properties inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Detailed Description

Definition at line 76 of file qproxymodel_p.h.

Constructors and Destructors

◆ QProxyModelPrivate()

QProxyModelPrivate::QProxyModelPrivate ( )
inline

Definition at line 91 of file qproxymodel_p.h.

Functions

◆ _q_sourceColumnsAboutToBeInserted()

void QProxyModelPrivate::_q_sourceColumnsAboutToBeInserted ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 533 of file qproxymodel.cpp.

534 {
535  Q_Q(QProxyModel);
536  q->beginInsertColumns(q->setProxyModel(parent), first, last);
537 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

◆ _q_sourceColumnsAboutToBeRemoved()

void QProxyModelPrivate::_q_sourceColumnsAboutToBeRemoved ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 545 of file qproxymodel.cpp.

546 {
547  Q_Q(QProxyModel);
548  q->beginRemoveColumns(q->setProxyModel(parent), first, last);
549 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

◆ _q_sourceColumnsInserted()

void QProxyModelPrivate::_q_sourceColumnsInserted ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 539 of file qproxymodel.cpp.

540 {
541  Q_Q(QProxyModel);
542  q->endInsertColumns();
543 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

◆ _q_sourceColumnsRemoved()

void QProxyModelPrivate::_q_sourceColumnsRemoved ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 552 of file qproxymodel.cpp.

553 {
554  Q_Q(QProxyModel);
555  q->endRemoveColumns();
556 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

◆ _q_sourceDataChanged()

void QProxyModelPrivate::_q_sourceDataChanged ( const QModelIndex tl,
const QModelIndex br 
)

Definition at line 503 of file qproxymodel.cpp.

504 {
505  Q_Q(QProxyModel);
506  emit q->dataChanged(q->setProxyModel(tl), q->setProxyModel(br));
507 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57
#define emit
Definition: qobjectdefs.h:76

◆ _q_sourceRowsAboutToBeInserted()

void QProxyModelPrivate::_q_sourceRowsAboutToBeInserted ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 509 of file qproxymodel.cpp.

510 {
511  Q_Q(QProxyModel);
512  q->beginInsertRows(q->setProxyModel(parent), first, last);
513 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

◆ _q_sourceRowsAboutToBeRemoved()

void QProxyModelPrivate::_q_sourceRowsAboutToBeRemoved ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 521 of file qproxymodel.cpp.

522 {
523  Q_Q(QProxyModel);
524  q->beginRemoveRows(q->setProxyModel(parent), first, last);
525 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

◆ _q_sourceRowsInserted()

void QProxyModelPrivate::_q_sourceRowsInserted ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 515 of file qproxymodel.cpp.

516 {
517  Q_Q(QProxyModel);
518  q->endInsertRows();
519 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

◆ _q_sourceRowsRemoved()

void QProxyModelPrivate::_q_sourceRowsRemoved ( const QModelIndex parent,
int  first,
int  last 
)

Definition at line 527 of file qproxymodel.cpp.

528 {
529  Q_Q(QProxyModel);
530  q->endRemoveRows();
531 }
#define Q_Q(Class)
Definition: qglobal.h:2483
The QProxyModel class provides support for processing data passed between another model and a view...
Definition: qproxymodel.h:57

Properties

◆ empty

QEmptyModel QProxyModelPrivate::empty

Definition at line 93 of file qproxymodel_p.h.

◆ model

QAbstractItemModel* QProxyModelPrivate::model

Definition at line 92 of file qproxymodel_p.h.


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