1229 gmodifs = globalModifs();
1250 gmodifs = globalPortableModifs();
1258 if (!gmodifs)
return ret;
1272 for (
int i = 0; i < modifs.
size(); ++i) {
1284 const QString sub = sl.
mid(lastI, i - lastI + 1);
1289 for (
int j = 0; j < modifs.
size(); ++j) {
1291 if (sub == mkf.
name) {
1303 accel = accel.
mid(p + 1);
1306 if (accel.
length() == 1) {
1316 }
else if (accel[0] ==
QLatin1Char(
'f') && (fnum = accel.
mid(1).
toInt()) && (fnum >= 1) && (fnum <= 35)) {
1323 for (
int tran = 0; tran < 2; ++tran) {
1326 for (
int i = 0;
keyname[i].name; ++i) {
QBool contains(QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
static QString keyName(const QString &rKey)
static const struct @203 keyname[]
int toInt(bool *ok=0, int base=10) const
Returns the string converted to an int using base base, which is 10 by default and must be between 2 ...
int length() const
Returns the number of characters in this string.
QString toUpper() const Q_REQUIRED_RESULT
Returns an uppercase copy of the string.
static QString tr(const char *sourceText, const char *comment=0, int n=-1)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
The QChar class provides a 16-bit Unicode character.
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
const QChar * unicode() const
Returns a '\0'-terminated Unicode representation of the string.
const T & at(int i) const
Returns the item at index position i in the list.
int indexOf(QChar c, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QString mid(int position, int n=-1) const Q_REQUIRED_RESULT
Returns a string that contains n characters of this string, starting at the specified position index...
int lastIndexOf(QChar c, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
QString toLower() const Q_REQUIRED_RESULT
Returns a lowercase copy of the string.
int size() const
Returns the number of items in the list.
static int qtkeyForMacSymbol(const QChar ch)
static QString qtKey(CFStringRef cfkey)
QString & remove(int i, int len)
Removes n characters from the string, starting at the given position index, and returns a reference t...
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
The QList class is a template class that provides lists.