Qt 4.8
Public Functions | Public Variables | List of all members
QObjectConnectionListVector Class Reference
Inheritance diagram for QObjectConnectionListVector:
QVector< QObjectPrivate::ConnectionList >

Public Functions

QObjectPrivate::ConnectionListoperator[] (int at)
 
 QObjectConnectionListVector ()
 
- Public Functions inherited from QVector< QObjectPrivate::ConnectionList >
void append (const QObjectPrivate::ConnectionList &t)
 Inserts value at the end of the vector. More...
 
const QObjectPrivate::ConnectionListat (int i) const
 Returns the item at index position i in the vector. More...
 
reference back ()
 This function is provided for STL compatibility. More...
 
const_reference back () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
iterator begin ()
 Returns an STL-style iterator pointing to the first item in the vector. More...
 
const_iterator begin () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
int capacity () const
 Returns the maximum number of items that can be stored in the vector without forcing a reallocation. More...
 
void clear ()
 Removes all the elements from the vector and releases the memory used by the vector. More...
 
const_iterator constBegin () const
 Returns a const STL-style iterator pointing to the first item in the vector. More...
 
const QObjectPrivate::ConnectionListconstData () const
 Returns a const pointer to the data stored in the vector. More...
 
const_iterator constEnd () const
 Returns a const STL-style iterator pointing to the imaginary item after the last item in the vector. More...
 
bool contains (const QObjectPrivate::ConnectionList &t) const
 Returns true if the vector contains an occurrence of value; otherwise returns false. More...
 
int count (const QObjectPrivate::ConnectionList &t) const
 Returns the number of occurrences of value in the vector. More...
 
int count () const
 Same as size(). More...
 
QObjectPrivate::ConnectionListdata ()
 Returns a pointer to the data stored in the vector. More...
 
const QObjectPrivate::ConnectionListdata () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
void detach ()
 
bool empty () const
 This function is provided for STL compatibility. More...
 
iterator end ()
 Returns an STL-style iterator pointing to the imaginary item after the last item in the vector. More...
 
const_iterator end () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
bool endsWith (const QObjectPrivate::ConnectionList &t) const
 Returns true if this vector is not empty and its last item is equal to value; otherwise returns false. More...
 
iterator erase (iterator begin, iterator end)
 Removes all the items from begin up to (but not including) end. More...
 
iterator erase (iterator pos)
 Removes the item pointed to by the iterator pos from the vector, and returns an iterator to the next item in the vector (which may be end()). More...
 
QVector< QObjectPrivate::ConnectionList > & fill (const QObjectPrivate::ConnectionList &t, int size=-1)
 Assigns value to all items in the vector. More...
 
QObjectPrivate::ConnectionListfirst ()
 Returns a reference to the first item in the vector. More...
 
const QObjectPrivate::ConnectionListfirst () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
QObjectPrivate::ConnectionListfront ()
 This function is provided for STL compatibility. More...
 
const_reference front () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
int indexOf (const QObjectPrivate::ConnectionList &t, int from=0) const
 Returns the index position of the first occurrence of value in the vector, searching forward from index position from. More...
 
void insert (int i, const QObjectPrivate::ConnectionList &t)
 Inserts value at index position i in the vector. More...
 
void insert (int i, int n, const QObjectPrivate::ConnectionList &t)
 Inserts count copies of value at index position i in the vector. More...
 
iterator insert (iterator before, int n, const QObjectPrivate::ConnectionList &x)
 Inserts count copies of value in front of the item pointed to by the iterator before. More...
 
iterator insert (iterator before, const QObjectPrivate::ConnectionList &x)
 Inserts value in front of the item pointed to by the iterator before. More...
 
bool isDetached () const
 
bool isEmpty () const
 Returns true if the vector has size 0; otherwise returns false. More...
 
bool isSharedWith (const QVector< QObjectPrivate::ConnectionList > &other) const
 
QObjectPrivate::ConnectionListlast ()
 Returns a reference to the last item in the vector. More...
 
const QObjectPrivate::ConnectionListlast () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
int lastIndexOf (const QObjectPrivate::ConnectionList &t, int from=-1) const
 Returns the index position of the last occurrence of the value value in the vector, searching backward from index position from. More...
 
QVector< QObjectPrivate::ConnectionListmid (int pos, int length=-1) const
 Returns a vector whose elements are copied from this vector, starting at position pos. More...
 
bool operator!= (const QVector< QObjectPrivate::ConnectionList > &v) const
 Returns true if other is not equal to this vector; otherwise returns false. More...
 
QVector< QObjectPrivate::ConnectionListoperator+ (const QVector< QObjectPrivate::ConnectionList > &l) const
 Returns a vector that contains all the items in this vector followed by all the items in the other vector. More...
 
QVector< QObjectPrivate::ConnectionList > & operator+= (const QVector< QObjectPrivate::ConnectionList > &l)
 Appends the items of the other vector to this vector and returns a reference to this vector. More...
 
QVector< QObjectPrivate::ConnectionList > & operator+= (const QObjectPrivate::ConnectionList &t)
 Appends value to the vector. More...
 
QVector< QObjectPrivate::ConnectionList > & operator<< (const QVector< QObjectPrivate::ConnectionList > &l)
 Appends other to the vector and returns a reference to the vector. More...
 
QVector< QObjectPrivate::ConnectionList > & operator<< (const QObjectPrivate::ConnectionList &t)
 Appends value to the vector and returns a reference to this vector. More...
 
QVector< QObjectPrivate::ConnectionList > & operator= (const QVector< QObjectPrivate::ConnectionList > &v)
 Assigns other to this vector and returns a reference to this vector. More...
 
bool operator== (const QVector< QObjectPrivate::ConnectionList > &v) const
 Returns true if other is equal to this vector; otherwise returns false. More...
 
QObjectPrivate::ConnectionListoperator[] (int i)
 Returns the item at index position i as a modifiable reference. More...
 
const QObjectPrivate::ConnectionListoperator[] (int i) const
 Same as at(i). More...
 
void pop_back ()
 This function is provided for STL compatibility. More...
 
void pop_front ()
 This function is provided for STL compatibility. More...
 
void prepend (const QObjectPrivate::ConnectionList &t)
 Inserts value at the beginning of the vector. More...
 
void push_back (const QObjectPrivate::ConnectionList &t)
 This function is provided for STL compatibility. More...
 
void push_front (const QObjectPrivate::ConnectionList &t)
 This function is provided for STL compatibility. More...
 
 QVector ()
 Constructs an empty vector. More...
 
 QVector (int size)
 Constructs a vector with an initial size of size elements. More...
 
 QVector (int size, const QObjectPrivate::ConnectionList &t)
 Constructs a vector with an initial size of size elements. More...
 
 QVector (const QVector< QObjectPrivate::ConnectionList > &v)
 Constructs a copy of other. More...
 
void remove (int i)
 Removes the element at index position i. More...
 
void remove (int i, int n)
 Removes count elements from the middle of the vector, starting at index position i. More...
 
void replace (int i, const QObjectPrivate::ConnectionList &t)
 Replaces the item at index position i with value. More...
 
void reserve (int size)
 Attempts to allocate memory for at least size elements. More...
 
void resize (int size)
 Sets the size of the vector to size. More...
 
void setSharable (bool sharable)
 
int size () const
 Returns the number of items in the vector. More...
 
void squeeze ()
 Releases any memory not required to store the items. More...
 
bool startsWith (const QObjectPrivate::ConnectionList &t) const
 Returns true if this vector is not empty and its first item is equal to value; otherwise returns false. More...
 
void swap (QVector< QObjectPrivate::ConnectionList > &other)
 Swaps vector other with this vector. More...
 
QList< QObjectPrivate::ConnectionListtoList () const
 Returns a QList object with the data contained in this QVector. More...
 
std::vector< QObjectPrivate::ConnectionListtoStdVector () const
 Returns a std::vector object with the data contained in this QVector. More...
 
QObjectPrivate::ConnectionList value (int i) const
 Returns the value at index position i in the vector. More...
 
QObjectPrivate::ConnectionList value (int i, const QObjectPrivate::ConnectionList &defaultValue) const
 If the index i is out of bounds, the function returns defaultValue. More...
 
 ~QVector ()
 Destroys the vector. More...
 

Public Variables

QObjectPrivate::ConnectionList allsignals
 
bool dirty
 
int inUse
 
bool orphaned
 
- Public Variables inherited from QVector< QObjectPrivate::ConnectionList >
QVectorDatad
 
Datap
 

Additional Inherited Members

- Public Types inherited from QVector< QObjectPrivate::ConnectionList >
typedef const QObjectPrivate::ConnectionListconst_iterator
 The QVector::const_iterator typedef provides an STL-style const iterator for QVector and QStack. More...
 
typedef const value_typeconst_pointer
 Typedef for const T *. More...
 
typedef const value_typeconst_reference
 Typedef for T &. More...
 
typedef const_iterator ConstIterator
 Qt-style synonym for QVector::const_iterator. More...
 
typedef qptrdiff difference_type
 Typedef for ptrdiff_t. More...
 
typedef QObjectPrivate::ConnectionListiterator
 The QVector::iterator typedef provides an STL-style non-const iterator for QVector and QStack. More...
 
typedef iterator Iterator
 Qt-style synonym for QVector::iterator. More...
 
typedef value_typepointer
 Typedef for T *. More...
 
typedef value_typereference
 Typedef for T &. More...
 
typedef int size_type
 Typedef for int. More...
 
typedef QObjectPrivate::ConnectionList value_type
 Typedef for T. More...
 
- Static Public Functions inherited from QVector< QObjectPrivate::ConnectionList >
static QVector< QObjectPrivate::ConnectionListfromList (const QList< QObjectPrivate::ConnectionList > &list)
 Returns a QVector object with the data contained in list. More...
 
static QVector< QObjectPrivate::ConnectionListfromStdVector (const std::vector< QObjectPrivate::ConnectionList > &vector)
 Returns a QVector object with the data contained in vector. More...
 

Detailed Description

Definition at line 254 of file qobject.cpp.

Constructors and Destructors

◆ QObjectConnectionListVector()

QObjectConnectionListVector::QObjectConnectionListVector ( )
inline

Functions

◆ operator[]()

QObjectPrivate::ConnectionList& QObjectConnectionListVector::operator[] ( int  at)
inline

Definition at line 266 of file qobject.cpp.

267  {
268  if (at < 0)
269  return allsignals;
271  }
QObjectPrivate::ConnectionList allsignals
Definition: qobject.cpp:260
T & operator[](int i)
Returns the item at index position i as a modifiable reference.
Definition: qvector.h:358
const QObjectPrivate::ConnectionList & at(int i) const
Returns the item at index position i in the vector.
Definition: qvector.h:350

Properties

◆ allsignals

QObjectPrivate::ConnectionList QObjectConnectionListVector::allsignals

Definition at line 260 of file qobject.cpp.

Referenced by QMetaObject::activate().

◆ dirty

bool QObjectConnectionListVector::dirty

◆ inUse

int QObjectConnectionListVector::inUse

◆ orphaned

bool QObjectConnectionListVector::orphaned

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