Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QPair< T1, T2 > Struct Template Reference

#include <qabstracteventdispatcher.h>

Public Types

typedef T1 first_type
 
typedef T2 second_type
 

Public Functions

QPair< T1, T2 > & operator= (const QPair< T1, T2 > &other)
 
 QPair ()
 
 QPair (const T1 &t1, const T2 &t2)
 

Public Variables

T1 first
 
T2 second
 

Detailed Description

template<class T1, class T2>
struct QPair< T1, T2 >

Definition at line 56 of file qabstracteventdispatcher.h.

Typedefs

◆ first_type

template<class T1, class T2>
typedef T1 QPair< T1, T2 >::first_type

Definition at line 56 of file qpair.h.

◆ second_type

template<class T1, class T2>
typedef T2 QPair< T1, T2 >::second_type

Definition at line 57 of file qpair.h.

Constructors and Destructors

◆ QPair() [1/2]

template<class T1, class T2>
QPair< T1, T2 >::QPair ( )
inline

Definition at line 59 of file qpair.h.

59 : first(T1()), second(T2()) {}
T1 first
Definition: qpair.h:65
T2 second
Definition: qpair.h:66

◆ QPair() [2/2]

template<class T1, class T2>
QPair< T1, T2 >::QPair ( const T1 &  t1,
const T2 &  t2 
)
inline

Definition at line 60 of file qpair.h.

60 : first(t1), second(t2) {}
T1 first
Definition: qpair.h:65
T2 second
Definition: qpair.h:66

Functions

◆ operator=()

template<class T1, class T2>
QPair<T1, T2>& QPair< T1, T2 >::operator= ( const QPair< T1, T2 > &  other)
inline

Definition at line 62 of file qpair.h.

63  { first = other.first; second = other.second; return *this; }
T1 first
Definition: qpair.h:65
T2 second
Definition: qpair.h:66

Properties

◆ first

template<class T1, class T2>
T1 QPair< T1, T2 >::first

Definition at line 65 of file qpair.h.

Referenced by QObjectPrivate::_q_reregisterTimers(), AccessibleElement::AccessibleElement(), QDeclarativeXmlQueryEngine::addIndexToRangeList(), QGraphicsAnchorLayoutPrivate::addInternalVertex(), QHttpNetworkConnectionChannel::allDone(), animationValueLessThan(), QStateMachinePrivate::applyProperties(), ascendingLessThan(), QTriangulator< T >::ComplexToSimple::bounds(), QTriangulator< T >::ComplexToSimple::calculateIntersections(), QGraphicsAnchorLayoutPrivate::calculateVertexPositions(), QCacheItem::canCompress(), cgColorForQColor(), QTreeViewPrivate::columnRanges(), QDeclarativeComponentPrivate::complete(), QDBusConnectionPrivate::customEvent(), QScriptBreakpointsModel::data(), decendingLessThan(), QHttpNetworkConnectionPrivate::dequeueRequest(), QtMultimediaInternal::QAudioOutputBuffer::fillBuffer(), QHttpNetworkConnectionPrivate::fillPipeline(), QGraphicsAnchorLayoutPrivate::findPaths(), QtMultimediaInternal::QAudioInputBuffer::flush(), QGL2GradientCache::generateGradientColorTable(), QGLGradientCache::generateGradientColorTable(), QAccessibleTextWidget::getBoundaries(), QDeclarativeOpenMetaObjectPrivate::getData(), QRegExpEngine::getEscape(), QDeclarativeXMLHttpRequest::header(), QDeclarativeXMLHttpRequest::headers(), QStandardItemModel::indexFromItem(), QStateMachinePrivate::initializeAnimation(), QSortFilterProxyModelPrivate::insert_source_items(), interpolate(), QHostAddress::isInSubnet(), QListModel::itemGreaterThan(), QTreeModel::itemGreaterThan(), QTableModel::itemGreaterThan(), QListModel::itemLessThan(), QTreeModel::itemLessThan(), QTableModel::itemLessThan(), loadOpenSslWin32(), main(), QPatternist::IdFN::mapToItem(), QDeclarativeVMEMetaObject::metaCall(), QPatternist::OperandsIterator::next(), QErrorMessagePrivate::nextPending(), QPdfBaseEnginePrivate::openPrintDevice(), QStandardItemModelLessThan::operator()(), QStandardItemModelGreaterThan::operator()(), QFileSystemModelSorter::operator()(), operator<(), operator<<(), QPair< qint64, qint64 >::operator=(), operator==(), operator>>(), QTriangulator< T >::ComplexToSimple::outerBounds(), QDeclarativeStyledTextPrivate::parseFontAttributes(), QAuthenticatorPrivate::parseHttpResponse(), QNetworkCookiePrivate::parseSetCookieHeaderLine(), parseStopNode(), QPdf::patternForBrush(), QHttpNetworkConnectionChannel::pipelineInto(), QNetworkDiskCache::prepare(), QHttpNetworkConnectionPrivate::prepareRequest(), q_resolveOpenSslSymbols(), qHash(), QtMultimediaInternal::QAudioInputBuffer::readBytes(), QDeclarativeXMLHttpRequest::readEncoding(), QtMultimediaInternal::QAudioOutputBuffer::readFrames(), QDeclarativeBindingCompilerPrivate::releaseReg(), QSortFilterProxyModelPrivate::remove_source_items(), QGraphicsAnchorLayoutPrivate::removeAnchor(), QGraphicsAnchorLayoutPrivate::removeInternalVertex(), QTriangulator< T >::ComplexToSimple::removeUnwantedEdgesAndConnect(), QtMultimediaInternal::QAudioInputBuffer::renderFromDevice(), QHttpNetworkConnectionPrivate::requeueRequest(), QStandardItem::row(), QSvgPaintEngine::saveGradientStops(), QGradient::setColorAt(), QSimplex::setConstraints(), QScriptBreakpointsModel::setData(), QNetworkHeadersPrivate::setRawHeaderInternal(), QGradient::setStops(), QGraphicsAnchorLayoutPrivate::setupEdgesInterpolation(), QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(), QPatternist::OperandsIterator::skipOperands(), QGraphicsAnchorLayoutPrivate::solvePreferred(), QPatternist::AccelTree::sourceLocation(), QSslSocketBackendPrivate::startHandshake(), QAccessibleTextWidget::textAfterOffset(), QAccessibleTextWidget::textAtOffset(), QAccessibleTextWidget::textBeforeOffset(), QtMultimediaInternal::QAudioOutputBuffer::writeBytes(), QDeclarativeOpenMetaObjectPrivate::writeData(), writeIncludeFile(), and QDeclarativeParser::Object::~Object().

◆ second

template<class T1, class T2>
T2 QPair< T1, T2 >::second

Definition at line 66 of file qpair.h.

Referenced by QScriptDebuggerScriptsWidgetPrivate::_q_onCurrentChanged(), QObjectPrivate::_q_reregisterTimers(), AccessibleElement::AccessibleElement(), QDeclarativeXmlQueryEngine::addIndexToRangeList(), QGraphicsAnchorLayoutPrivate::addInternalVertex(), QHttpNetworkConnectionChannel::allDone(), QStateMachinePrivate::applyProperties(), QTriangulator< T >::ComplexToSimple::bounds(), QTriangulator< T >::ComplexToSimple::calculateIntersections(), QGraphicsAnchorLayoutPrivate::calculateVertexPositions(), QCacheItem::canCompress(), cgColorForQColor(), QStandardItem::column(), QTreeViewPrivate::columnRanges(), QDeclarativeComponentPrivate::complete(), QVariantAnimationPrivate::convertValues(), QDBusConnectionPrivate::customEvent(), QScriptBreakpointsModel::data(), QHttpNetworkConnectionPrivate::dequeueRequest(), QtMultimediaInternal::QAudioOutputBuffer::fillBuffer(), QHttpNetworkConnectionPrivate::fillPipeline(), QGraphicsAnchorLayoutPrivate::findPaths(), QtMultimediaInternal::QAudioInputBuffer::flush(), QAccessibleTextWidget::getBoundaries(), QDeclarativeOpenMetaObjectPrivate::getData(), QRegExpEngine::getEscape(), QDeclarativeXMLHttpRequest::header(), QDeclarativeXMLHttpRequest::headers(), QStandardItemModel::indexFromItem(), QStateMachinePrivate::initializeAnimation(), QSortFilterProxyModelPrivate::insert_source_items(), interpolate(), QHostAddress::isInSubnet(), QBrush::isOpaque(), loadOpenSslWin32(), QTextDocument::loadResource(), main(), QPatternist::IdFN::mapToItem(), QDeclarativeVMEMetaObject::metaCall(), QPatternist::OperandsIterator::next(), QErrorMessagePrivate::nextPending(), QPdfBaseEnginePrivate::openPrintDevice(), operator<<(), QPair< qint64, qint64 >::operator=(), operator==(), operator>>(), QTriangulator< T >::ComplexToSimple::outerBounds(), QDeclarativeStyledTextPrivate::parseFontAttributes(), QAuthenticatorPrivate::parseHttpResponse(), QNetworkCookiePrivate::parseSetCookieHeaderLine(), QPdf::patternForBrush(), QHttpNetworkConnectionChannel::pipelineInto(), QNetworkDiskCache::prepare(), QHttpNetworkConnectionPrivate::prepareRequest(), q_resolveOpenSslSymbols(), qHash(), QtMultimediaInternal::QAudioInputBuffer::readBytes(), QDeclarativeXMLHttpRequest::readEncoding(), QtMultimediaInternal::QAudioOutputBuffer::readFrames(), QAudioRingBuffer::releaseReadRegion(), QAudioRingBuffer::releaseWriteRegion(), QSortFilterProxyModelPrivate::remove_source_items(), QGraphicsAnchorLayoutPrivate::removeAnchor(), QGraphicsAnchorLayoutPrivate::removeInternalVertex(), QHttpNetworkConnectionPrivate::removeReply(), QTriangulator< T >::ComplexToSimple::removeUnwantedEdgesAndConnect(), QtMultimediaInternal::QAudioInputBuffer::renderFromDevice(), QSvgPaintEngine::saveGradientStops(), QSimplex::setConstraints(), QScriptBreakpointsModel::setData(), QNetworkHeadersPrivate::setRawHeaderInternal(), QGradient::setStops(), QGraphicsAnchorLayoutPrivate::setupEdgesInterpolation(), QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(), QPatternist::OperandsIterator::skipOperands(), QGraphicsAnchorLayoutPrivate::solvePreferred(), QPatternist::AccelTree::sourceLocation(), QSslSocketBackendPrivate::startHandshake(), QAccessibleTextWidget::textAfterOffset(), QAccessibleTextWidget::textAtOffset(), QAccessibleTextWidget::textBeforeOffset(), QtMultimediaInternal::QAudioOutputBuffer::writeBytes(), QDeclarativeOpenMetaObjectPrivate::writeData(), and QPdfEnginePrivate::~QPdfEnginePrivate().


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