diff options
| author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-11 06:39:30 (GMT) |
|---|---|---|
| committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-11 06:39:30 (GMT) |
| commit | cecccbf38a490d50a728cb5740e815a17388e1f6 (patch) | |
| tree | d9b5bdb1474f22507e46f5525777ffc43277f081 /doc/src/snippets/accessibilitypluginsnippet.cpp | |
| parent | e50340bdaa8e331f9b3e2bfc36abc1b8bc1a1c7a (diff) | |
| parent | af2ad5865c9922e38bf8936c4a8ee72e1054c05f (diff) | |
| download | Qt-cecccbf38a490d50a728cb5740e815a17388e1f6.zip Qt-cecccbf38a490d50a728cb5740e815a17388e1f6.tar.gz Qt-cecccbf38a490d50a728cb5740e815a17388e1f6.tar.bz2 | |
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team: (139 commits)
Designer: Allow promoted QWidget's to be buddies.
Designer: Specify 'notr' attribute for buttongroup name.
[QTBUG-15278] QWidget::windowState gets out of sync (Aero Snap)
HTTP cacheing: do not store the date header with the resource
Let's not write to the source buffer when blending argb32 on rgb16.
Add support for -unset <prop> option to qmake.
make -markuntranslated work without -idbased
fix conditional on shell type
Lancelot: bail out if rendering consistently fails
Minor optimization to lance/elot
Make it possible to test the new font hinting in lance[elot]
Cocoa: p1 bug fix: fix auto test regressions
Ensure shared network session deleted from correct thread
Fixes: The "test: too many arguments" error after every make
Revert "Remove SIGBUS emission from QNetworkSession destruction."
Image w/ PreserveAspectFit has its width changed once more than needed.
fix QLocalSocket::isValid() on Windows
Cocoa: p1 bug fix: revert use of subWindowStacking
Not possible to enter negative values to widgets with numeric fields
QmlViewer: Enable remote qml debugging
...
Diffstat (limited to 'doc/src/snippets/accessibilitypluginsnippet.cpp')
| -rw-r--r-- | doc/src/snippets/accessibilitypluginsnippet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/snippets/accessibilitypluginsnippet.cpp b/doc/src/snippets/accessibilitypluginsnippet.cpp index a7e25f0..5c28468 100644 --- a/doc/src/snippets/accessibilitypluginsnippet.cpp +++ b/doc/src/snippets/accessibilitypluginsnippet.cpp @@ -52,7 +52,7 @@ public: //! [0] QStringList SliderPlugin::keys() const { - return QStringList() << "QSlider"; + return QStringList() << QLatin1String("QSlider"); } //! [0] @@ -61,8 +61,8 @@ QAccessibleInterface *SliderPlugin::create(const QString &classname, QObject *ob { QAccessibleInterface *interface = 0; - if (classname == "QSlider" && object && object->isWidgetType()) - interface = new AccessibleSlider(classname, static_cast<QWidget *>(object)); + if (classname == QLatin1String("QSlider") && object && object->isWidgetType()) + interface = new QAccessibleSlider(static_cast<QWidget *>(object)); return interface; } |
