![]() |
Qt 4.8
|
#include <qeventdispatcher_unix_p.h>
Public Functions | |
| int | activateTimers () |
| QTimerInfoList () | |
| QList< QPair< int, int > > | registeredTimers (QObject *object) const |
| void | registerTimer (int timerId, int interval, QObject *object) |
| void | repairTimersIfNeeded () |
| void | timerInsert (QTimerInfo *) |
| void | timerRepair (const timeval &) |
| bool | timerWait (timeval &) |
| bool | unregisterTimer (int timerId) |
| bool | unregisterTimers (QObject *object) |
| timeval | updateCurrentTime () |
Public Functions inherited from QList< QTimerInfo *> | |
| void | append (const QTimerInfo * &t) |
| Inserts value at the end of the list. More... | |
| void | append (const QList< QTimerInfo * > &t) |
| Appends the items of the value list to this list. More... | |
| const QTimerInfo * & | at (int i) const |
| Returns the item at index position i in the list. More... | |
| QTimerInfo * & | back () |
| This function is provided for STL compatibility. More... | |
| const QTimerInfo * & | 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 list. 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... | |
| void | clear () |
| Removes all items from the list. More... | |
| const_iterator | constBegin () const |
| Returns a const STL-style iterator pointing to the first item in the list. More... | |
| const_iterator | constEnd () const |
| Returns a const STL-style iterator pointing to the imaginary item after the last item in the list. More... | |
| QBool | contains (const QTimerInfo * &t) const |
| Returns true if the list contains an occurrence of value; otherwise returns false. More... | |
| int | count (const QTimerInfo * &t) const |
| Returns the number of occurrences of value in the list. More... | |
| int | count () const |
| Returns the number of items in the list. More... | |
| void | detach () |
| void | detachShared () |
| This prevents needless mallocs, and makes QList more exception safe in case of cleanup work done in destructors on empty lists. More... | |
| 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 list. 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 QTimerInfo * &t) const |
| Returns true if this list is not empty and its last item is equal to value; otherwise returns false. More... | |
| iterator | erase (iterator pos) |
| Removes the item associated with the iterator pos from the list, and returns an iterator to the next item in the list (which may be end()). More... | |
| iterator | erase (iterator first, iterator last) |
| Removes all the items from begin up to (but not including) end. More... | |
| QTimerInfo * & | first () |
| Returns a reference to the first item in the list. More... | |
| const QTimerInfo * & | first () const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| QTimerInfo * & | front () |
| This function is provided for STL compatibility. More... | |
| const QTimerInfo * & | 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 QTimerInfo * &t, int from=0) const |
| Returns the index position of the first occurrence of value in the list, searching forward from index position from. More... | |
| void | insert (int i, const QTimerInfo * &t) |
| Inserts value at index position i in the list. More... | |
| iterator | insert (iterator before, const QTimerInfo * &t) |
| Inserts value in front of the item pointed to by the iterator before. More... | |
| bool | isDetached () const |
| bool | isEmpty () const |
| Returns true if the list contains no items; otherwise returns false. More... | |
| bool | isSharedWith (const QList< QTimerInfo * > &other) const |
| QTimerInfo * & | last () |
| Returns a reference to the last item in the list. More... | |
| const QTimerInfo * & | last () 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 QTimerInfo * &t, int from=-1) const |
| Returns the index position of the last occurrence of value in the list, searching backward from index position from. More... | |
| int | length () const |
| This function is identical to count(). More... | |
| QList< QTimerInfo * > | mid (int pos, int length=-1) const |
| Returns a list whose elements are copied from this list, starting at position pos. More... | |
| void | move (int from, int to) |
| Moves the item at index position from to index position to. More... | |
| bool | operator!= (const QList< QTimerInfo * > &l) const |
| Returns true if other is not equal to this list; otherwise returns false. More... | |
| QList< QTimerInfo * > | operator+ (const QList< QTimerInfo * > &l) const |
| Returns a list that contains all the items in this list followed by all the items in the other list. More... | |
| QList< QTimerInfo * > & | operator+= (const QList< QTimerInfo * > &l) |
| Appends the items of the other list to this list and returns a reference to this list. More... | |
| QList< QTimerInfo * > & | operator+= (const QTimerInfo * &t) |
| Appends value to the list. More... | |
| QList< QTimerInfo * > & | operator<< (const QList< QTimerInfo * > &l) |
| Appends the items of the other list to this list and returns a reference to this list. More... | |
| QList< QTimerInfo * > & | operator<< (const QTimerInfo * &t) |
| Appends value to the list. More... | |
| QList< QTimerInfo * > & | operator= (const QList< QTimerInfo * > &l) |
| Assigns other to this list and returns a reference to this list. More... | |
| bool | operator== (const QList< QTimerInfo * > &l) const |
| Returns true if other is equal to this list; otherwise returns false. More... | |
| const QTimerInfo * & | operator[] (int i) const |
| Same as at(). More... | |
| QTimerInfo * & | operator[] (int i) |
| Returns the item at index position i as a modifiable reference. 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 QTimerInfo * &t) |
| Inserts value at the beginning of the list. More... | |
| void | push_back (const QTimerInfo * &t) |
| This function is provided for STL compatibility. More... | |
| void | push_front (const QTimerInfo * &t) |
| This function is provided for STL compatibility. More... | |
| QList () | |
| Constructs an empty list. More... | |
| QList (const QList< QTimerInfo * > &l) | |
| Constructs a copy of other. More... | |
| int | removeAll (const QTimerInfo * &t) |
| Removes all occurrences of value in the list and returns the number of entries removed. More... | |
| void | removeAt (int i) |
| Removes the item at index position i. More... | |
| void | removeFirst () |
| Removes the first item in the list. More... | |
| void | removeLast () |
| Removes the last item in the list. More... | |
| bool | removeOne (const QTimerInfo * &t) |
| Removes the first occurrence of value in the list and returns true on success; otherwise returns false. More... | |
| void | replace (int i, const QTimerInfo * &t) |
| Replaces the item at index position i with value. More... | |
| void | reserve (int size) |
| Reserve space for alloc elements. More... | |
| void | setSharable (bool sharable) |
| int | size () const |
| Returns the number of items in the list. More... | |
| bool | startsWith (const QTimerInfo * &t) const |
| Returns true if this list is not empty and its first item is equal to value; otherwise returns false. More... | |
| void | swap (QList< QTimerInfo * > &other) |
| Swaps list other with this list. More... | |
| void | swap (int i, int j) |
| Exchange the item at index position i with the item at index position j. More... | |
| QTimerInfo * | takeAt (int i) |
| Removes the item at index position i and returns it. More... | |
| QTimerInfo * | takeFirst () |
| Removes the first item in the list and returns it. More... | |
| QTimerInfo * | takeLast () |
| Removes the last item in the list and returns it. More... | |
| QSet< QTimerInfo * > | toSet () const |
| Returns a QSet object with the data contained in this QList. More... | |
| std::list< QTimerInfo * > | toStdList () const |
| Returns a std::list object with the data contained in this QList. More... | |
| QVector< QTimerInfo * > | toVector () const |
| Returns a QVector object with the data contained in this QList. More... | |
| QTimerInfo * | value (int i) const |
| Returns the value at index position i in the list. More... | |
| QTimerInfo * | value (int i, const QTimerInfo * &defaultValue) const |
| If the index i is out of bounds, the function returns defaultValue. More... | |
| ~QList () | |
| Destroys the list. More... | |
Public Variables | |
| timeval | currentTime |
Public Variables inherited from QList< QTimerInfo *> | |
| QListData::Data * | d |
| QListData | p |
Properties | |
| QTimerInfo * | firstTimerInfo |
Additional Inherited Members | |
Public Types inherited from QList< QTimerInfo *> | |
| typedef const value_type * | const_pointer |
| Typedef for const T *. More... | |
| typedef const value_type & | const_reference |
| Typedef for const T &. More... | |
| typedef const_iterator | ConstIterator |
| Qt-style synonym for QList::const_iterator. More... | |
| typedef qptrdiff | difference_type |
| Typedef for ptrdiff_t. More... | |
| typedef iterator | Iterator |
| Qt-style synonym for QList::iterator. More... | |
| typedef value_type * | pointer |
| Typedef for T *. More... | |
| typedef value_type & | reference |
| Typedef for T &. More... | |
| typedef int | size_type |
| Typedef for int. More... | |
| typedef QTimerInfo * | value_type |
| Typedef for T. More... | |
Static Public Functions inherited from QList< QTimerInfo *> | |
| static QList< QTimerInfo * > | fromSet (const QSet< QTimerInfo * > &set) |
| Returns a QList object with the data contained in set. More... | |
| static QList< QTimerInfo * > | fromStdList (const std::list< QTimerInfo * > &list) |
| Returns a QList object with the data contained in list. More... | |
| static QList< QTimerInfo * > | fromVector (const QVector< QTimerInfo * > &vector) |
| Returns a QList object with the data contained in vector. More... | |
Related Functions inherited from QList< QTimerInfo *> | |
| QDataStream & | operator<< (QDataStream &out, const QList< QTimerInfo * > &list) |
| Writes the list list to stream out. More... | |
| QDataStream & | operator>> (QDataStream &in, QList< QTimerInfo * > &list) |
| Reads a list from stream in into list. More... | |
Definition at line 81 of file qeventdispatcher_unix_p.h.
| QTimerInfoList::QTimerInfoList | ( | ) |
Definition at line 328 of file qeventdispatcher_unix.cpp.
| int QTimerInfoList::activateTimers | ( | ) |
Definition at line 565 of file qeventdispatcher_unix.cpp.
Definition at line 551 of file qeventdispatcher_unix.cpp.
| void QTimerInfoList::registerTimer | ( | int | timerId, |
| int | interval, | ||
| QObject * | object | ||
| ) |
Definition at line 487 of file qeventdispatcher_unix.cpp.
| void QTimerInfoList::repairTimersIfNeeded | ( | ) |
Definition at line 422 of file qeventdispatcher_unix.cpp.
Referenced by updateCurrentTime().
| void QTimerInfoList::timerInsert | ( | QTimerInfo * | ti | ) |
Definition at line 431 of file qeventdispatcher_unix.cpp.
| void QTimerInfoList::timerRepair | ( | const timeval & | diff | ) |
Definition at line 445 of file qeventdispatcher_unix.cpp.
| bool QTimerInfoList::timerWait | ( | timeval & | tm | ) |
Definition at line 458 of file qeventdispatcher_unix.cpp.
Referenced by timerSourcePrepareHelper().
| bool QTimerInfoList::unregisterTimer | ( | int | timerId | ) |
Definition at line 500 of file qeventdispatcher_unix.cpp.
| bool QTimerInfoList::unregisterTimers | ( | QObject * | object | ) |
Definition at line 525 of file qeventdispatcher_unix.cpp.
| timeval QTimerInfoList::updateCurrentTime | ( | ) |
Definition at line 352 of file qeventdispatcher_unix.cpp.
Referenced by QEventDispatcherUNIXPrivate::doSelect(), and timerSourceCheckHelper().
| timeval QTimerInfoList::currentTime |
Definition at line 98 of file qeventdispatcher_unix_p.h.
|
private |
Definition at line 93 of file qeventdispatcher_unix_p.h.