Commit Graph

90 Commits

Author SHA1 Message Date
versat d870e4d555 qt.cfg: Add configuration for QString::resize() 2019-09-12 15:32:55 +02:00
versat 9b9e9a4cf4 qt.cfg: Add configurations for functions of class QSettings
Reference: https://doc.qt.io/qt-5/qsettings.html
2019-09-05 13:49:18 +02:00
versat 1faf932206 qt.cfg: Add configurations for functions of class QDateTime
Reference: https://doc.qt.io/qt-5/qdatetime.html
2019-09-03 12:50:29 +02:00
Sebastian 2c673bd380
qt.cfg: Add container configuration for QStack (inherits from QVector) (#2102) 2019-08-20 20:37:52 +02:00
Sebastian 26dfee58f8
qt.cfg: Add QLinkedList container configuration and some tests. (#2099) 2019-08-20 07:09:43 +02:00
Sebastian bca875e80d
qt.cfg: Fix QList::at and QStringList::at configuration (#2100)
Return values are different for these functions.
2019-08-19 18:23:34 +02:00
Sebastian 544bedc6ee
qt.cfg: Add QByteArray container configuration (similar to QString) (#2088)
Reference: https://doc.qt.io/qt-5/qbytearray.html
2019-08-15 16:14:17 +02:00
versat 178568f41f qt.cfg: Add some more global functions 2019-08-15 13:22:28 +02:00
Sebastian 81edb23c16
qt.cfg: Fix and enhance Qt container configuration (#2055)
-Add iterator end patterns
-Add/fix size and access functions
-Remove marking QList and QStringList as std-like strings
-QStringList configuration now inherits from QList like it is actually the case
-Add tests
2019-08-15 10:23:05 +02:00
versat 6995d40c14 qt.cfg: Add configuration for deprecated function QString::find() 2019-08-01 09:43:24 +02:00
Sebastian 549452b7b9
qt.cfg: Add container and function configurations for QVector (#2052)
Reference: https://doc.qt.io/qt-5/qvector.html
2019-07-31 13:58:55 +02:00
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