Qt 4.8
|
#include <QtCore/qatomic.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qlist.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qmap.h>
#include <QtCore/qhash.h>
#include <QtCore/qstring.h>
Go to the source code of this file.
Classes | |
class | QVariant |
The QVariant class acts like a union for the most common Qt data types. More... | |
Typedefs | |
typedef QHash< QString, QVariant > | QVariantHash |
typedef QList< QVariant > | QVariantList |
typedef QMap< QString, QVariant > | QVariantMap |
|
related |
Definition at line 445 of file qvariant.h.
|
related |
Definition at line 443 of file qvariant.h.
|
related |
Definition at line 444 of file qvariant.h.
Referenced by QVariant::isDetached().
Q_CORE_EXPORT QDataStream& operator<< | ( | QDataStream & | s, |
const QVariant & | p | ||
) |
Writes a variant p to the stream s.
Definition at line 2195 of file qvariant.cpp.
Referenced by QVariant::operator!=(), qVariantCanConvert(), and QVariant::setValue().
Q_CORE_EXPORT QDataStream& operator<< | ( | QDataStream & | s, |
const QVariant::Type | p | ||
) |
Writes a variant type p to the stream s.
Definition at line 2216 of file qvariant.cpp.
Q_CORE_EXPORT QDebug operator<< | ( | QDebug | , |
const QVariant & | |||
) |
Definition at line 3108 of file qvariant.cpp.
Q_CORE_EXPORT QDebug operator<< | ( | QDebug | , |
const QVariant::Type | |||
) |
Definition at line 3122 of file qvariant.cpp.
Referenced by QVariant::isDetached(), and QVariant::operator!=().
Q_CORE_EXPORT QDataStream& operator>> | ( | QDataStream & | s, |
QVariant & | p | ||
) |
Reads a variant p from the stream s.
Definition at line 2184 of file qvariant.cpp.
Referenced by QVariant::setValue().
Q_CORE_EXPORT QDataStream& operator>> | ( | QDataStream & | s, |
QVariant::Type & | p | ||
) |
Reads a variant type p in enum representation from the stream s.
Definition at line 2204 of file qvariant.cpp.
Q_DECLARE_TYPEINFO | ( | QVariant | , |
Q_MOVABLE_TYPE | |||
) |
Referenced by qVariantCanConvert().
|
related |
Definition at line 571 of file qvariant.h.
Referenced by QStandardItem::accessibleDescription(), QStandardItem::accessibleText(), QDBusConnectionPrivate::activateCall(), QGraphicsScene::addItem(), QDBusMarshaller::append(), QDBusMarshaller::appendVariantInternal(), QTextHtmlParserNode::applyBackgroundImage(), QDeclarativeListAccessor::at(), QStandardItem::background(), QListWidgetItem::background(), QTableWidgetItem::background(), QTreeWidgetItem::background(), QListWidgetItem::backgroundColor(), QTableWidgetItem::backgroundColor(), QTreeWidgetItem::backgroundColor(), QAccessibleInterface::backgroundColor(), QOCIResultPrivate::bindValue(), QCss::ValueExtractor::borderValue(), QGraphicsItem::boundingRegionGranularity(), QScriptDebuggerCommand::breakpointData(), QTextFormat::brushProperty(), QCss::Declaration::brushValues(), QWindowsMimeImage::canConvertFromMime(), NestedListModel::checkRoles(), ModelNode::clear(), QTextFormat::colorProperty(), QCss::Declaration::colorValues(), QPaintBuffer::commandDescription(), QDeclarativeGestureAreaParser::compile(), QDeclarativeConnectionsParser::compile(), QDeclarativePropertyChangesParser::compile(), QDeclarativePropertyChangesParser::compileList(), QDeclarativeListModelParser::compileProperty(), QScript::ClassObjectDelegate::construct(), QMacPasteboardMimeTiff::convertFromMime(), QWindowsMimeImage::convertFromMime(), QDeclarativeListAccessor::count(), QDockAreaLayoutInfo::currentTabId(), QGraphicsItem::cursor(), NestedListModel::data(), QItemDelegate::decoration(), QTextFormat::doubleProperty(), QColorWell::dropEvent(), QColorShowLabel::dropEvent(), ModelNode::dump(), QMimeDataWrapper::encodedData(), QOCICols::execBatch(), QCss::ValueExtractor::extractBackground(), QFileSystemModel::fileIcon(), fillList(), fillList< float >(), QInputContext::font(), QListWidgetItem::font(), QStandardItem::font(), QTableWidgetItem::font(), QTreeWidgetItem::font(), QStandardItem::foreground(), QListWidgetItem::foreground(), QTableWidgetItem::foreground(), QTreeWidgetItem::foreground(), QAccessibleInterface::foregroundColor(), QWindowsMimeImage::formatsForMime(), NestedListModel::get(), QTextControl::getPaintContext(), QComboMenuDelegate::getStyleOption(), headerValue(), QStandardItem::icon(), QListWidgetItem::icon(), QTableWidgetItem::icon(), QTreeWidgetItem::icon(), QClipboard::image(), QStyledItemDelegate::initStyleOption(), QTextControlPrivate::inputMethodEvent(), QAccessibleAbstractSpinBox::invokeMethodEx(), QAccessibleAbstractSlider::invokeMethodEx(), QAccessibleTextEdit::invokeMethodEx(), QAccessibleLineEdit::invokeMethodEx(), QScriptDebuggerLocalsModelPrivate::isTopLevelNode(), QComboBoxPrivate::itemIcon(), QTextFormat::lengthProperty(), QHostInfo::lookupHost(), QGraphicsItemPrivate::maybeExtraItemCache(), QNetworkReplyImplPrivate::metaDataChanged(), ModelNode::model(), QAxServerBase::OnAmbientPropertyChange(), QDBusReply< QStringList >::operator=(), QItemDelegate::paint(), QHeaderView::paintEvent(), QHeaderView::paintSection(), parentWidget(), parseColorValue(), QTextFormat::penProperty(), QClipboard::pixmap(), QNetworkAccessHttpBackend::postRequest(), QPainterReplayer::process(), QPaintEngineExReplayer::process(), QLineControl::processInputMethodEvent(), QDBusAbstractInterfacePrivate::property(), QConnmanEngine::propertyChangedContext(), qdbus_cast(), qVariantValue(), QWinInputContext::reconvertString(), QItemDelegate::rect(), NestedListModel::remove(), QGraphicsScene::removeItem(), QInternalMimeData::renderDataHelper(), QScriptDebuggerResponse::resultAsBreakpointData(), QScriptDebuggerResponse::resultAsBreakpoints(), QScriptDebuggerResponse::resultAsContextInfo(), QScriptDebuggerResponse::resultAsScriptData(), QScriptDebuggerResponse::resultAsScripts(), QScriptDebuggerResponse::resultAsScriptValue(), QScriptDebuggerResponse::resultAsScriptValueList(), QScriptDebuggerResponse::resultAsScriptValuePropertyList(), QScriptDebuggerEvent::scriptValue(), QScriptDebuggerCommand::scriptValue(), scriptValueToMessage(), QHeaderView::sectionSizeFromContents(), NestedListModel::set(), QDeclarativeListModelParser::setCustomData(), QDeclarativeKeyNavigationAttached::setFocusNavigation(), QDeclarativeRepeater::setModel(), QDeclarativePathView::setModel(), QDeclarativeGridView::setModel(), QDeclarativeListView::setModel(), QDeclarativeVisualDataModel::setModel(), QItemDelegate::setOptions(), QGraphicsItem::setParentItem(), QVideoSurfaceFormat::setProperty(), NestedListModel::setProperty(), QDeclarativeVisualDataModel::setRootIndex(), QGraphicsItem::setTransform(), QUrlModel::setUrl(), QDeclarativePointFValueType::setValue(), QDeclarativePointValueType::setValue(), QDeclarativeSizeFValueType::setValue(), QDeclarativeSizeValueType::setValue(), QDeclarativeRectFValueType::setValue(), QDeclarativeRectValueType::setValue(), QDeclarativeVector2DValueType::setValue(), QDeclarativeVector3DValueType::setValue(), QDeclarativeVector4DValueType::setValue(), QDeclarativeQuaternionValueType::setValue(), QDeclarativeMatrix4x4ValueType::setValue(), QDeclarativeEasingValueType::setValue(), QDeclarativeFontValueType::setValue(), QStandardItem::sizeHint(), QListWidgetItem::sizeHint(), QTableWidgetItem::sizeHint(), QTreeWidgetItem::sizeHint(), QStyleSheetStyle::standardPixmap(), QStandardItem::statusTip(), QScriptDebuggerCommand::subordinateScriptValue(), QAccessibleInterface::supportedMethods(), QScriptDebuggerLocalsModel::sync(), QTextBlockFormat::tabPositions(), QStandardItem::text(), QListWidgetItem::textColor(), QTableWidgetItem::textColor(), QTreeWidgetItem::textColor(), QStandardItem::toolTip(), QWinInputContext::update(), QDeclarativeBinding::update(), ShaderEffectItem::updateEffectState(), ModelNode::updateListIndexes(), QDockAreaLayoutInfo::updateTabBar(), QVariant::value(), NestedListModel::valueForNode(), variantHash(), variantToQObject(), QDeclarativeWorkerScriptEnginePrivate::variantToScriptValue(), QSettingsPrivate::variantToString(), QAbstractSocket::waitForConnected(), QStandardItem::whatsThis(), QDeclarativePropertyPrivate::write(), QTextOdfWriter::writeInlineCharacter(), QDeclarativeVMEMetaObject::writeVarProperty(), QX11Data::xdndMimeDataForAtom(), xdndObtainData(), and QPaintBufferPrivate::~QPaintBufferPrivate().
|
inline |
Definition at line 584 of file qvariant.h.
|
inline |
Definition at line 447 of file qvariant.h.
Referenced by QVariant::operator!=(), and qvariant_cast().
|
related |
Definition at line 597 of file qvariant.h.
|
related |
Definition at line 451 of file qvariant.h.
Referenced by QVariant::fromValue(), QNetworkReplyImplPrivate::getDownloadBuffer(), QSymSQLResult::handle(), QMYSQLResult::handle(), qExtractSecurityPolicyFromString(), QBBClipboard::MimeData::retrieveData(), QOfonoPrimaryDataContextInterface::setActive(), QNetworkReplyImplPrivate::setDownloadBuffer(), QOfonoPrimaryDataContextInterface::setProp(), and QDBusDemarshaller::toVariantInternal().
Definition at line 457 of file qvariant.h.
|
related |
Definition at line 460 of file qvariant.h.
Referenced by QVariant::setValue().
|
inline |
Definition at line 478 of file qvariant.h.
|
related |
Definition at line 593 of file qvariant.h.