qt5base-lts/tests/auto/corelib/io
Kai Koehne c9cdbcb12f Add const overload for QLoggingCategory::operator()()
Change 85e57653 caused a compile error for code that does

  Q_DECLARE_LOGGING_CATEGORY(cat);
  //..
  qCDebug(cat()) << // ...

error: C3848: expression having type 'const QLoggingCategory' would lose
some const-volatile qualifiers in order to call 'QLoggingCategory
&QLoggingCategory::operator ()(void)'

This is a regression from Qt 5.2. Fix the error by adding a const version
of operator()().

Change-Id: I2fb04f2e155962adee0f98089fc5a159000bef56
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-02-15 21:57:43 +01:00
..
largefile Remove #ifdef from outside test functions 2014-01-10 17:14:29 +01:00
qabstractfileengine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbuffer Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
qdatastream QDateTime - Improve and expose Qt::OffsetFromUtc 2013-08-28 19:08:14 +02:00
qdataurl tst_qdataurl: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:45 +02:00
qdebug Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
qdir QDir: Do not assume that root ends with a slash 2014-01-22 00:04:16 +01:00
qdiriterator Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfile Enable qfile tests for platforms without network 2013-11-11 20:13:12 +01:00
qfileinfo WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qfileselector QFileSelector: correct the macros for Apple platforms. 2014-02-04 19:36:58 +01:00
qfilesystementry Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfilesystemwatcher Merge remote-tracking branch 'origin/stable' into dev 2013-10-11 16:12:35 +02:00
qiodevice Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qipaddress Make QIPAddress::parseIp6 return the first bad character 2013-07-20 05:08:08 +02:00
qlockfile Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
qloggingcategory Add const overload for QLoggingCategory::operator()() 2014-02-15 21:57:43 +01:00
qloggingregistry Allow configuration of logging rules from file system 2014-02-11 20:59:15 +01:00
qnodebug Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
qprocess Add function to get the actual PID from QProcess 2014-02-14 00:34:25 +01:00
qprocess-noapplication Expose QTest::currentAppName() and remove hard-coded argv[0] in tests 2013-09-26 18:45:16 +02:00
qprocessenvironment Fix remaining use of QTEST_NOOP_MAIN 2013-09-02 14:59:02 +02:00
qresourceengine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsavefile Fix temporary directory leak in tst_qsavefile. 2013-10-01 12:28:22 +02:00
qsettings Merge remote-tracking branch 'origin/stable' into dev 2013-11-29 15:59:34 +01:00
qstandardpaths Merge remote-tracking branch 'origin/stable' into dev 2014-02-12 16:28:07 +01:00
qtemporarydir WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qtemporaryfile WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qtextstream Fixed QTextStream "stdin" auto tests 2013-07-30 09:56:40 +02:00
qurl tst_qurl: add test for matches() with empty vs null case 2013-11-05 19:08:08 +01:00
qurlinternal Fix MSVC 64bit warnings about int64 truncation in tests. 2014-01-24 22:06:15 +01:00
qurlquery tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qwinoverlappedionotifier remove qt_windows.h from qwinoverlappedionotifier_p.h 2014-01-15 18:43:20 +01:00
io.pro Allow configuration of logging rules from file system 2014-02-11 20:59:15 +01:00