qt5base-lts/tests/auto/corelib/kernel
Olivier Goffart 50e2bc2aa0 Fix QDebug cumulating operator<< with many Q_ENUM
The problem is that the operator<< was taking a non-const reference to the QDebug
object. This causes a problem as all other operator<< return a temporary.
Since every other roperator<< takes the QDebug by value, we should also take it by value
in this case.

Move the operator<< in qdebug.h because i don't want to #include qdebug.h from qobject.h
And move the qt_QMetaEnum_debugOperator to be in the corresponding .cpp

Task-number: QTBUG-44462
Change-Id: Ia01629224c58930c2997e767efc43de90d6309e2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2015-02-17 06:17:59 +00:00
..
qcoreapplication Update copyright headers 2015-02-11 06:49:51 +00:00
qeventdispatcher Update copyright headers 2015-02-11 06:49:51 +00:00
qeventloop Update copyright headers 2015-02-11 06:49:51 +00:00
qmath Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaenum Update copyright headers 2015-02-11 06:49:51 +00:00
qmetamethod Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaobject Fix QDebug cumulating operator<< with many Q_ENUM 2015-02-17 06:17:59 +00:00
qmetaobjectbuilder Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaproperty Update copyright headers 2015-02-11 06:49:51 +00:00
qmetatype QMetaType: Automatic registration of Q_GADGET and Q_ENUM types 2015-02-12 07:11:04 +00:00
qmimedata Update copyright headers 2015-02-11 06:49:51 +00:00
qobject Update copyright headers 2015-02-11 06:49:51 +00:00
qpointer Update copyright headers 2015-02-11 06:49:51 +00:00
qsharedmemory Update copyright headers 2015-02-11 06:49:51 +00:00
qsignalblocker Update copyright headers 2015-02-11 06:49:51 +00:00
qsignalmapper Update copyright headers 2015-02-11 06:49:51 +00:00
qsocketnotifier Update copyright headers 2015-02-11 06:49:51 +00:00
qsystemsemaphore Update copyright headers 2015-02-11 06:49:51 +00:00
qtimer Update copyright headers 2015-02-11 06:49:51 +00:00
qtranslator Update copyright headers 2015-02-11 06:49:51 +00:00
qvariant Add conversion between Q_ENUMs and strings in QVariant 2015-02-15 08:48:01 +00:00
qwineventnotifier Update copyright headers 2015-02-11 06:49:51 +00:00
kernel.pro Introduces QMetaEnum::fromType 2015-02-05 14:28:18 +00:00