Qt 4.8
Classes | Public Functions | Static Public Functions | Public Variables | List of all members
QDeclarativePackagePrivate Class Reference

This attached property holds the name of an item within a Package. More...

Inheritance diagram for QDeclarativePackagePrivate:
QObjectPrivate QObjectData

Classes

struct  DataGuard
 

Public Functions

 QDeclarativePackagePrivate ()
 
- Public 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 ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Static Public Functions

static void data_append (QDeclarativeListProperty< QObject > *prop, QObject *o)
 
static QObjectdata_at (QDeclarativeListProperty< QObject > *prop, int index)
 
static void data_clear (QDeclarativeListProperty< QObject > *prop)
 
static int data_count (QDeclarativeListProperty< QObject > *prop)
 
- Static Public 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)
 

Public Variables

QList< DataGuarddataList
 
- Public Variables 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
 
- Public Variables 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
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 

Detailed Description

This attached property holds the name of an item within a Package.

string Package::name

Definition at line 89 of file qdeclarativepackage.cpp.

Constructors and Destructors

◆ QDeclarativePackagePrivate()

QDeclarativePackagePrivate::QDeclarativePackagePrivate ( )
inline

Definition at line 92 of file qdeclarativepackage.cpp.

92 {}

Functions

◆ data_append()

static void QDeclarativePackagePrivate::data_append ( QDeclarativeListProperty< QObject > *  prop,
QObject o 
)
inlinestatic

Definition at line 105 of file qdeclarativepackage.cpp.

Referenced by QDeclarativePackage::~QDeclarativePackage().

105  {
106  QList<DataGuard> *list = static_cast<QList<DataGuard> *>(prop->data);
107  list->append(DataGuard(o, list));
108  }
void append(const T &t)
Inserts value at the end of the list.
Definition: qlist.h:507
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

◆ data_at()

static QObject* QDeclarativePackagePrivate::data_at ( QDeclarativeListProperty< QObject > *  prop,
int  index 
)
inlinestatic

Definition at line 113 of file qdeclarativepackage.cpp.

Referenced by QDeclarativePackage::~QDeclarativePackage().

113  {
114  QList<DataGuard> *list = static_cast<QList<DataGuard> *>(prop->data);
115  return list->at(index);
116  }
const T & at(int i) const
Returns the item at index position i in the list.
Definition: qlist.h:468
quint16 index
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

◆ data_clear()

static void QDeclarativePackagePrivate::data_clear ( QDeclarativeListProperty< QObject > *  prop)
inlinestatic

Definition at line 109 of file qdeclarativepackage.cpp.

Referenced by QDeclarativePackage::~QDeclarativePackage().

109  {
110  QList<DataGuard> *list = static_cast<QList<DataGuard> *>(prop->data);
111  list->clear();
112  }
void clear()
Removes all items from the list.
Definition: qlist.h:764
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

◆ data_count()

static int QDeclarativePackagePrivate::data_count ( QDeclarativeListProperty< QObject > *  prop)
inlinestatic

Definition at line 117 of file qdeclarativepackage.cpp.

Referenced by QDeclarativePackage::~QDeclarativePackage().

117  {
118  QList<DataGuard> *list = static_cast<QList<DataGuard> *>(prop->data);
119  return list->count();
120  }
int count(const T &t) const
Returns the number of occurrences of value in the list.
Definition: qlist.h:891
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

Properties

◆ dataList

QList<DataGuard> QDeclarativePackagePrivate::dataList

Definition at line 104 of file qdeclarativepackage.cpp.


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