#include "qmetaobject.h"
#include "qmetatype.h"
#include "qobject.h"
#include <qcoreapplication.h>
#include <qcoreevent.h>
#include <qdatastream.h>
#include <qstringlist.h>
#include <qthread.h>
#include <qvarlengtharray.h>
#include <qvariant.h>
#include <qhash.h>
#include <qdebug.h>
#include <qsemaphore.h>
#include "private/qobject_p.h"
#include "private/qmetaobject_p.h"
#include <ctype.h>
Go to the source code of this file.
◆ anonymous enum
◆ indexOfMethodRelative()
template<int MethodType>
static int indexOfMethodRelative |
( |
const QMetaObject ** |
baseObject, |
|
|
const char * |
method, |
|
|
bool |
normalizeStringData |
|
) |
| |
|
inlinestatic |
- Warning
- This function is not part of the public interface. helper function for indexOf{Method,Slot,Signal}, returns the relative index of the method within the baseObject MethodType might be MethodSignal or MethodSlot, or 0 to match everything. normalizeStringData set to true if we should do a second pass for old moc generated files normalizing all the symbols.
Definition at line 537 of file qmetaobject.cpp.
546 if (!normalizeStringData) {
547 for (; i >=
end; --i) {
548 const char *stringdata = m->d.stringdata + m->d.data[
priv(m->d.data)->
methodData + 5*i];
549 if (method[0] == stringdata[0] && strcmp(method + 1, stringdata + 1) == 0) {
555 for (; i >=
end; --i) {
556 const char *stringdata = (m->d.stringdata + m->d.data[
priv(m->d.data)->
methodData + 5 * i]);
558 if (normalizedSignature == method) {
The QByteArray class provides an array of bytes.
static const KeyPair *const end
◆ priv()
Definition at line 149 of file qmetaobject.cpp.
Referenced by QHttpPrivate::_q_slotReadyRead(), QNetworkConfigurationManager::allConfigurations(), QDBusConnection::asyncCall(), QTextFrame::begin(), QNetworkConfigurationManager::capabilities(), QRegExp::captureCount(), QRegExp::capturedTexts(), QRegExp::caseSensitivity(), QTextCursor::charFormat(), QMetaObject::classInfo(), QMetaObject::classInfoCount(), QMetaObject::classInfoOffset(), QTextDocument::clone(), QNetworkConfigurationManager::configurationFromIdentifier(), Maemo::conn_settings_notify_func(), QMetaObject::constructor(), QMetaObject::constructorCount(), QDeclarativeEngine::contextForObject(), QHttpNetworkConnectionPrivate::createAuthorization(), QDeclarativeComponentPrivate::createObject(), QNetworkAccessManager::createRequest(), QNetworkConfigurationManager::defaultConfiguration(), QDeclarativeNotifierEndpoint::disconnect(), QDeclarativeBoundSignal::disconnect(), QDeclarativeTextLayout::draw(), QTextFrame::end(), QHttpNetworkConnectionChannel::ensureConnection(), QMetaObject::enumerator(), QMetaObject::enumeratorCount(), QMetaObject::enumeratorOffset(), QRegExp::errorString(), QRegExp::exactMatch(), QTextHtmlExporter::findUrlForImage(), QDeclarativeData::get(), getEngineFromId(), QHttpNetworkConnectionPrivate::handleAuthenticateChallenge(), QMetaProperty::hasStdCppSet(), QRegExp::indexIn(), QMetaObject::indexOfClassInfo(), QMetaObject::indexOfConstructor(), QMetaObject::indexOfEnumerator(), indexOfMethodRelative(), QMetaObject::indexOfProperty(), QCocoaColorPanelDelegate::initWithColorPanel:stolenContentView:okButton:cancelButton:priv:, QCocoaFontPanelDelegate::initWithFontPanel:stolenContentView:okButton:cancelButton:priv:extraWidth:extraHeight:, QWidget::inputMethodQuery(), QMetaMethod::invoke(), QWSServerPrivate::invokeFont(), QRegExp::isEmpty(), QMetaProperty::isEnumType(), QRegExp::isMinimal(), QNetworkConfigurationManager::isOnline(), QRegExp::isValid(), QRegExp::lastIndexIn(), QRegExp::matchedLength(), QMetaObject::method(), QMetaObject::methodCount(), QMetaMethod::methodIndex(), QMetaObject::methodOffset(), QMetaProperty::name(), QMetaProperty::notifySignalIndex(), onApplicationChangedActivation(), QFileOpenEvent::openFile(), QTextFrame::iterator::operator++(), QTextFrame::iterator::operator--(), QRegExp::operator=(), QRegExp::operator==(), QPageSetupDialogPrivate::pageSetupDialogSheetDoneCallback(), QWidgetPrivate::paintBackground(), QRegExp::pattern(), QRegExp::patternSyntax(), QRegExp::pos(), QPrintDialogPrivate::printDialogSheetDoneCallback(), QDeclarativeObjectMethodScriptClass::property(), QMetaObject::property(), QMetaObject::propertyCount(), QMetaObject::propertyOffset(), QNetworkAccessManagerPrivate::proxyAuthenticationRequired(), QDirIterator::QDirIterator(), QFileOpenEvent::QFileOpenEvent(), QMetaObject_findMetaObject(), QMimeSourceWrapper::QMimeSourceWrapper(), QNetworkConfigurationManager::QNetworkConfigurationManager(), QRegExp::QRegExp(), qt_init(), rasterFallbacksMask(), QMetaProperty::read(), QMetaMethod::revision(), QMetaProperty::revision(), QScriptDebuggerPrivate::scheduleJob(), QRegExp::setCaseSensitivity(), QRegExp::setMinimal(), QRegExp::setPattern(), QRegExp::setPatternSyntax(), QHttpSocketEngine::slotSocketConnected(), QHttpSocketEngine::slotSocketReadNotification(), QNetworkSessionPrivateImpl::stateChange(), QMetaObject::static_metacall(), QRegExp::swap(), QMetaProperty::type(), QMetaProperty::typeName(), QNetworkConfigurationManager::updateConfigurations(), QMetaProperty::write(), QApplicationPrivate::~QApplicationPrivate(), QNetworkConfigurationManager::~QNetworkConfigurationManager(), and QRegExp::~QRegExp().
static const char * data(const QByteArray &arr)
◆ QMetaObject_findMetaObject()
◆ qNormalizeType()
static char* qNormalizeType |
( |
char * |
d, |
|
|
int & |
templdepth, |
|
|
QByteArray & |
result |
|
) |
| |
|
static |
◆ qRemoveWhitespace()
static void qRemoveWhitespace |
( |
const char * |
s, |
|
|
char * |
d |
|
) |
| |
|
static |
◆ qualifiedName()