Sebastian
4e6a228b97
qt.cfg: Add obsolete functions qStableSort() and qSwap() ( #2050 )
2019-07-29 18:58:31 +02:00
Sebastian
cce061fe95
qt.cfg: Add functions of class QDomElement ( #2049 )
...
Most were found by daca@home
2019-07-29 16:57:16 +02:00
versat
22f8080d1d
qt.cfg: Add some functions of class QLabel
2019-07-26 15:59:47 +02:00
versat
cdb0e8322c
qt.cfg: Add qSort() and some functions of class QAction
2019-07-26 14:56:32 +02:00
Sebastian
3e5f07b3fb
qt.cfg: Add/enhance functions of class QString ( #2027 )
...
Some were reported missing by daca@home.
2019-07-23 19:55:55 +02:00
Sebastian
4986b02566
qt.cfg: Add functions of class QRegExp ( #2017 )
...
This class is also used by the Cppcheck GUI.
Reference: https://doc.qt.io/qt-5/qregexp.html
2019-07-22 12:53:58 +02:00
Sebastian
9c8c539549
qt.cfg: Add some functions of class QXmlStreamAttributes ( #2016 )
...
This class is also used by the Cppcheck GUI.
2019-07-18 12:38:42 +02:00
Sebastian
512c1b12c6
qt.cfg: Add some functions of class QXmlStreamWriter ( #2010 )
...
This class is also used by the Cppcheck GUI.
2019-07-18 06:30:53 +02:00
Sebastian
b242817565
qt.cfg: Add functions of class QMap ( #1985 )
...
Reference:
https://doc.qt.io/qt-5/qmap.html
2019-07-12 18:06:05 +02:00
versat
d4d9bb4830
qt.cfg: Add some global Qt functions
...
Found by daca@home
2019-07-11 16:20:22 +02:00
versat
30f49b2fbd
qt.cfg: Add functions of classes QTest and QHash
...
References:
https://doc.qt.io/qt-5/qtest.html
https://doc.qt.io/qt-5/qhash.html
Most of the functions were found missing by daca@home.
2019-07-11 15:32:48 +02:00
versat
d880830efc
qt.cfg: Add functions of QPainter class
...
Reference:
https://doc.qt.io/qt-5/qpainter.html
Most of the function configurations were found missing by daca@home
2019-07-11 14:53:38 +02:00
Sebastian
a4bcb7e0fb
qt.cfg: Add functions of class QDate ( #1979 )
...
Reference:
https://doc.qt.io/qt-5/qdate.html
Found by daca@home
2019-07-11 09:47:33 +02:00
Sebastian
b2c747cff6
qt.cfg: Add "addWidget()" for classes Q(V|H|)BoxLayout and QGridLayout. ( #1972 )
...
Found by daca@home
2019-07-09 12:38:41 +02:00
Sebastian
96a7c19b91
qt.cfg: Add smart pointers from Qt ( #1819 )
2019-05-03 13:21:49 +02:00
versat
e8c2ea5db2
qt.cfg: Add support for QApplication::translate().
2019-03-20 16:27:15 +01:00
versat
b6953a46d7
qt.cfg: Fixes, enhancements and adding argument directions.
2019-03-20 14:33:29 +01:00
versat
7911684399
Run astyle [ci skip].
2019-03-14 09:58:55 +01:00
Sebastian Held
e9f25bed3f
qt.cfg: add logging macro definition ( #1738 )
2019-03-14 06:14:51 +01:00
orbitcowboy
a9658607d7
qt.cfg: Added support for some QTC_ASSERT()-macros. This fixes a bunch of 'unknownMacros'-warnings from daca@home.
2019-03-03 18:42:02 +01:00
versat
7ccf4b9a0d
qt.cfg: Add support for some QTimer functions.
...
Reference:
https://doc.qt.io/qt-5/qtimer.html
2019-02-28 16:07:11 +01:00
Martin Ettl
fe402498e1
qt.cfg: Added support for Q_DECLARE_PUBLIC()-macro.
2019-02-27 15:38:31 +01:00
Thomas Niederberger
084c7c284e
Add missing Qt macros ( #1709 )
...
Add two Qt macros that were missing
2019-02-27 15:11:34 +01:00
Sebastian
61f911d39a
qt.cfg: Add Q_DECLARE_TR_FUNCTIONS() and others ( #1677 )
...
Add unknownMacro Q_DECLARE_TR_FUNCTIONS found via daca@home.
Add function QCoreApplication::translate() and macro
QT_DECLARE_DEPRECATED_TR_FUNCTIONS() the unknownMacro depends on.
Reference:
https://doc.qt.io/qt-5/qcoreapplication.html#Q_DECLARE_TR_FUNCTIONS
https://doc.qt.io/qt-5/qcoreapplication.html#translate
2019-02-26 13:39:37 +01:00
orbitcowboy
86e3ce7a47
wxwidgets.cfg: Added support for more interfaces.
2019-02-25 16:31:16 +01:00
Andreas Bacher
587474e3b0
qt.cfg: Add support for further qtest macros & add definition for macros Q_ASSERT, Q_ASSERT_X ( #1693 )
...
Thanks!
2019-02-25 14:07:57 +01:00
Daniel Marjamäki
09d505219c
qt.cfg: add implementations for macros to avoid unreadVariable FPs
2019-02-24 20:58:07 +01:00
Andreas Bacher
6760958e67
itions of QCOMPARE, QVERIFY & QVERIFY2, this are qtest macros not asserts ( #1690 )
...
* qt.cfg: Changed definitions of QCOMPARE, QVERIFY & QVERIFY2, this are qtest macros not asserts
* qt.cfg: Add support for further qtest macros
2019-02-24 16:44:48 +01:00
versat
fe6ea282d3
qt.cfg: Add support for QT_TR_NOOP* and QT_TRANSLATE_NOOP* macros
...
Reference:
https://doc.qt.io/qt-5/i18n-source-translation.html#using-qt-tr-noop-and-qt-translate-noop-in-c
2019-02-12 10:21:56 +01:00
versat
8207e48adc
qt.cfg: Add support for macros Q_LIKELY and Q_UNLIKELY
...
Reference:
https://doc.qt.io/qt-5/qtglobal.html#Q_LIKELY
https://doc.qt.io/qt-5/qtglobal.html#Q_UNLIKELY
2019-02-12 08:21:49 +01:00
Sebastian
2c1f97d787
qt.cfg: Add support for macros `forever` and `Q_FOREVER` ( #1662 )
...
Reference:
https://doc.qt.io/qt-5/qtglobal.html#forever
https://doc.qt.io/qt-5/qtglobal.html#Q_FOREVER
2019-02-11 16:35:01 +01:00
versat
5e7f491bd4
qt.cfg: Add support for qFatal() which aborts the program
...
Reference: https://doc.qt.io/qt-5/qtglobal.html#qFatal
2019-02-07 15:00:54 +01:00
versat
bdbaaff361
qt.cfg: Add support for function QMenu::addAction
...
Reference: https://doc.qt.io/qt-5/qmenu.html#addAction
daca@home currently reports this as the Qt function which was most often missing a configuration.
2019-02-07 14:24:46 +01:00
Sebastian
5fe7aad5e3
qt.cfg: Add configuration and tests for macro Q_NULLPTR ( #1651 )
...
Qt defines `Q_NULLPTR` with `nullptr` if it is available, otherwise with `NULL`.
Since there seems to be no (sane) way to configure it the same way in the library configuration it is just defined with `NULL`.
2019-02-07 12:27:25 +01:00
Sebastian
55ce6d2073
qt.cfg: Add support and tests for QFile::exists function ( #1645 )
...
Found by daca@home
2019-02-06 13:23:05 +01:00
orbitcowboy
36669d8c72
qt.cfg: Removed redundant semicolons and added support for QVERIFY2()-macro.
2019-01-26 12:26:01 +01:00
orbitcowboy
0095873528
qt.cfg: Fixed typo in QCOMPARE(a,b).
2019-01-25 20:39:10 +01:00
orbitcowboy
6b48b1610c
qt.cfg: Added support for QVERIFY(expr).
2019-01-25 20:05:56 +01:00
orbitcowboy
18bce42205
qt.cfg: Added support for QCOMPARE(a,e).
2019-01-25 20:00:10 +01:00
versat
693dcf9671
qt.cfg: Add macro Q_CLASSINFO()
...
Fix unknownMacro found by daca@home
2019-01-25 14:44:10 +01:00
orbitcowboy
4195cb0842
qt.cfg: Added support for Q_PLUGIN_METADATA
2018-12-23 17:51:00 +01:00
Sebastian
860b7dc76f
qt.cfg: Add macro Q_DECLARE_PRIVATE ( #1510 )
...
Reference:
https://wiki.qt.io/D-Pointer#Q_DECLARE_PRIVATE_and_Q_DECLARE_PUBLIC
2018-12-07 20:03:50 +01:00
Sebastian
cf44964f20
qt.cfg: Define "qreal" as "double" ( #1416 )
...
By default "qreal" is a typedef for "double".
Reference: https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef
2018-10-09 14:52:09 +02:00
Sebastian
ae5da13f3a
qt.cfg: Add obsolete functions with warning and one alternative one. ( #1277 )
...
For qInstallMsgHandler there is an alternative function qInstallMessageHandler. Both are added.
For qsrand and qrand there is only a hint that the class QRandomGenerator should be used instead.
Reference: https://doc.qt.io/qt-5/qtglobal-obsolete.html
2018-06-05 21:10:35 +02:00
Sebastian
0a95fb4b70
qt.cfg: Add some QStandardItem[Model] functions ( #1200 )
2018-05-02 21:03:55 +02:00
Sebastian
40c42f2de7
qt.cfg: Add some functions used in the GUI, remove redundant const ( #1189 )
2018-04-24 16:37:55 +02:00
Sebastian
86d54c63c6
qt.cfg: Add more QString:: methods, fix errors. ( #1185 )
...
Additionally fix QString::sprintf() and QString::asprintf()
configurations.
Fix typo in quin[i]tptr.
Add warning for QString::sprintf and QString::vsprintf.
These functions are obsolete since Qt5, see
https://doc.qt.io/qt-5/qstring-obsolete.html
2018-04-24 12:23:23 +02:00
Sebastian
26e22a9f5c
qt.cfg: Add/Enhance Qt macros and functions ( #1164 )
...
Qt macro Q_D() is disabled for now until ticket 8479 gets fixed.
2018-04-12 13:40:02 +02:00
Sebastian
bbb43155bf
qt.cfg: Fix false positives for function disconnect ( #1137 )
...
There is no problem with a null pointer as third argument. 0 is used as
wildcard and stands for all receivers for example.
2018-03-27 15:54:24 +02:00
Paul Fultz II
4ef445e228
Add const to empty and size functions ( #1124 )
2018-03-19 09:58:22 +01:00
Sebastian
af4181f4d1
Qt library: Add missing podtype information ( #1115 )
...
The type qintptr was missing.
qlonglong, qulonglong and uchar have known sizes, so the sizes can be
specified.
2018-03-13 12:54:17 +01:00
Sebastian
c63cda4439
Qt library: Add missing comments and attributes and fixed some configurations ( #1110 )
2018-03-09 20:19:59 +01:00
Sebastian
152fc83bf0
Qt library: Add some function configurations ( #1105 )
2018-03-07 15:24:36 +01:00
Sebastian
6a3dc6ad45
Qt library: Add some function configurations ( #1086 )
2018-02-12 08:36:50 +01:00
Daniel Marjamäki
247810a186
qt.cfg: split configuration for QSettings::setValue and QSettings::value
2017-10-11 08:30:10 +02:00
Daniel Marjamäki
4009f11475
qt: Add configurations for QSettings::setValue, QSettings::value
2017-10-10 22:05:00 +02:00
Daniel Marjamäki
7875054f36
Fixed #8078 (cppcheck-cfg.rng outdated)
2017-07-23 12:09:41 +02:00
Daniel Marjamäki
6b685f5a80
qt.cfg: Add configuration for QStringList
2017-04-23 22:12:50 +02:00
Daniel Marjamäki
5eca129865
qt.cfg: Added QList configuration
2017-04-23 20:41:34 +02:00
Daniel Marjamäki
429061b59d
qt.cfg: updated cfg for connect/disconnect/tr/SIGNAL/SLOT
2017-04-22 20:29:37 +02:00
Daniel Marjamäki
53b77aafef
qt.cfg: added some often used QString methods
2017-04-22 19:41:28 +02:00
Daniel Marjamäki
1422487769
astyle formatting
...
[ci skip]
2017-04-20 17:43:28 +02:00
Daniel Marjamäki
296f250caa
qt.cfg: configure some QString methods
2017-04-18 19:21:34 +02:00
Daniel Marjamäki
c229754a70
qt.cfg: Add configuration for QString
2017-04-18 18:04:27 +02:00
Daniel Marjamäki
d6b6f31fbd
Fixed #7956 (Add Q_ENUM define in qt.cfg)
2017-03-22 07:32:31 +01:00
Robert Reif
28e14f0b94
Fixed #7711 (QString::asprintf format string checking.)
2016-08-24 12:44:57 +02:00
Robert Reif
4d157af61f
Fixed #7704 (QString::sprintf format string checking)
2016-08-20 08:47:52 +02:00
Daniel Marjamäki
ea617ee011
Fixed #7052 (Qt foreach())
2016-05-23 11:13:25 +02:00
Christian Ehrlicher
18beee3e17
added more macros to qt.cfg
2015-03-21 15:26:32 +01:00
PKEuS
27af2bf35d
Fixed #6335 : Added definition for Q_PROPERTY to qt.cfg
2014-12-17 20:03:11 +01:00
Martin Ettl
87a42cd0f6
running Astyle. No functional changes.
2014-12-14 01:52:00 +01:00
PKEuS
fef8083ff7
Fixed #6324 : Added definition of Q_DISABLE_COPY to qt.cfg
2014-12-14 14:23:29 +01:00
Daniel Marjamäki
44420bdbf1
cfg: formatted the cfg files with the runastyle script
2014-10-14 06:46:47 +02:00
PKEuS
cbb8360b30
Added version attribute to .cfg files ( #5928 )
2014-09-29 16:26:17 +02:00
PKEuS
d118a56b42
Added support for several Qt integer types ( #5094 )
2014-09-02 09:18:39 +02:00
Daniel Marjamäki
62cde673ee
qt.cfg: Define Q_DECL_EXPORT and Q_DECL_IMPORT
2014-07-29 16:56:15 +02:00
Sam Truscott
3d0524ecc6
Update the detection of the arguments in Qt's invokeMethod.
...
invokeMethod can invoke functions by name (string) rather than a
direct function call (i.e. reflection). The old code wasn't
correctly parsing out the argument which contained the name
of the function to call.
This resulted in that function being reported as unused when it is.
2014-03-13 16:43:25 +00:00
Sam Truscott
385478d89e
Reflection no longer part of markup. Some tokeniser not done on markup.
2014-03-11 15:57:28 +01:00
Sam Truscott
389bf7ed3f
Update Qt to support Markup structure
2014-01-02 20:09:28 +01:00