Qt 4.8
|
#include <QtCore/qobjectdefs.h>
#include <QtCore/qstring.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qlist.h>
#include <QtCore/qscopedpointer.h>
Go to the source code of this file.
Classes | |
class | QObject |
The QObject class is the base class of all Qt objects. More... | |
class | QObjectData |
class | QObjectUserData |
Macros | |
#define | Q_DECLARE_INTERFACE(IFace, IId) |
Typedefs | |
typedef QList< QObject * > | QObjectList |
Functions | |
Q_CORE_EXPORT QDebug | operator<< (QDebug, const QObject *) |
T | qFindChild (const QObject *o, const QString &name=QString()) |
QList< T > | qFindChildren (const QObject *oobj, const QString &name=QString()) |
QList< T > | qFindChildren (const QObject *o, const QRegExp &re) |
template<class T > | |
T | qobject_cast (QObject *object) |
template<class T > | |
T | qobject_cast (const QObject *object) |
template<class T > | |
const char * | qobject_interface_iid () |
Q_CORE_EXPORT QObject * | qt_qFindChild_helper (const QObject *parent, const QString &name, const QMetaObject &mo) |
Q_CORE_EXPORT void | qt_qFindChildren_helper (const QObject *parent, const QString &name, const QRegExp *re, const QMetaObject &mo, QList< void *> *list) |
#define Q_DECLARE_INTERFACE | ( | IFace, | |
IId | |||
) |
Definition at line 397 of file qobject.h.
Referenced by QDeclarativeDebugServerConnection::~QDeclarativeDebugServerConnection(), QDeclarativeExtensionInterface::~QDeclarativeExtensionInterface(), QDeclarativeInspectorInterface::~QDeclarativeInspectorInterface(), QFactoryInterface::~QFactoryInterface(), and QTextObjectInterface::~QTextObjectInterface().
|
related |
Q_CORE_EXPORT QDebug operator<< | ( | QDebug | , |
const QObject * | |||
) |
Definition at line 4030 of file qobject.cpp.
|
inline |
Definition at line 355 of file qobject.h.
|
inline |
|
inline |
Definition at line 366 of file qobject.h.
|
related |
Definition at line 375 of file qobject.h.
Referenced by QActionGroupPrivate::_q_actionChanged(), QActionGroupPrivate::_q_actionHovered(), QActionGroupPrivate::_q_actionTriggered(), QPlainTextEditPrivate::_q_adjustScrollbars(), QStateMachinePrivate::_q_animationFinished(), QMdiAreaPrivate::_q_deactivateAllWindows(), QMdiSubWindowPrivate::_q_enterInteractiveMode(), QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointEnableRequest(), QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointToggleRequest(), QScriptDebuggerLocalsWidgetPrivate::_q_onCompletionTaskFinished(), QScriptDebuggerConsoleWidgetPrivate::_q_onCompletionTaskFinished(), QMdiAreaPrivate::_q_processWindowStateChanged(), QFileDialogPrivate::_q_showHeader(), QTextCursorPrivate::aboutToRemoveCell(), QAccessibleAbstractSpinBox::abstractSpinBox(), QAccessibleButton::actionText(), QTextCursorPrivate::adjustCursor(), QDockAreaLayoutInfo::apply(), QToolBarAreaLayout::apply(), QStateMachinePrivate::applyProperties(), QStyleSheetStyleSelector::attribute(), QAudioDeviceFactory::audioDeviceInfo(), QAudioDeviceFactory::availableDevices(), QAccessibleButton::button(), QTextDocumentPrivate::changeObjectFormat(), QAccessibleTree::childAt(), QAccessibleTree::childCount(), childWidgets(), QAccessibleComboBox::comboBox(), QTextCursorPrivate::complexSelectionTable(), QShortcutMap::correctContext(), QShortcutMap::correctGraphicsWidgetContext(), QShortcutMap::correctWidgetContext(), QDeclarativeGridViewPrivate::createComponentItem(), QAudioDeviceFactory::createInputDevice(), QAudioDeviceFactory::createOutputDevice(), createReadHandlerHelper(), QTextTablePrivate::createTable(), QGLGraphicsSystem::createWindowSurface(), QTextCursor::currentList(), QTextCursor::currentTable(), QAudioDeviceFactory::defaultInputDevice(), QAudioDeviceFactory::defaultOutputDevice(), QWidget::destroy(), QAccessibleButton::doAction(), dockedGeometry(), QDockWidgetItem::dockWidgetLayout(), QAccessibleTitleBar::dockWidgetLayout(), QTextDocumentLayoutPrivate::drawFrame(), QMdiSubWindowPrivate::drawTitleBarWhenMaximized(), QDockWidgetPrivate::endDrag(), QUIKitSoftwareInputHandler::eventFilter(), QWindowsStyle::eventFilter(), QZipWriter::exists(), QZipReader::exists(), QTextDocumentWriter::fileName(), QImageWriter::fileName(), QImageReader::fileName(), QTextStreamPrivate::fillReadBuffer(), findMenubarForWindow(), QTextStreamPrivate::flushWriteBuffer(), QGraphicsItemPrivate::genericMapFromScene(), QScriptDebuggerLocalsModelPrivate::get(), getNamedAttribute(), QScriptDebuggerScriptedConsoleCommandJob::handleResponse(), handleSplitterContentsAttribute(), handleSplittersAttribute(), QAccessibleHeader::header(), QAInterface::hiObject(), QAccessibleDisplay::imagePosition(), QAccessibleDisplay::imageSize(), QAccessibleTree::indexFromLogical(), QAccessibleTree::indexOfChild(), QAccessibleStackedWidget::indexOfChild(), QAccessibleToolBox::indexOfChild(), QDockWidgetPrivate::initDrag(), QToolBarPrivate::initDrag(), QStateMachinePrivate::initializeAnimation(), initializeDb(), QDialogButtonBoxPrivate::initLayout(), QDockWidget::initStyleOption(), QTextDocumentPrivate::insert_block(), QTextDocumentPrivate::insert_string(), QTreeWidgetItem::insertChildren(), QTextDocumentPrivate::insertFrame(), QMdiAreaPrivate::internalRaise(), QDockWidgetPrivate::isAnimating(), isEmptyBlockAfterTable(), isEmptyBlockBeforeTable(), isItemView(), isLineSeparatorBlockAfterTable(), QScriptDebuggerLocalsModelPrivate::isTopLevelNode(), EGLNullWSWindowSurface::isValid(), QGraphicsScenePrivate::itemsAtPosition(), QAccessibleItemView::itemView(), QTextDocumentLayoutPrivate::layoutFlow(), QTabBarPrivate::layoutTabs(), QAccessibleLineEdit::lineEdit(), QListWidgetPrivate::listModel(), QSvgIOHandlerPrivate::load(), loadSingleEngine(), QAccessibleMainWindow::mainWindow(), QGestureEvent::mapToGraphicsScene(), mdiAreaNavigate(), QAccessibleMenu::menu(), QAccessibleMenuBar::menuBar(), ModelIndexIterator::ModelIndexIterator(), QDockWidgetPrivate::mouseDoubleClickEvent(), QDockWidgetPrivate::mouseMoveEvent(), QToolBarPrivate::mouseMoveEvent(), QDockWidgetPrivate::mousePressEvent(), QTextDocumentPrivate::move(), QTextCursorPrivate::movePosition(), QVNCIntegration::moveToScreen(), my_jpeg_source_mgr::my_jpeg_source_mgr(), QAccessibleDisplay::navigate(), QAccessibleMdiSubWindow::navigate(), QPdfBaseEngine::newPage(), QAccessibleItemView::object(), QLayout::parentWidget(), QAccessibleProgressBar::progressBar(), q_createNativeChildrenAndSetParent(), QOpenKODEWindow::QOpenKODEWindow(), QRenderRule::QRenderRule(), qt_GetMessageHook(), qt_guiPlatformMenuBarFactory(), qt_mac_unregister_widget(), qt_mainwindow_layout(), QAxClientSite::qt_metacall(), qt_x11_recreateNativeWidgetsRecursive(), QTestLiteStaticInfoPrivate::QTestLiteStaticInfoPrivate(), QTreeWidgetItem::QTreeWidgetItem(), QTreeWidgetItemIterator::QTreeWidgetItemIterator(), QAccessible::queryAccessibleInterface(), QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate(), QVNCIntegration::QVNCIntegration(), QAccessibleDockWidget::rect(), QAccessibleTitleBar::rect(), QAccessibleDisplay::relationTo(), QTextDocumentPrivate::remove_block(), QTextDocumentPrivate::remove_string(), QMdiSubWindowPrivate::removeButtonsFromMenuBar(), QAccessibleDisplay::role(), QTextDocumentPrivate::rootFrame(), QTestAccessibility::rootObjectHandler(), QAccessibleTree::rowCount(), QAccessibleTable2Cell::rowIndex(), QTextDocumentPrivate::scan_frames(), QAccessibleScrollBar::scrollBar(), QWidgetPrivate::scrollChildren(), QTextCursorPrivate::selectedTableCells(), QTextDocumentPrivate::setBlockFormat(), QTreeWidgetItem::setData(), QOpenKODEWindow::setGeometry(), QRasterWindowSurface::setGeometry(), QInputDialogPrivate::setInputWidget(), QMdiSubWindowPrivate::setMaximizeMode(), QWidgetPrivate::setModal_sys(), QLocalSocket::setSocketDescriptor(), QDockWidgetPrivate::setWindowState(), QFileDialogComboBox::showPopup(), showToolTip(), QAccessibleSlider::slider(), QTreeWidgetItemPrivate::sortChildren(), QTreeWidgetItem::sortChildren(), QAbstractTransitionPrivate::sourceState(), QAccessibleSpinBox::spinBox(), QHttpNetworkReply::sslConfiguration(), QScriptDebuggerScriptedConsoleCommandJob::start(), QToolBarPrivate::startDrag(), QAccessibleButton::state(), QAccessibleTable2Cell::state(), QMdiAreaTabBar::subWindowFromIndex(), QMdiAreaPrivate::subWindowList(), QImageWriter::supportedImageFormats(), QImageReader::supportedImageFormats(), QAccessibleTabBar::tabBar(), QTreeWidgetItem::takeChild(), QTreeWidgetItem::takeChildren(), IsWindowAndNotDrawerOrSheetTest::test(), QAccessibleButton::text(), QAccessibleDisplay::text(), QAccessibleToolButton::toolButton(), QKeyMapperPrivate::translateKeyEvent(), QTextDocumentPrivate::undoRedo(), QDockWidgetPrivate::unplug(), QDockWidgetPrivate::updateButtons(), QWidgetBackingStore::updateLists(), QDockAreaLayoutInfo::updateTabBar(), QScriptDebuggerLocalsItemDelegate::validateInput(), QAccessibleTable2::view(), QAxAggregated::widget(), QAccessibleWidget::widget(), QLayout::widgetEvent(), QAccessibleWidgetStack::widgetStack(), QAxScriptSite::window(), QTextOdfWriter::writeFrame(), QSQLiteResult::~QSQLiteResult(), and QTreeWidgetItem::~QTreeWidgetItem().
|
inline |
|
inline |
Q_CORE_EXPORT QObject* qt_qFindChild_helper | ( | const QObject * | parent, |
const QString & | name, | ||
const QMetaObject & | mo | ||
) |
Definition at line 1924 of file qobject.cpp.
Referenced by QObject::findChild(), and qt_qFindChild_helper().
Q_CORE_EXPORT void qt_qFindChildren_helper | ( | const QObject * | parent, |
const QString & | name, | ||
const QRegExp * | re, | ||
const QMetaObject & | mo, | ||
QList< void *> * | list | ||
) |
Definition at line 1900 of file qobject.cpp.
Referenced by QObject::findChildren(), and qt_qFindChildren_helper().