qt5base-lts/tests/auto/corelib
Marc Mutz 0e8279b7bc QObject: add a macro for conveniently setting the object name
This is a simplified port of KDTools' KDAB_SET_OBJECT_NAME.
It simply assigns the variable name as the objectName of
a QObject, uic-style. It uses a small helper function so
that it works on references as well as pointer variables.

  QLabel label;
  QLabel *pLabel = new QLabel();
  Q_SET_OBJECT_NAME(label);
  Q_SET_OBJECT_NAME(pLabel);

Change-Id: I25fec0c90f33249a3ea5d2dd622ab708019fd101
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-07-25 14:57:08 +02:00
..
animation Make animation autotests build without widgets 2012-06-07 00:39:05 +02:00
codecs Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
global Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
io Windows: Do not return short path names for QDir::tempPath(). 2012-07-17 15:56:15 +02:00
itemmodels QAbstractItemView: don't qRegisterMetaType<QModelIndex> 2012-07-24 10:46:24 +02:00
json Fix some spelling errors 2012-07-11 14:52:37 +02:00
kernel QObject: add a macro for conveniently setting the object name 2012-07-25 14:57:08 +02:00
mimetypes tst_QMimeDatabase: use QFutureSynchronizer 2012-07-13 01:51:33 +02:00
plugin make use of $$[FOO/get] properties 2012-06-19 16:39:58 +02:00
statemachine statemachine: Move RestorePolicy enum to QState class 2012-07-16 10:08:28 +02:00
thread Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
tools Remove the unnecessary qdebug.h includes in the QPoint(F) tests 2012-07-24 06:31:26 +02:00
xml Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00