Qt 4.8
Classes | Functions | Variables
qkeysequence.cpp File Reference
#include "qkeysequence.h"
#include "qkeysequence_p.h"
#include "private/qapplication_p.h"
#include "qshortcut.h"
#include "qdebug.h"
#include "qregexp.h"
#include "qdatastream.h"
#include "qvariant.h"
#include <private/qt_mac_p.h>

Go to the source code of this file.

Classes

struct  MacSpecialKey
 
struct  QModifKeyName
 

Functions

static void addKey (QString &str, const QString &theKey, QKeySequence::SequenceFormat format)
 
static int maybeSwapShortcut (int shortcut)
 
static bool operator< (const MacSpecialKey &entry, int key)
 
static bool operator< (int key, const MacSpecialKey &entry)
 
QDataStreamoperator<< (QDataStream &s, const QKeySequence &keysequence)
 
QDebug operator<< (QDebug dbg, const QKeySequence &p)
 
QDataStreamoperator>> (QDataStream &s, QKeySequence &keysequence)
 
QChar qt_macSymbolForQtKey (int key)
 
void Q_GUI_EXPORT qt_set_sequence_auto_mnemonic (bool b)
 
static int qtkeyForMacSymbol (const QChar ch)
 

Variables

static const MacSpecialKey entries [NumEntries]
 
struct {
   int   key
 
   const char *   name
 
keyname []
 
static const MacSpecialKey *const MacSpecialKeyEntriesEnd = entries + NumEntries
 
static const int NumEntries = 21
 
static bool qt_sequence_no_mnemonics = true
 

Function Documentation

◆ addKey()

static void addKey ( QString str,
const QString theKey,
QKeySequence::SequenceFormat  format 
)
inlinestatic

Definition at line 1353 of file qkeysequence.cpp.

Referenced by QKeySequencePrivate::encodeString(), and QMetaEnumBuilder::index().

1354 {
1355  if (!str.isEmpty())
1356  str += (format == QKeySequence::NativeText) ? QShortcut::tr("+")
1357  : QString::fromLatin1("+");
1358  str += theKey;
1359 }
static QString tr(const char *sourceText, const char *comment=0, int n=-1)
The QString class provides a Unicode character string.
Definition: qstring.h:83
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Definition: qstring.h:704

◆ maybeSwapShortcut()

static int maybeSwapShortcut ( int  shortcut)
inlinestatic

Definition at line 986 of file qkeysequence.cpp.

Referenced by QKeySequence::keyBindings().

987 {
988  if (qApp->testAttribute(Qt::AA_MacDontSwapCtrlAndMeta)) {
989  uint oldshortcut = shortcut;
990  shortcut &= ~(Qt::CTRL | Qt::META);
991  if (oldshortcut & Qt::CTRL)
992  shortcut |= Qt::META;
993  if (oldshortcut & Qt::META)
994  shortcut |= Qt::CTRL;
995  }
996  return shortcut;
997 }
#define qApp
unsigned int uint
Definition: qglobal.h:996

◆ operator<() [1/2]

static bool operator< ( const MacSpecialKey entry,
int  key 
)
static

Definition at line 96 of file qkeysequence.cpp.

97 {
98  return entry.key < key;
99 }
int key

◆ operator<() [2/2]

static bool operator< ( int  key,
const MacSpecialKey entry 
)
static

Definition at line 101 of file qkeysequence.cpp.

102 {
103  return key < entry.key;
104 }
int key

◆ operator<<() [1/2]

QDataStream& operator<< ( QDataStream s,
const QKeySequence keysequence 
)

Definition at line 1720 of file qkeysequence.cpp.

Referenced by QKeySequence::data_ptr().

1721 {
1722  QList<quint32> list;
1723  list << keysequence.d->key[0];
1724 
1725  if (s.version() >= 5 && keysequence.count() > 1) {
1726  list << keysequence.d->key[1];
1727  list << keysequence.d->key[2];
1728  list << keysequence.d->key[3];
1729  }
1730  s << list;
1731  return s;
1732 }
QKeySequencePrivate * d
Definition: qkeysequence.h:206
int version() const
Returns the version number of the data serialization format.
Definition: qdatastream.h:212
uint count() const
Returns the number of keys in the key sequence.
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

◆ operator<<() [2/2]

QDebug operator<< ( QDebug  dbg,
const QKeySequence p 
)

Definition at line 1759 of file qkeysequence.cpp.

1760 {
1761 #ifndef Q_BROKEN_DEBUG_STREAM
1762  dbg.nospace() << "QKeySequence(" << p.toString() << ')';
1763  return dbg.space();
1764 #else
1765  qWarning("This compiler doesn't support streaming QKeySequence to QDebug");
1766  return dbg;
1767  Q_UNUSED(p);
1768 #endif
1769 }
QDebug & nospace()
Clears the stream&#39;s internal flag that records whether the last character was a space and returns a r...
Definition: qdebug.h:92
Q_CORE_EXPORT void qWarning(const char *,...)
QString toString(SequenceFormat format=PortableText) const
Return a string representation of the key sequence, based on format.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
Definition: qdebug.h:91
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ operator>>()

QDataStream& operator>> ( QDataStream s,
QKeySequence keysequence 
)

Definition at line 1746 of file qkeysequence.cpp.

1747 {
1748  qAtomicDetach(keysequence.d);
1749  QList<quint32> list;
1750  s >> list;
1751  for (int i = 0; i < 4; ++i)
1752  keysequence.d->key[i] = list.value(i);
1753  return s;
1754 }
void qAtomicDetach(T *&d)
This is a helper for the detach method of implicitly shared classes.
Definition: qatomic.h:214
QKeySequencePrivate * d
Definition: qkeysequence.h:206
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

◆ qt_macSymbolForQtKey()

QChar qt_macSymbolForQtKey ( int  key)

Definition at line 108 of file qkeysequence.cpp.

Referenced by QKeySequencePrivate::encodeString().

109 {
111  if (i == MacSpecialKeyEntriesEnd)
112  return QChar();
113  ushort macSymbol = i->macSymbol;
114  if (qApp->testAttribute(Qt::AA_MacDontSwapCtrlAndMeta)
115  && (macSymbol == kControlUnicode || macSymbol == kCommandUnicode)) {
116  if (macSymbol == kControlUnicode)
117  macSymbol = kCommandUnicode;
118  else
119  macSymbol = kControlUnicode;
120  }
121 
122  return QChar(macSymbol);
123 }
Q_OUTOFLINE_TEMPLATE RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value)
Definition: qalgorithms.h:295
The QChar class provides a 16-bit Unicode character.
Definition: qchar.h:72
#define qApp
static const MacSpecialKey entries[NumEntries]
unsigned short ushort
Definition: qglobal.h:995
int key
static const MacSpecialKey *const MacSpecialKeyEntriesEnd

◆ qt_set_sequence_auto_mnemonic()

void Q_GUI_EXPORT qt_set_sequence_auto_mnemonic ( bool  b)

Definition at line 148 of file qkeysequence.cpp.

148 { qt_sequence_no_mnemonics = !b; }
static bool qt_sequence_no_mnemonics

◆ qtkeyForMacSymbol()

static int qtkeyForMacSymbol ( const QChar  ch)
static

Definition at line 125 of file qkeysequence.cpp.

Referenced by QKeySequencePrivate::decodeString().

126 {
127  const ushort unicode = ch.unicode();
128  for (int i = 0; i < NumEntries; ++i) {
129  const MacSpecialKey &entry = entries[i];
130  if (entry.macSymbol == unicode) {
131  int key = entry.key;
132  if (qApp->testAttribute(Qt::AA_MacDontSwapCtrlAndMeta)
133  && (unicode == kControlUnicode || unicode == kCommandUnicode)) {
134  if (unicode == kControlUnicode)
135  key = Qt::Key_Control;
136  else
137  key = Qt::Key_Meta;
138  }
139  return key;
140  }
141  }
142  return -1;
143 }
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qchar.h:251
#define qApp
static const int NumEntries
static const MacSpecialKey entries[NumEntries]
unsigned short ushort
Definition: qglobal.h:995
int key

Variable Documentation

◆ entries

const MacSpecialKey entries[NumEntries]
static
Initial value:
= {
{ Qt::Key_Escape, 0x238B },
{ Qt::Key_Tab, 0x21E5 },
{ Qt::Key_Backtab, 0x21E4 },
{ Qt::Key_Backspace, 0x232B },
{ Qt::Key_Return, 0x21B5 },
{ Qt::Key_Enter, 0x2324 },
{ Qt::Key_Delete, 0x2326 },
{ Qt::Key_Home, 0x2196 },
{ Qt::Key_End, 0x2198 },
{ Qt::Key_Left, 0x2190 },
{ Qt::Key_Up, 0x2191 },
{ Qt::Key_Right, 0x2192 },
{ Qt::Key_Down, 0x2193 },
{ Qt::Key_PageUp, 0x21DE },
{ Qt::Key_PageDown, 0x21DF },
{ Qt::Key_Shift, kShiftUnicode },
{ Qt::Key_Control, kCommandUnicode },
{ Qt::Key_Meta, kControlUnicode },
{ Qt::Key_Alt, kOptionUnicode },
{ Qt::Key_CapsLock, 0x21EA },
}

Definition at line 73 of file qkeysequence.cpp.

Referenced by _DndIndexToTargets(), QIconLoader::findIconHelper(), Maemo::GConfItemFast::getEntries(), QPatternist::XsdTypeChecker::isValidString(), QScriptDebuggerConsolePrivate::loadScriptedCommands(), multicastMembershipHelper(), QNativeSocketEnginePrivate::nativeMulticastInterface(), QNativeSocketEnginePrivate::nativeSetMulticastInterface(), and ICOReader::write().

◆ key

int key

Definition at line 395 of file qkeysequence.cpp.

Referenced by _q_dupEnvironment(), ActiveObject::ActiveObject(), QGL2GradientCache::addCacheElement(), QGLGradientCache::addCacheElement(), QNetworkAccessCache::addEntry(), addFontToDatabase(), QWizard::addPage(), QDeclarativePixmapData::addToCache(), QTextHtmlParser::applyAttributes(), QTransportAuth::authFromMessage(), QAudioDeviceFactory::availableDevices(), buildMetaObject(), QTriangulator< T >::ComplexToSimple::calculateIntersection(), classIDL(), QFontEngine::cloneWithSize(), QTextCodec::codecForMib(), QScreen::colorCount(), QVNCScreenPrivate::configure(), QVFbScreen::connect(), QVFbScreenPrivate::connect(), QDBusConnectionPrivate::connectRelay(), QDBusConnectionPrivate::connectSignal(), QCache< QPixmapCache::Key, QPixmapCacheEntry >::contains(), QMultiHash< const QGLContext *, GLProgram >::count(), QSoftKeyManager::createAction(), QPMCache::createKey(), QSoftKeyManager::createKeyedAction(), QCUPSSupport::cupsVersion(), QNetworkAccessFtpBackend::disconnectFromFtp(), QDBusConnectionPrivate::disconnectRelay(), QDBusConnectionPrivate::disconnectSignal(), QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QDirectFBPaintEngine::drawBufferSpan(), QMacStylePrivate::drawColorlessButton(), QMacStylePrivate::drawCombobox(), QGtkStyle::drawComplexControl(), QGtkStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), QGtkStyle::drawPrimitive(), QMacStylePrivate::drawTableHeader(), QStyledItemDelegate::editorEvent(), QItemDelegate::editorEvent(), QDeclarativeCompiler::evaluateEnum(), QWindowsStyle::eventFilter(), QTipLabel::eventFilter(), QCompleter::eventFilter(), QScriptBreakpointsItemDelegate::eventFilter(), QAxServerBase::eventFilter(), QImagePixmapCleanupHooks::executeImageHooks(), QWinSettingsPrivate::fileName(), QTextureGlyphCache::fillInPendingGlyphs(), QSortFilterProxyModel::filterAcceptsRow(), QMultiHash< const QGLContext *, GLProgram >::find(), QFontDatabase::findFont(), fontNameSubstitute(), QNetworkSessionManagerPrivate::forceSessionClose(), QTestXunitStreamer::formatAttributes(), QImage::fromData(), QNetworkAccessFtpBackend::ftpDone(), QDeclarativeRectangle::generateBorderedRect(), QDeclarativeRectangle::generateRoundedRect(), generateWavyPixmap(), QTransportAuthPrivate::getClientKey(), QClassFactory::GetLicInfo(), QGLMaskTextureCache::getMask(), QScript::QMetaObjectWrapperObject::getOwnPropertyDescriptor(), QScript::QMetaObjectWrapperObject::getOwnPropertySlot(), getStyle(), QDirectFBPaintEnginePrivate::getSurface(), QImageReaderPrivate::getText(), QGLTextureCache::getTexture(), QFileIconProviderPrivate::getWinIcon(), QTextLine::glyphs(), guaranteed_memset(), QBBInputContext::handleKeyboardEvent(), QCalendarDateValidator::handleKeyEvent(), QDirectFbInput::handleKeyEvents(), QDBusConnectionPrivate::handleSignal(), QMetaEnumBuilder::index(), init_platform(), initializeDb(), QAxBase::initializeLicensed(), QTextHtmlParserNode::initializeProperties(), QAxBase::initializeRemote(), QBBScreenEventHandler::injectKeyboardEvent(), QInt64Set::insert(), QTextDocumentPrivate::insert_block(), QFragmentMapData< QTextBlockData >::insert_single(), QAbstractItemModelPrivate::Persistent::insertMultiAtEnd(), QSqlTableModel::insertRows(), QFactoryLoader::instance(), QKeyMapperPrivate::isADeadKey(), QLibraryPrivate::isPlugin(), QHash< QExplicitlySharedDataPointer, QHash >::isSharedWith(), isSupportedSvgFeature(), QGtkStylePrivate::isThemeAvailable(), QInt64Set::isValid(), QMap< int, QFrameInfo >::key(), QHash< QExplicitlySharedDataPointer, QHash >::key(), QAccessibleMenuItem::keyBindings(), QMenuBar::keyPressEvent(), QMenu::keyPressEvent(), QMessageBox::keyPressEvent(), QFileDialogLineEdit::keyPressEvent(), QPlatformIntegrationFactory::keys(), QHttpHeader::keys(), QCache< QPixmapCache::Key, QPixmapCacheEntry >::keys(), keySequenceToKeyEqivalent(), QMetaEnum::keysToValue(), QMetaEnum::keyToValue(), keyTranslator(), launchWebBrowser(), QDeclarativePixmap::load(), QPixmap::load(), QFontDatabase::load(), QFontEngineMultiFT::loadEngine(), loadSingleEngine(), loadWin(), QFontDatabase::loadXlfd(), QLibraryInfo::location(), macValue(), makeCacheKey(), QCompletionEngine::matchHint(), MetaObjectGenerator::metaObject(), QTextDocumentPrivate::move(), QAbstractItemViewPrivate::multiSelectionCommand(), QSettingsPrivate::normalizedKey(), QApplication::notify(), QSslConfiguration::operator!=(), operator!=(), QMultiHash< const QGLContext *, GLProgram >::operator+(), QMultiMap< QString, Method >::operator+(), operator<(), operator==(), QKeySequence::operator>=(), operator>>(), QSettingsKey::originalKeyPosition(), QTextHtmlParser::parseAttributes(), QSvgHandler::parseCSStoXMLAttrs(), QAuthenticatorPrivate::parseDigestAuthenticationChallenge(), parseHttpOptionHeader(), QBBNavigatorEventNotifier::parsePPS(), QBBButtonEventNotifier::parsePPS(), QTextureGlyphCache::populate(), QKeyMapperPrivate::possibleKeys(), QBBInputContext::processEvent(), QTessellatorPrivate::processIntersections(), QOpenKODEWindow::processKeyEvents(), QSslCertificate::publicKey(), QGraphicsItemCache::purge(), qax_readClassInfo(), qax_startServer(), qax_stopServer(), qAxFactory(), QClassFactory::QClassFactory(), qHash(), QIconTheme::QIconTheme(), QKeySequencePrivate::QKeySequencePrivate(), QMetaEnum::QMetaEnum(), QMultiInputContext::QMultiInputContext(), QRegExpEngine::QRegExpEngine(), QSessionManager::QSessionManager(), QSessionManagerPrivate::QSessionManagerPrivate(), qStringFromUcs2Le(), qt_guiPlatformPlugin(), qt_load_font_engine_win(), qt_mac_menu_event(), qt_mac_send_modifiers_changed(), qt_parse_pattern(), qt_patternForAlpha(), qt_pixmapForBrush(), qt_set_x11_resources(), qtKey2CocoaKey(), qtValue(), QtWndProc(), QGLMaskTextureCache::quadtreeClear(), QGLMaskTextureCache::quadtreeFindExistingLocation(), QGLMaskTextureCache::quadtreeInsert(), QRfbKeyEvent::read(), QConfFileSettingsPrivate::readIniSection(), QConfFileSettingsPrivate::readPlistFile(), QPngHandlerPrivate::readPngTexts(), registerFont(), QMacSettingsPrivate::remove(), QMultiHash< const QGLContext *, GLProgram >::remove(), QDeclarativePixmapData::removeFromCache(), QWizard::removePage(), QPMCache::replace(), QXmlStreamReaderPrivate::resolveTag(), rotateSlashesDotsAndMiddots(), QHashNode< QExplicitlySharedDataPointer, QHash >::same_key(), QItemDelegate::selected(), QDBusConnectionPrivate::serverConnection(), set_text(), QLineControl::setCompleter(), QWSRegionCommand::setData(), QGraphicsItem::setData(), QWidget::setFocus(), QFontEngine::setGlyphCache(), QMap< int, QFrameInfo >::setInsertInOrder(), QKeySequence::setKey(), PvrEglScreen::setMode(), QPrinter::setOutputFormat(), QSqlTableModel::setPrimaryKey(), QSslConfiguration::setPrivateKey(), QSslSocket::setPrivateKey(), QNetworkHeadersPrivate::setRawHeaderInternal(), QAbstractButton::setShortcut(), QFragmentMapData< QTextBlockData >::setSize(), QGraphicsItem::setTransformOriginPoint(), QWSWindow::shuttingDown(), QWSQnxKeyboardHandler::socketActivated(), QSmSocketReceiver::socketActivated(), QPatternist::AccelTree::sourceLocation(), QXmlStreamReaderPrivate::startDocument(), QCoreWlanEngine::startTime(), QCss::StyleSelector::styleRulesForNode(), QUrl::swap(), QAccessibleMenuItem::text(), QTest::toString(), QAxServerBase::TranslateAcceleratorW(), QtopiaPrintEngine::type(), QMacPrintEngine::type(), QPreviewPaintEngine::type(), QBBButtonEventNotifier::updateButtonStates(), QNetworkConfigurationManagerPrivate::updateConfigurations(), QFactoryLoader::updateDir(), QPropertyAnimation::updateState(), QPatternist::TokenLookup::value(), QWinSettingsPrivate::writeHandle(), QConfFileSettingsPrivate::writeIniFile(), QXIMInputContext::x11FilterEvent(), QPatternist::yyparse(), QNetworkAccessCache::CacheableObject::~CacheableObject(), QCalendarDateSectionValidator::~QCalendarDateSectionValidator(), QNetworkSessionPrivate::~QNetworkSessionPrivate(), QNetworkSessionPrivateImpl::~QNetworkSessionPrivateImpl(), QPdfBaseEngine::~QPdfBaseEngine(), QPixmapCacheEntry::~QPixmapCacheEntry(), QPrinterPrivate::~QPrinterPrivate(), and QTestEvent::~QTestEvent().

◆ keyname

const { ... } keyname[]

◆ MacSpecialKeyEntriesEnd

const MacSpecialKey* const MacSpecialKeyEntriesEnd = entries + NumEntries
static

Definition at line 106 of file qkeysequence.cpp.

◆ name

const char* name

Definition at line 396 of file qkeysequence.cpp.

Referenced by QScript::__setupPackage__(), QPSQLDriver::_q_handleNotification(), _q_parseDosDir(), _q_parseUnixDir(), QMetaObjectBuilder::addClassInfo(), QScriptDebuggerConsoleCommandManager::addCommandGroup(), QSqlDatabasePrivate::addDatabase(), QFileDialogPrivate::addDefaultSuffixToFiles(), QZipWriter::addDirectory(), QPatternist::AbstractFunctionFactory::addFunction(), QComboBox::addItems(), QMetaEnumBuilder::addKey(), QLocalServerPrivate::addListener(), QFileSystemModelPrivate::addNode(), QAxScriptManager::addObject(), MetaObjectGenerator::addProperty(), QAxEventSink::addSignal(), QScriptDebuggerLocalsModelPrivate::addTopLevelObject(), FlatListModel::addValue(), QPatternist::NamePool::allocatePrefix(), QState::assignProperty(), astNodeToStringList(), QPatternist::DocumentContentValidator::attribute(), QPatternist::OutputValidator::attribute(), QStyleSheetStyleSelector::attribute(), QGLShaderProgram::attributeLocation(), QLocalePrivate::bcp47Name(), QNetworkConfiguration::bearerName(), QGLShaderProgram::bindAttributeLocation(), QCss::StyleSheet::buildIndexes(), buildMetaObject(), buildParameterNames(), QDeclarativeCompiler::buildSignal(), QFileSystemEngine::bundleName(), cacheForNamespace(), QDeclarativePropertyChanges::changeExpression(), QGraphicsAnchorLayoutPrivate::changeLayoutVertex(), QDeclarativePropertyChanges::changeValue(), QDeclarativeCompiler::checkDynamicMeta(), checkHRESULT(), QResourceRoot::children(), classIDL(), QDir::cleanPath(), QTextCodec::codecForName(), QScriptDebuggerConsoleCommandManager::commandsInGroup(), QGLShaderPrivate::compile(), QScriptDebuggerConsoleCommandManager::completions(), QDirectFBScreen::connect(), QDBusAbstractInterfacePrivate::connectionPrivate(), QLocalSocket::connectToServer(), QPatternist::XsdSchemaHelper::constructAndCompare(), QPatternist::ConstructorFunctionsFactory::ConstructorFunctionsFactory(), ControlList::ControlList(), convert(), convertFlags(), QScriptEnginePrivate::convertValue(), QLocalePrivate::countryId(), QEglFSScreen::createAndSetPlatformContext(), QPatternist::XsdSchemaParserContext::createAnonymousName(), QPatternist::createConcatFN(), QWin32PrintEnginePrivate::createDevNames(), QScriptDBusMessageConstructor::createErrorReply(), createForMib(), QPatternist::AbstractFunctionFactory::createFunctionCall(), QScriptDebuggerConsolePrivate::createJob(), QDirectFBScreenPrivate::createPixmapData(), QDBusMessage::createReply(), QPatternist::URILoader::createRequest(), QPatternist::createRootExpression(), QLayoutPrivate::createSpacerItem(), QMessageBox::critical(), QCUPSSupport::cupsVersion(), QAbstractFileEngineIterator::currentFilePath(), QSqlIndex::cursorName(), QScriptDebuggerStackModel::data(), QPatternist::ProcessingInstructionConstructor::data(), debuggerScriptValuePropertyFromScriptValue(), QDeclarativePropertyChangesPrivate::decode(), QKeySequencePrivate::decodeString(), derivedTermValid(), QMetaObjectBuilder::deserialize(), QLocalSocketPrivate::destroyPipeHandles(), QLocalePrivate::digitToCLocale(), QFileSystemModelPrivate::displayName(), QGenericEngine::doRequestUpdate(), QWindowsVistaStyle::drawControl(), QWindowsXPStyle::drawControl(), QWindowsXPStyle::drawPrimitive(), dumpRecursive(), QDeclarativeDomObject::dynamicProperty(), QPatternist::XsdSchemaChecker::elementSequenceAccepted(), QTextHtmlExporter::emitCharFormatStyle(), QTextHtmlExporter::emitFragment(), QKeySequencePrivate::encodeString(), QDeclarativeObjectMethodScriptClass::enumType(), QPatternist::SystemPropertyFN::evaluateSingleton(), QPatternist::FunctionAvailableFN::evaluateSingleton(), QPatternist::TypeAvailableFN::evaluateSingleton(), QPatternist::AttributeConstructor::evaluateSingleton(), QPatternist::AttributeNameValidator::evaluateSingleton(), QPatternist::ElementConstructor::evaluateSingleton(), QPatternist::NodeNameFN::evaluateSingleton(), QPatternist::NameFN::evaluateSingleton(), QPatternist::LocalNameFN::evaluateSingleton(), QPatternist::ResolveQNameFN::evaluateSingleton(), QPatternist::NamespaceURIFN::evaluateSingleton(), QPatternist::ProcessingInstructionConstructor::evaluateTardata(), QPatternist::AttributeConstructor::evaluateToSequenceReceiver(), QPatternist::ElementConstructor::evaluateToSequenceReceiver(), QRadioButton::event(), QCheckBox::event(), QScriptDebuggerCommandExecutor::execute(), QNetworkDiskCache::expire(), QPatternist::ExternalVariableLoader::ExternalVariableLoader(), familyNameFromPostScriptName(), QScriptDebuggerLocalsModelNode::findChild(), QScriptDebuggerConsoleCommandManager::findCommand(), QResourceRoot::findNode(), QResourceRoot::findOffset(), QDeclarativeScriptParser::findOrCreateType(), QPatternist::XsdSchemaResolver::findPrimitiveType(), QScriptObjectSnapshot::findProperty(), QDeclarativeStateGroup::findState(), QSplitterPrivate::findWidget(), fixedXmlName(), for(), QScanThread::foundNetwork(), QProcessEnvironmentPrivate::fromList(), QTextCodec::fromUnicode(), QPatternist::FunctionFactory::FunctionFactory(), generateInterfaceXml(), generateSubObjectXml(), QMetaObjectPrivate::get(), get(), QScriptEnginePrivate::get(), QScriptValuePrivate::getEngine(), QFreetypeFace::getFace(), getFamiliesAndSignatures(), getImage(), getLocations(), QScript::ClassObjectDelegate::getOwnPropertyNames(), QScript::DeclarativeObjectDelegate::getOwnPropertyNames(), getPixmap(), QDeclarativeParser::Object::getProperty(), getSegments(), QFontSubset::glyphName(), QDeclarativePackage::hasPart(), QStyleSheetStyle::hasStyleRule(), QPushButtonPrivate::hitButton(), QIconEngineV2::iconName(), idForName(), IFontToQFont(), QFileSystemModelPrivate::index(), QMetaPropertyBuilder::index(), QMetaEnumBuilder::index(), QSqlRecord::indexOf(), QScript::indexOfMetaEnum(), QDeclarativeCompiler::indexOfSignal(), QObject::inherits(), QScriptDebuggerLocalsModel::init(), initFontInfo(), QWin32PrintEnginePrivate::initialize(), initializeDb(), QDeclarativeVisualDataModelDataMetaObject::initialValue(), QDeclarativeVisualDataModelPartsMetaObject::initialValue(), initWritingSystems(), QPatternist::XsdStateMachine< XsdSchemaToken::NodeName >::inputEqualsTransition(), QTextCursor::insertImage(), QAxServerBase::Invoke(), QToolBar::isAreaAllowed(), QScript::QScriptMetaType::isMetaEnum(), QXmlNodeModelIndex::isNull(), QMetaEnum::isValid(), QTextImageFormat::isValid(), QPatternist::XsdSchemaHelper::isValidAttributeUsesRestriction(), QPatternist::XsdSchemaChecker::isValidValue(), QGLShaderProgram::link(), QLocalServer::listen(), QVariant::load(), QLibraryPrivate::load_sys(), QTextDocument::loadResource(), QFSFileEnginePrivate::longFileName(), ShaderEffectItem::lookThroughShaderCode(), QFont::macFontID(), QDeclarativeEngineDebugPrivate::message(), QStatusBarPrivate::messageRect(), MetaObjectGenerator::metaObject(), QWindowsLocalCodec::mibEnum(), QFontEngine::minRightBearing(), QFontEngineBox::minRightBearing(), QDirModel::mkdir(), QFileSystemModel::mkdir(), QX11Data::motifdndObtainData(), QGroupBox::mouseReleaseEvent(), QDirModelPrivate::name(), QDeclarativePropertyCache::Data::name(), QDomNamedNodeMapPrivate::namedItem(), QSqlTableModelPrivate::nameToIndex(), QSqlRelationalTableModelPrivate::nameToIndex(), QProcessEnvironmentPrivate::nameToString(), QPatternist::XQueryTokenizer::nextToken(), QFileSystemModelPrivate::nodeCaseInsensitiveLessThan(), QDomNodePrivate::nodeName(), QSvgStyleSelector::nodeNameEquals(), QScriptDBusConnection::objectRegisteredAt(), QTemporaryFile::open(), QIBaseDriver::open(), QAudioInputPrivate::open(), QAudioOutputPrivate::open(), QSqlRecord::operator!=(), QSslCipher::operator!=(), QNetworkCookie::operator!=(), QProcessEnvironment::operator!=(), QDir::operator!=(), QFileSystemModelVisibleFinder::operator()(), QFileSystemModelPrivate::QFileSystemNode::operator<(), QDBusConnectionPrivate::ObjectTreeNode::operator<(), operator<<(), QFileSystemModelPrivate::QFileSystemNode::operator==(), QXmlStreamAttribute::operator==(), QXmlStreamNotationDeclaration::operator==(), QXmlStreamEntityDeclaration::operator==(), QFileSystemModelPrivate::QFileSystemNode::operator>(), QProcessEnvironmentPrivate::OrderedMutexLocker::OrderedMutexLocker(), QFileSystemEngine::owner(), QToolBoxButton::paintEvent(), ParallelAnchorData::ParallelAnchorData(), QScriptXmlParser::parse(), QScriptDebuggerScriptedConsoleCommand::parse(), parseAnnotations(), QXmlSimpleReaderPrivate::parseAttlistDecl(), parseCoreNode(), QSvgHandler::parseCSStoXMLAttrs(), QXmlSimpleReaderPrivate::parseDoctype(), QXmlSimpleReaderPrivate::parseElement(), QXmlSimpleReaderPrivate::parseEntityDecl(), parseFontFaceNameNode(), parseFontFaceNode(), QFontDatabase::parseFontName(), parseFontName(), QDeclarativeBindingCompilerPrivate::parseMethod(), QDeclarativeBindingCompilerPrivate::parseName(), QXmlSimpleReaderPrivate::parsePI(), QDBusMetaObjectGenerator::parseProperties(), QCss::Parser::parseTerm(), QDeclarativePackage::part(), QIcon::pixmap(), pointSize(), QSQLite2Driver::primaryIndex(), QCUPSSupport::printerOption(), QXmlSimpleReaderPrivate::processElementETagBegin2(), QDeclarativeDomObjectPrivate::properties(), QVideoSurfaceFormat::property(), QDeclarativePropertyCache::property(), QDeclarativeDomObject::property(), QObject::property(), QScriptDBusMessageConstructor::protoType(), prototype(), pvrQwsInitFbScreen(), QPatternist::QAbstractXmlReceiver::QAbstractXmlReceiver(), QAccessibleActionInterface::qAccessibleActionCastHelper(), QAccessibleWidget::QAccessibleWidget(), QAccessibleWidgetEx::QAccessibleWidgetEx(), qax_generateDocumentation(), QBoxLayout::QBoxLayout(), qBrushDark(), qBrushLight(), qBrushSetAlphaF(), QComboBox::QComboBox(), QCopChannel::QCopChannel(), QDBusConnectionManager::QDBusConnectionManager(), QDeclarativeBoundSignalParameters::QDeclarativeBoundSignalParameters(), QDeclarativePathAttribute::QDeclarativePathAttribute(), QDeclarativeType::QDeclarativeType(), QDial::QDial(), QDialog::QDialog(), QDomNodeListPrivate::QDomNodeListPrivate(), QDomNodePrivate::QDomNodePrivate(), QDoubleValidator::QDoubleValidator(), QEglProperties::QEglProperties(), QEventDispatcherUNIXPrivate::QEventDispatcherUNIXPrivate(), QFile::QFile(), qFindChild(), qFindChildren(), QFontEngineWin::QFontEngineWin(), QFrame::QFrame(), QFtp::QFtp(), qglfResolveGetAttribLocation(), qglfResolveGetUniformLocation(), QGridLayout::QGridLayout(), QHBoxLayout::QHBoxLayout(), QIntValidator::QIntValidator(), QLabel::QLabel(), QLineEdit::QLineEdit(), QLocalServerPrivate::QLocalServerPrivate(), QMainWindow::QMainWindow(), QMenuBar::QMenuBar(), QMetaClassInfo::QMetaClassInfo(), QMetaEnum::QMetaEnum(), QMetaObject_findMetaObject(), qmlRegisterCustomType(), qmlRegisterExtendedType(), qmlRegisterInterface(), qmlRegisterRevision(), qmlRegisterType(), qmlRegisterUncreatableType(), QDeclarativePrivate::qmlRegisterUncreatableType(), qmlRegisterValueTypeEnums(), qmlxmlhttprequest_setRequestHeader(), QPatternist::QNameValue::qName(), QObject::QObject(), QScript::qobjectProtoFuncFindChild(), QScript::qobjectProtoFuncFindChildren(), QPdfBaseEngine::QPdfBaseEngine(), QRegExpValidator::QRegExpValidator(), QRfbServerInit::QRfbServerInit(), QScrollBar::QScrollBar(), QSessionManagerPrivate::QSessionManagerPrivate(), QSignalMapper::QSignalMapper(), QSizeGrip::QSizeGrip(), QSlider::QSlider(), QSocketNotifier::QSocketNotifier(), QSound::QSound(), QSpinBox::QSpinBox(), QSqlRelationalTableModelPrivate::QSqlRelationalTableModelPrivate(), QSqlTableModelPrivate::QSqlTableModelPrivate(), QSvgAttributes::QSvgAttributes(), qt_create_commandline(), qt_mac_unregister_widget(), qt_matchLibraryName(), QAxBase::qt_metacall(), QAxServerBase::qt_metacall(), qt_qFindChild_helper(), qt_qFindChildren_helper(), qt_x11_set_fallback_font_family(), QTabWidget::QTabWidget(), QTextBrowser::QTextBrowser(), QTextEdit::QTextEdit(), QTextHtmlStyleSelector::QTextHtmlStyleSelector(), QTimer::QTimer(), QToolBar::QToolBar(), QToolButton::QToolButton(), QTranslator::QTranslator(), QWin32PrintEnginePrivate::queryDefault(), QWin32PrintEnginePrivate::queryResolutions(), QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate(), QUtf16BECodec::QUtf16BECodec(), QUtf16Codec::QUtf16Codec(), QUtf16LECodec::QUtf16LECodec(), QUtf32BECodec::QUtf32BECodec(), QUtf32Codec::QUtf32Codec(), QUtf32LECodec::QUtf32LECodec(), QValidator::QValidator(), QVBoxLayout::QVBoxLayout(), QWidget::QWidget(), QWorkspace::QWorkspace(), QWSServer::QWSServer(), QWSSoundServerPrivate::QWSSoundServerPrivate(), QXmlParseException::QXmlParseException(), QXmlStreamAttributes::QXmlStreamAttributes(), QPatternist::Template::raiseXTSE0680(), rasterFallbacksMask(), QRfbServerInit::read(), QWin32PrintEnginePrivate::readDevmode(), QWin32PrintEnginePrivate::readDevnames(), QPatternist::MaintainingReader< XSLTTokenLookup >::readNext(), QDeclarativeDebugConnectionPrivate::readyRead(), QDeclarativeDebugServer::receiveMessage(), QDeclarativeEnginePrivate::registerCompositeType(), QAxScriptManager::registerEngine(), QPatternist::registerNamedTemplate(), QHttpNetworkReplyPrivate::removeAutoDecompressHeader(), QSqlDatabasePrivate::removeDatabase(), QLocalServerPrivate::removeServer(), renameOverloads(), QStyleSheetStyle::renderRule(), replaceKeyword(), QSslSocketPrivate::resetDefaultCiphers(), QTextDocumentWithImageResources::resourcesLoading(), QDockAreaLayoutInfo::restoreState(), QDeclarativeCompiledBindingsPrivate::run(), QMeeGoGraphicsSystem::runningGraphicsSystemName(), QCUPSSupport::saveOptions(), QDockAreaLayoutInfo::saveState(), QDeclarativeExpressionPrivate::scriptValue(), QTextEdit::scrollToAnchor(), QSqlRelationalTableModel::selectStatement(), SequentialAnchorData::SequentialAnchorData(), QDBusConnectionPrivate::serverConnection(), QWidget::setAccessibleName(), QEglContext::setApi(), QMetaObjectBuilder::setClassName(), QDBusConnectionManager::setConnection(), QAxBase::setControl(), QNetworkHeadersPrivate::setCookedHeader(), QCUPSSupport::setCurrentPrinter(), QTestResult::setCurrentTestObject(), QDirModel::setData(), QWSRegionNameCommand::setData(), QSqlDatabase::setDatabaseName(), QFilePrivate::setError(), QSvgFont::setFamilyName(), QFile::setFileName(), QTemporaryFile::setFileTemplate(), QAction::setFont(), QRuntimeGraphicsSystem::setGraphicsSystem(), QAbstractButton::setIconSize(), QXmlQuery::setInitialTemplateName(), QDeclarativePathViewAttached::setIsCurrentItem(), QSqlField::setName(), QDeclarativePathAttribute::setName(), QPatternist::XsdUserSchemaType< AnySimpleType >::setName(), QDeclarativeRewrite::RewriteBinding::setName(), QDeclarativeXmlListModelRole::setName(), QRfbServerInit::setName(), QWSRegionNameCommand::setName(), QDomNodePrivate::setNodeValue(), QObject::setObjectName(), QAbstractSocket::setPeerName(), QPrinter::setPrinterName(), QMacPrintEngine::setProperty(), QVideoSurfaceFormat::setProperty(), QObject::setProperty(), QDeclarativeParticles::setSource(), QDeclarativeScriptAction::setStateChangeScriptName(), QPatternist::XsdSchemaChecker::setupAllowedAtomicFacets(), setupDBusInterface(), QGtkStylePrivate::setupGtkFileChooser(), QSqlDatabase::setUserName(), QEglProperties::setValue(), QMessageBox::setWindowModality(), QRfbServerInit::size(), sizeForOrientation(), QScriptCompletionTask::start(), QDomHandler::startDTD(), QDomHandler::startEntity(), QNetworkSessionPrivateImpl::stateChange(), QXmlSimpleReaderPrivate::stringAddC(), QCss::StyleSelector::styleRulesForNode(), QPSQLDriver::subscribeToNotificationImplementation(), QVariant::swap(), QProcessEnvironment::systemEnvironment(), termMatches(), QCss::Parser::testAndParseUri(), QTextControl::toHtml(), QTextEdit::toHtml(), QIntValidator::top(), QPlainTextEdit::toPlainText(), QWidget::topLevelWidget(), QTest::toString(), AnchorData::toString(), QFontSubset::toTruetype(), QDeclarativeScriptAction::transition(), QMeeGoGraphicsSystem::triggerSwitchCallbacks(), QGLShaderProgram::uniformLocation(), QBBEngine::updateConfiguration(), ShaderEffectItem::updateEffectState(), QMainWindowLayout::updateHIToolBarStatus(), QAxScriptManager::updateScript(), QPatternist::MaintainingReader< XSLTTokenLookup >::validateElement(), QSqlField::value(), QPatternist::VariableLoader::VariableLoader(), QIconLoaderEngine::virtual_hook(), QMeeGoGraphicsSystem::wrapPixmapData(), QDBusMetaObjectGenerator::write(), QRfbServerInit::write(), QTextOdfWriter::writeInlineCharacter(), QPatternist::yyparse(), QAxMetaObject::~QAxMetaObject(), QConfFileSettingsPrivate::~QConfFileSettingsPrivate(), QDBusServer::~QDBusServer(), QEglProperties::~QEglProperties(), QEventDispatcherUNIXPrivate::~QEventDispatcherUNIXPrivate(), QGLEngineSharedShaders::~QGLEngineSharedShaders(), QHttpNetworkHeader::~QHttpNetworkHeader(), QRfbServerInit::~QRfbServerInit(), QWidget::~QWidget(), QXmlContentHandler::~QXmlContentHandler(), QXmlDeclHandler::~QXmlDeclHandler(), QXmlDefaultHandler::~QXmlDefaultHandler(), QXmlDTDHandler::~QXmlDTDHandler(), QXmlLexicalHandler::~QXmlLexicalHandler(), and QXmlReader::~QXmlReader().

◆ NumEntries

const int NumEntries = 21
static

Definition at line 72 of file qkeysequence.cpp.

Referenced by qtkeyForMacSymbol().

◆ qt_sequence_no_mnemonics

bool qt_sequence_no_mnemonics = true
static