Commit Graph

84 Commits

Author SHA1 Message Date
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