Remove the qs() macro.

There is tootoo many risks of conflicts with existing code.

QStringLiteral is not that hard to type. And if users want to use qs
they can still define it in their own headers.

Change-Id: I7da4772d902033fa163f5177c012b5d0e87332d7
Reviewed-on: http://codereview.qt.nokia.com/1357
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Olivier Goffart 2011-07-08 11:11:39 +02:00 committed by Qt by Nokia
parent d96b7b809e
commit 2e58f52ded

View File

@ -148,10 +148,6 @@ template<int n> struct QConstStringData
# define QStringLiteral(str) QLatin1String(str) # define QStringLiteral(str) QLatin1String(str)
#endif #endif
#ifndef QT_NO_KEYWORDS
#define qs(str) QStringLiteral(str)
#endif
class Q_CORE_EXPORT QString class Q_CORE_EXPORT QString
{ {
public: public: