2014-01-02 20:09:28 +01:00
|
|
|
<?xml version="1.0"?>
|
2017-07-23 12:09:41 +02:00
|
|
|
<def format="2">
|
2014-01-02 20:09:28 +01:00
|
|
|
<markup ext=".qml" reporterrors="false" aftercode="true">
|
|
|
|
<!-- keywords in QML code to ignore -->
|
|
|
|
<keywords>
|
|
|
|
<keyword name="if"/>
|
|
|
|
<keyword name="while"/>
|
|
|
|
<keyword name="typeof"/>
|
|
|
|
<keyword name="for"/>
|
|
|
|
</keywords>
|
|
|
|
<!-- code blocks are meta-code/pseudo code placed in the library
|
|
|
|
that is used/called by the native c/c++ code -->
|
|
|
|
<codeblocks>
|
|
|
|
<!-- need to add all the QML function names below -->
|
|
|
|
<block name="onClicked"/>
|
|
|
|
<block name="onFinished"/>
|
|
|
|
<block name="onTriggered"/>
|
|
|
|
<block name="onRetrieveTriggered"/>
|
|
|
|
<block name="onPressed"/>
|
|
|
|
<block name="onTouch"/>
|
|
|
|
<block name="onFocusedChanged"/>
|
|
|
|
<block name="onSubmittedNewStatusChanged"/>
|
|
|
|
<block name="onCreationCompleted"/>
|
2014-03-11 15:57:28 +01:00
|
|
|
<block name="onFileSelected"/>
|
2014-01-02 20:09:28 +01:00
|
|
|
<!-- code block structure in QML is:
|
|
|
|
onClicked: {
|
|
|
|
call(var)
|
|
|
|
} -->
|
|
|
|
<structure offset="3" start="{" end="}"/>
|
|
|
|
<!-- the start block is '3' tokens after the
|
|
|
|
name token so we skip them -->
|
|
|
|
</codeblocks>
|
2014-03-11 15:57:28 +01:00
|
|
|
<codeblocks>
|
|
|
|
<block name="function"/>
|
|
|
|
<!-- code block structure in QML is:
|
|
|
|
funnction x(args): {
|
|
|
|
call(var)
|
|
|
|
} -->
|
|
|
|
<structure offset="2" start="{" end="}"/>
|
|
|
|
</codeblocks>
|
2014-01-02 20:09:28 +01:00
|
|
|
<!-- Qt Properties have the format :
|
|
|
|
Q_PROPERTY(<type> <name> READ <func> WRITE <func> NOTIFY <func>)
|
|
|
|
the READ/WRITE/NOTIFY parts are optional -->
|
|
|
|
<exported>
|
|
|
|
<exporter prefix="Q_PROPERTY">
|
2014-10-14 06:46:47 +02:00
|
|
|
<suffix>READ</suffix>
|
|
|
|
<!-- catch the element before READ if present -->
|
2014-01-02 20:09:28 +01:00
|
|
|
<prefix>READ</prefix>
|
|
|
|
<prefix>WRITE</prefix>
|
|
|
|
<prefix>NOTIFY</prefix>
|
|
|
|
</exporter>
|
|
|
|
</exported>
|
|
|
|
<!-- qml files can call connect on the c++ code -->
|
|
|
|
<imported>
|
|
|
|
<importer>connect</importer>
|
|
|
|
</imported>
|
|
|
|
</markup>
|
|
|
|
<!-- qt can call methods as strings using invokeMethod -->
|
2014-03-11 15:57:28 +01:00
|
|
|
<reflection>
|
2014-03-13 17:43:25 +01:00
|
|
|
<call arg="2">invokeMethod</call>
|
2014-03-11 15:57:28 +01:00
|
|
|
</reflection>
|
2017-04-22 20:29:37 +02:00
|
|
|
<define name="SIGNAL(X)" value="#X"/>
|
|
|
|
<define name="SLOT(X)" value="#X"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type = Qt::AutoConnection) const -->
|
|
|
|
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type = Qt::AutoConnection) -->
|
|
|
|
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type = Qt::AutoConnection) -->
|
|
|
|
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type = Qt::AutoConnection) -->
|
|
|
|
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, PointerToMemberFunction signal, Functor functor) -->
|
|
|
|
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type = Qt::AutoConnection) -->
|
2018-04-12 13:40:02 +02:00
|
|
|
<function name="connect,QObject::connect">
|
2017-04-22 20:29:37 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2018-04-12 13:40:02 +02:00
|
|
|
<arg nr="4" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="5" default="0">
|
2017-04-22 20:29:37 +02:00
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2014-01-02 20:09:28 +01:00
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- bool QObject::disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method) -->
|
|
|
|
<!-- bool QObject::disconnect(const char *signal = Q_NULLPTR, const QObject *receiver = Q_NULLPTR, const char *method = Q_NULLPTR) const -->
|
|
|
|
<!-- bool QObject::disconnect(const QObject *receiver, const char *method = Q_NULLPTR) const -->
|
|
|
|
<!-- bool QObject::disconnect(const QMetaObject::Connection &connection) -->
|
|
|
|
<!-- bool QObject::disconnect(const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) -->
|
|
|
|
<!-- TODO: function configuration should match all overloaded functions and ideally only QObject methods -->
|
2018-04-12 13:40:02 +02:00
|
|
|
<function name="disconnect,QObject::disconnect">
|
2017-04-22 20:29:37 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2019-02-07 14:24:46 +01:00
|
|
|
<!-- QAction *QMenu::addAction(const QString &text) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut = 0) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut = 0) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QString &text, const QObject *receiver, PointerToMemberFunction method, const QKeySequence &shortcut = ...) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QString &text, Functor functor, const QKeySequence &shortcut = ...) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QString &text, const QObject *context, Functor functor, const QKeySequence &shortcut = 0) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const QObject *receiver, PointerToMemberFunction method, const QKeySequence &shortcut = ...) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, Functor functor, const QKeySequence &shortcut = ...) -->
|
|
|
|
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const QObject *context, Functor functor, const QKeySequence &shortcut = 0) -->
|
|
|
|
<function name="QMenu::addAction">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QAction *"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QString QObject::tr(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) //static -->
|
2018-02-12 08:36:50 +01:00
|
|
|
<function name="tr,QObject::tr">
|
2017-04-22 20:29:37 +02:00
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QString"/>
|
2017-04-22 20:29:37 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<leak-ignore/>
|
2017-04-22 20:29:37 +02:00
|
|
|
<arg nr="1">
|
2018-03-09 20:19:59 +01:00
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
2017-04-22 20:29:37 +02:00
|
|
|
<strz/>
|
|
|
|
</arg>
|
2018-03-09 20:19:59 +01:00
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2014-01-02 20:09:28 +01:00
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- void QSettings::setValue(const QString &key, const QVariant &value) -->
|
2017-10-11 08:30:10 +02:00
|
|
|
<function name="QSettings::setValue">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<leak-ignore/>
|
2017-10-11 08:30:10 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<strz/>
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
2018-03-09 20:19:59 +01:00
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2017-10-11 08:30:10 +02:00
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QVariant QSettings::value(const QString &key, const QVariant &defaultValue = QVariant()) const -->
|
2017-10-11 08:30:10 +02:00
|
|
|
<function name="QSettings::value">
|
2017-10-10 22:05:00 +02:00
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QVariant"/>
|
2017-10-10 22:05:00 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-10-10 22:05:00 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<strz/>
|
|
|
|
<not-uninit/>
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
2018-03-09 20:19:59 +01:00
|
|
|
<arg nr="2" default="QVariant()">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2017-10-10 22:05:00 +02:00
|
|
|
</function>
|
2016-08-20 08:47:52 +02:00
|
|
|
<!-- QString & QString::sprintf(const char * cformat, ...); -->
|
|
|
|
<function name="QString::sprintf">
|
|
|
|
<noreturn>false</noreturn>
|
2018-04-24 12:23:23 +02:00
|
|
|
<returnValue type="QString &"/>
|
2016-08-20 08:47:52 +02:00
|
|
|
<leak-ignore/>
|
|
|
|
<formatstr/>
|
|
|
|
<arg nr="1">
|
|
|
|
<formatstr/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2018-04-24 12:23:23 +02:00
|
|
|
<warn severity="style" alternatives="QString::asprintf,QString::arg,QTextStream" reason="Obsolete"/>
|
2016-08-20 08:47:52 +02:00
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- void QList::append(const T &value) -->
|
|
|
|
<!-- void QList::append(const QList<T> &value) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::append,QStringList::append">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString & QString::append(const QString &str); -->
|
|
|
|
<!-- QString & QString::append(const QChar *str, int len); -->
|
|
|
|
<!-- QString & QString::append(QChar ch); -->
|
|
|
|
<!-- QString & QString::append(const QStringRef &reference); -->
|
|
|
|
<!-- QString & QString::append(QLatin1String str); -->
|
|
|
|
<!-- QString & QString::append(const char *str); -->
|
|
|
|
<!-- QString & QString::append(const QByteArray &ba); -->
|
|
|
|
<function name="QString::append">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString &"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-05-02 21:03:55 +02:00
|
|
|
<!-- void QStandardItem::appendRow(const QList<QStandardItem *> &items) -->
|
|
|
|
<!-- void QStandardItem::appendRow(QStandardItem *item) -->
|
|
|
|
<!-- void QStandardItem::appendRows(const QList<QStandardItem *> &items) -->
|
|
|
|
<!-- void QStandardItemModel::appendRow(const QList<QStandardItem *> &items) -->
|
|
|
|
<!-- void QStandardItemModel::appendRow(QStandardItem *item) -->
|
|
|
|
<function name="QStandardItem::appendRow,QStandardItem::appendRows,QStandardItemModel::appendRow">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString QString::arg(const QString & a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7, const QString & a8) const -->
|
|
|
|
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7, const QString & a8, const QString & a9) const -->
|
|
|
|
<!-- QString QString::arg(int a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(uint a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(long a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(ulong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(qlonglong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(qulonglong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(short a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(ushort a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(QChar a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(char a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<!-- QString QString::arg(double a, int fieldWidth = 0, char format = 'g', int precision = -1, const QChar & fillChar = QLatin1Char( ' ' )) const -->
|
|
|
|
<function name="QString::arg">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QString QString::asprintf(const char * cformat, ...); -->
|
2016-08-24 12:44:57 +02:00
|
|
|
<function name="QString::asprintf">
|
|
|
|
<noreturn>false</noreturn>
|
2018-04-24 12:23:23 +02:00
|
|
|
<returnValue type="QString"/>
|
|
|
|
<use-retval/>
|
2016-08-24 12:44:57 +02:00
|
|
|
<leak-ignore/>
|
|
|
|
<formatstr/>
|
|
|
|
<arg nr="1">
|
|
|
|
<formatstr/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- const QChar QString::at(int position) const -->
|
2017-04-23 22:12:50 +02:00
|
|
|
<function name="QList::at,QString::at,QStringList::at">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="const QChar"/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<valid>0:</valid>
|
2017-04-18 19:21:34 +02:00
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- int QString::capacity() const -->
|
|
|
|
<function name="QString::capacity">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="int"/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- iterator QList::..() -->
|
|
|
|
<function name="QList::begin,QList::end,QList::cbegin,QList::cend,QList::constBegin,QList::constEnd,QList::rbegin,QList::rend,QList::crbegin,QList::crend">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- iterator QString::..() -->
|
|
|
|
<function name="QString::begin,QString::end,QString::cbegin,QString::cend,QString::constBegin,QString::constEnd,QString::rbegin,QString::rend,QString::crbegin,QString::crend">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
</function>
|
2017-04-23 22:12:50 +02:00
|
|
|
<!-- iterator QStringList::..() -->
|
|
|
|
<function name="QStringList::begin,QStringList::end,QStringList::cbegin,QStringList::cend,QStringList::constBegin,QStringList::constEnd,QStringList::rbegin,QStringList::rend,QStringList::crbegin,QStringList::crend">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
</function>
|
2018-05-02 21:03:55 +02:00
|
|
|
<!-- QStandardItem *QStandardItem::child(int row, int column = 0) const -->
|
|
|
|
<function name="QStandardItem::child">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QStandardItem *"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-18 19:21:34 +02:00
|
|
|
<!-- void QString::chop() -->
|
|
|
|
<function name="QString::chop">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QString::clear() -->
|
2017-04-23 20:41:34 +02:00
|
|
|
<function name="QList::clear,QString::clear">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- int QString::compare(const QString &s1, const QString &s2, Qt::CaseSensitivity cs = Qt::CaseSensitive) //static -->
|
|
|
|
<!-- int QString::compare(QLatin1String other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- int QString::compare(const QString &other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- int QString::compare(const QString &s1, QLatin1String s2, Qt::CaseSensitivity cs = Qt::CaseSensitive) //static -->
|
|
|
|
<!-- int QString::compare(QLatin1String s1, const QString &s2, Qt::CaseSensitivity cs = Qt::CaseSensitive) //static -->
|
|
|
|
<!-- int QString::compare(const QStringRef &ref, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- int QString::compare(const QString &s1, const QStringRef &s2, Qt::CaseSensitivity cs = Qt::CaseSensitive) //static -->
|
2017-04-18 19:21:34 +02:00
|
|
|
<function name="QString::compare">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="int"/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<leak-ignore/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2018-03-09 20:19:59 +01:00
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="0">
|
2017-04-18 19:21:34 +02:00
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- bool QList::contains(const T &value) const -->
|
|
|
|
<!-- bool QList::startsWith(const T &value) const -->
|
|
|
|
<!-- bool QList::endsWith(const T &value) const -->
|
|
|
|
<function name="QList::contains,QList::startsWith,QList::endsWith">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<returnValue type="bool"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2017-04-18 19:21:34 +02:00
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- bool QMap::contains(const Key &key) const -->
|
|
|
|
<function name="QMap::contains">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-18 19:21:34 +02:00
|
|
|
<!-- bool QString::contains(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- bool QString::startsWith(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- bool QString::endsWith(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<function name="QString::contains,QString::startsWith,QString::endsWith">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<returnValue type="bool"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="Qt::CaseSensitive">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-23 22:12:50 +02:00
|
|
|
<!-- bool QStringList::contains(const T &value) const -->
|
|
|
|
<!-- bool QStringList::startsWith(const T &value) const -->
|
|
|
|
<!-- bool QStringList::endsWith(const T &value) const -->
|
|
|
|
<function name="QStringList::contains,QStringList::startsWith,QStringList::endsWith">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="bool"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-23 22:12:50 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- int QList::count() const -->
|
|
|
|
<!-- int QList::length() const -->
|
|
|
|
<!-- int QList::size() const -->
|
2017-04-18 19:21:34 +02:00
|
|
|
<!-- int QString::count() const -->
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- int QString::length() const -->
|
|
|
|
<!-- int QString::size() const -->
|
2017-04-23 22:12:50 +02:00
|
|
|
<!-- int QStringList::count() const -->
|
|
|
|
<!-- int QStringList::length() const -->
|
|
|
|
<!-- int QStringList::size() const -->
|
|
|
|
<function name="QList::count,QList::length,QList::size,QString::count,QString::length,QString::size,QStringList::count,QStringList::length,QStringList::size">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<returnValue type="signed int"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- bool QList::empty() const -->
|
|
|
|
<!-- bool QList::isEmpty() const -->
|
|
|
|
<!-- bool QString::isEmpty() const -->
|
|
|
|
<!-- bool QString::isNull() const -->
|
2017-04-23 22:12:50 +02:00
|
|
|
<!-- bool QStringList::empty() const -->
|
|
|
|
<!-- bool QStringList::isEmpty() const -->
|
2018-03-19 09:58:22 +01:00
|
|
|
<function name="QList::empty,QList::isEmpty,QString::isEmpty,QString::isNull,QStringList::empty,QStringList::isEmpty">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<returnValue type="bool"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-23 20:41:34 +02:00
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- void QList::insert(int i, const T &value) -->
|
|
|
|
<!-- iterator QList::insert(iterator before, const T &value) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::insert,QStringList::insert">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-05-02 21:03:55 +02:00
|
|
|
<!-- QStandardItem *QStandardItemModel::item(int row, int column = 0) const -->
|
|
|
|
<function name="QStandardItemModel::item">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QStandardItem *"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QStandardItem *QStandardItemModel::itemFromIndex(const QModelIndex &index) const -->
|
|
|
|
<function name="QStandardItemModel::itemFromIndex">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QStandardItem *"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-12 13:40:02 +02:00
|
|
|
<!-- QString QString::fromLatin1(const char *str, int size = -1) //static -->
|
|
|
|
<!-- QString QString::fromLatin1(const QByteArray &str) //static -->
|
|
|
|
<function name="QString::fromLatin1">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString QString::fromLocal8Bit(const char * str, int size = -1) //static -->
|
|
|
|
<function name="QString::fromLocal8Bit">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QString QString::fromStdString(const std::string &str) //static -->
|
2018-02-12 08:36:50 +01:00
|
|
|
<function name="QString::fromStdString">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="QString"/>
|
2018-04-12 13:40:02 +02:00
|
|
|
<leak-ignore/>
|
2018-02-12 08:36:50 +01:00
|
|
|
<arg nr="1"/>
|
|
|
|
</function>
|
2018-04-12 13:40:02 +02:00
|
|
|
<!-- QString QString::fromUtf8(const char *str, int size = -1) //static -->
|
|
|
|
<!-- QString QString::fromUtf8(const QByteArray &str) //static -->
|
|
|
|
<function name="QString::fromUtf8">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- int QList::indexOf(const T &) const -->
|
2017-04-23 22:12:50 +02:00
|
|
|
<!-- int QStringList::indexOf(const QString &) const -->
|
|
|
|
<function name="QList::indexOf,QStringList::indexOf">
|
2017-04-23 20:41:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="signed int"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- int QString::indexOf(const QString &str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- int QString::indexOf(QChar ch, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- int QString::indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- int QString::indexOf(const QStringRef &str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- int QString::indexOf(const QRegExp &rx, int from = 0) const -->
|
|
|
|
<!-- int QString::indexOf(QRegExp &rx, int from = 0) const -->
|
|
|
|
<!-- int QString::indexOf(const QRegularExpression &re, int from = 0) const -->
|
|
|
|
<!-- int QString::indexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const -->
|
2017-04-18 19:21:34 +02:00
|
|
|
<function name="QString::indexOf">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<returnValue type="signed int"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
|
|
|
<arg nr="any">
|
2017-04-18 19:21:34 +02:00
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString & QString::insert(int position, const QString & str) -->
|
|
|
|
<!-- QString & QString::insert(int position, const QLatin1String & str) -->
|
|
|
|
<!-- QString & QString::insert(int position, const QChar * unicode, int size) -->
|
|
|
|
<!-- QString & QString::insert(int position, QChar ch) -->
|
|
|
|
<function name="QString::insert">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString &"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- bool QString::isRightToLeft() const -->
|
|
|
|
<function name="QString::isRightToLeft">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="bool"/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- int QList::lastIndexOf(const T &value, int from = -1) const -->
|
2017-04-23 22:12:50 +02:00
|
|
|
<!-- int QStringList::lastIndexOf(const QString &value, int from = -1) const -->
|
|
|
|
<function name="QList::lastIndexOf,QStringList::lastIndexOf">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
2018-04-12 13:40:02 +02:00
|
|
|
<returnValue type="int"/>
|
|
|
|
<const/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2017-04-18 19:21:34 +02:00
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- int QString::lastIndexOf(const QString &str, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
2017-04-18 19:21:34 +02:00
|
|
|
<function name="QString::lastIndexOf">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<returnValue type="signed int"/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="Qt::CaseSensitive">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QString QString::left(int n) const -->
|
|
|
|
<function name="QString::left">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QString"/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-18 19:21:34 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-23 20:41:34 +02:00
|
|
|
<!-- QList<T> QList::mid(int pos, int length = -1) const -->
|
2017-04-18 19:21:34 +02:00
|
|
|
<!-- QString QString::mid(int position, int n = -1) const -->
|
2017-04-23 22:12:50 +02:00
|
|
|
<!-- QStringList QStringList::mid(int pos, int length = -1) const -->
|
|
|
|
<function name="QList::mid,QString::mid,QStringList::mid">
|
2017-04-18 19:21:34 +02:00
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-07 15:24:36 +01:00
|
|
|
<!-- QString QString::number(long n, int base = 10) -->
|
|
|
|
<!-- QString QString::number(uint n, int base = 10) -->
|
|
|
|
<!-- QString QString::number(int n, int base = 10) -->
|
|
|
|
<!-- QString QString::number(ulong n, int base = 10) -->
|
|
|
|
<!-- QString QString::number(qlonglong n, int base = 10) -->
|
|
|
|
<!-- QString QString::number(qulonglong n, int base = 10) -->
|
|
|
|
<!-- QString QString::number(double n, char format = 'g', int precision = 6) -->
|
|
|
|
<function name="QString::number">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- void QList::prepend(const T &value) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::prepend,QStringList::prepend">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString & QString::prepend(const QString & str) -->
|
|
|
|
<!-- QString & QString::prepend(const QLatin1String & str) -->
|
|
|
|
<!-- QString & QString::prepend(const QByteArray & ba) -->
|
|
|
|
<!-- QString & QString::prepend(const char * str) -->
|
|
|
|
<!-- QString & QString::prepend(QChar ch) -->
|
|
|
|
<function name="QString::prepend">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString &"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- void QList::push_back(const T &value) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::push_back,QStringList::push_back">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QList::push_front(const T &value) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::push_front,QStringList::push_front">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-06-05 21:10:35 +02:00
|
|
|
<!-- QtMessageHandler qInstallMessageHandler(QtMessageHandler handler) -->
|
|
|
|
<function name="qInstallMessageHandler">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QtMessageHandler"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QtMsgHandler qInstallMsgHandler(QtMsgHandler handler) -->
|
|
|
|
<function name="qInstallMsgHandler">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QtMsgHandler"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
<warn severity="style" alternatives="qInstallMessageHandler" reason="Obsolete"/>
|
|
|
|
</function>
|
|
|
|
<!-- int qrand() -->
|
|
|
|
<function name="qrand">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="int"/>
|
|
|
|
<warn severity="style" alternatives="QRandomGenerator" reason="Obsolete"/>
|
|
|
|
</function>
|
|
|
|
<!-- void qsrand(uint seed) -->
|
|
|
|
<function name="qsrand">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<arg nr="1"/>
|
|
|
|
<warn severity="style" alternatives="QRandomGenerator" reason="Obsolete"/>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString & QString::remove(int position, int n) -->
|
|
|
|
<!-- QString & QString::remove(QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::remove(const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::remove(const QRegExp & rx) -->
|
|
|
|
<function name="QString::remove">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString &"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- int QList::removeAll(const T &value) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::removeAll,QStringList::removeAll">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="int"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QList::removeAt(int i) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::removeAt,QStringList::removeAt">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-05-02 21:03:55 +02:00
|
|
|
<!-- void QStandardItem::removeRow(int row) -->
|
|
|
|
<function name="QStandardItem::removeRow">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QStandardItem::removeRows(int row, int count) -->
|
|
|
|
<function name="QStandardItem::removeRows">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- bool QAbstractItemModel::removeRow(int row, const QModelIndex &parent = QModelIndex()) -->
|
|
|
|
<!-- QStandardItemModel inherits from QAbstractItemModel -->
|
|
|
|
<function name="QAbstractItemModel::removeRow,QStandardItemModel::removeRow">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- bool QStandardItemModel::removeRows(int row, int count, const QModelIndex &parent = QModelIndex()) -->
|
|
|
|
<function name="QStandardItemModel::removeRows">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString QString::repeated(int times) const -->
|
|
|
|
<function name="QString::repeated">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QString & QString::replace(int position, int n, const QString & after) -->
|
|
|
|
<!-- QString & QString::replace(int position, int n, const QChar * unicode, int size) -->
|
|
|
|
<!-- QString & QString::replace(int position, int n, QChar after) -->
|
|
|
|
<!-- QString & QString::replace(const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(const QChar * before, int blen, const QChar * after, int alen, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(QChar ch, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(QChar before, QChar after, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(const QLatin1String & before, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(const QLatin1String & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(const QString & before, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(QChar c, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
|
|
|
<!-- QString & QString::replace(const QRegExp & rx, const QString & after) -->
|
|
|
|
<function name="QString::replace">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString &"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="5" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QString::reserve(int size) -->
|
|
|
|
<function name="QString::reserve">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QString QString::right(int n) const -->
|
2017-04-22 19:41:28 +02:00
|
|
|
<function name="QString::right">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QString"/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
<valid>0:</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- QString QString::section(QChar sep, int start, int end = -1, SectionFlags flags = SectionDefault) const -->
|
|
|
|
<!-- QString QString::section(const QString & sep, int start, int end = -1, SectionFlags flags = SectionDefault) const -->
|
|
|
|
<!-- QString QString::section(const QRegExp & reg, int start, int end = -1, SectionFlags flags = SectionDefault) const -->
|
|
|
|
<function name="QString::section">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="-1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4" default="SectionDefault">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QString & QString::setNum(int n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(uint n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(long n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(ulong n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(qlonglong n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(qulonglong n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(short n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(ushort n, int base = 10) -->
|
|
|
|
<!-- QString & QString::setNum(double n, char format = 'g', int precision = 6) -->
|
|
|
|
<!-- QString & QString::setNum(float n, char format = 'g', int precision = 6) -->
|
|
|
|
<function name="QString::setNum">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString &"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="6">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QStringList QString::split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- QStringList QString::split(QChar sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
|
|
|
<!-- QStringList QString::split(const QRegExp &rx, SplitBehavior behavior = KeepEmptyParts) const -->
|
|
|
|
<!-- QStringList QString::split(const QRegularExpression &re, SplitBehavior behavior = KeepEmptyParts) const -->
|
2017-04-22 19:41:28 +02:00
|
|
|
<function name="QString::split">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QStringList"/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- void QList::swap(QList<T> &other) -->
|
|
|
|
<!-- void QList::swap(int i, int j) -->
|
|
|
|
<!-- QStringList inherits from QList -->
|
|
|
|
<function name="QList::swap,QStringList::swap">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- double QString::toDouble(bool * ok = 0) const -->
|
|
|
|
<function name="QString::toDouble">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="double"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- float QString::toFloat(bool * ok = 0) const -->
|
|
|
|
<function name="QString::toFloat">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="float"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- int QString::toInt(bool *ok = Q_NULLPTR, int base = 10) const -->
|
2017-04-22 19:41:28 +02:00
|
|
|
<function name="QString::toInt">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="int"/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<valid>0,2:36</valid>
|
2017-04-22 19:41:28 +02:00
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- long QString::toLong(bool * ok = 0, int base = 10) const -->
|
|
|
|
<function name="QString::toLong">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="long"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0,2:36</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- qlonglong QString::toLongLong(bool * ok = 0, int base = 10) const -->
|
|
|
|
<function name="QString::toLongLong">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="qlonglong"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0,2:36</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QString QString::toLower() const -->
|
2017-04-22 19:41:28 +02:00
|
|
|
<function name="QString::toLower">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QString"/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-22 19:41:28 +02:00
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- short QString::toShort(bool * ok = 0, int base = 10) const -->
|
|
|
|
<function name="QString::toShort">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="short"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0,2:36</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- std::string QString::toStdString() const -->
|
2017-04-22 19:41:28 +02:00
|
|
|
<function name="QString::toStdString">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="std::string"/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-22 19:41:28 +02:00
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- uint QString::toUInt(bool * ok = 0, int base = 10) const -->
|
|
|
|
<function name="QString::toUInt">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="uint"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0,2:36</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- ulong QString::toULong(bool * ok = 0, int base = 10) const -->
|
|
|
|
<function name="QString::toULong">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="ulong"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0,2:36</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- qulonglong QString::toULongLong(bool * ok = 0, int base = 10) const -->
|
|
|
|
<function name="QString::toULongLong">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="qulonglong"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0,2:36</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- ushort QString::toUShort(bool * ok = 0, int base = 10) const -->
|
|
|
|
<function name="QString::toUShort">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="ushort"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1" default="0">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2" default="10">
|
|
|
|
<not-uninit/>
|
|
|
|
<valid>0,2:36</valid>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QString QString::toUpper() const -->
|
2017-04-22 19:41:28 +02:00
|
|
|
<function name="QString::toUpper">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QString"/>
|
2017-04-22 19:41:28 +02:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2017-04-22 19:41:28 +02:00
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QByteArray QString::toUtf8() const -->
|
2018-02-12 08:36:50 +01:00
|
|
|
<function name="QString::toUtf8">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QByteArray"/>
|
2018-02-12 08:36:50 +01:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2018-02-12 08:36:50 +01:00
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QString QString::trimmed() const -->
|
2018-02-12 08:36:50 +01:00
|
|
|
<function name="QString::trimmed">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QString"/>
|
2018-02-12 08:36:50 +01:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2018-02-12 08:36:50 +01:00
|
|
|
</function>
|
2018-04-24 12:23:23 +02:00
|
|
|
<!-- void QString::truncate(int position) -->
|
|
|
|
<function name="QString::truncate">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QString & QString::vsprintf(const char * cformat, va_list ap) -->
|
|
|
|
<function name="QString::vsprintf">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString &"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<warn severity="style" alternatives="QString::vasprintf,QString::arg,QTextStream" reason="Obsolete"/>
|
|
|
|
</function>
|
2018-04-12 13:40:02 +02:00
|
|
|
<!-- QString QStringList::join(const QString &separator) const -->
|
|
|
|
<!-- QString QStringList::join(QLatin1String separator) const -->
|
|
|
|
<!-- QString QStringList::join(QChar separator) const -->
|
|
|
|
<function name="QStringList::join">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<use-retval/>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<const/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- void QMetaObject::connectSlotsByName(QObject *object) -->
|
2018-02-12 08:36:50 +01:00
|
|
|
<function name="QMetaObject::connectSlotsByName">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<leak-ignore/>
|
2018-02-12 08:36:50 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-null/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-09 20:19:59 +01:00
|
|
|
<!-- QString QDir::fromNativeSeparators(const QString &pathName) -->
|
|
|
|
<!-- QString QDir::toNativeSeparators(const QString &pathName) -->
|
2018-02-12 08:36:50 +01:00
|
|
|
<function name="QDir::fromNativeSeparators,QDir::toNativeSeparators">
|
|
|
|
<noreturn>false</noreturn>
|
2018-03-09 20:19:59 +01:00
|
|
|
<returnValue type="QString"/>
|
2018-02-12 08:36:50 +01:00
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
2018-02-12 08:36:50 +01:00
|
|
|
</function>
|
2019-02-06 13:23:05 +01:00
|
|
|
<!-- bool QFile::exists(const QString &fileName) // static -->
|
|
|
|
<!-- bool QFile::exists() const -->
|
|
|
|
<function name="QFile::exists">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1" default="""">
|
|
|
|
<not-uninit/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-07 15:24:36 +01:00
|
|
|
<!-- bool QFile::open(OpenMode mode) -->
|
|
|
|
<!-- bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags = DontCloseHandle) -->
|
|
|
|
<!-- bool QFile::open(int fd, OpenMode mode, FileHandleFlags handleFlags = DontCloseHandle) -->
|
|
|
|
<function name="QFile::open">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- bool QFile::remove() -->
|
|
|
|
<!-- bool QFile::remove(const QString &fileName) -->
|
|
|
|
<function name="QFile::remove">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- bool QFile::rename(const QString &newName) -->
|
|
|
|
<!-- bool QFile::rename(const QString &oldName, const QString &newName) -->
|
|
|
|
<function name="QFile::rename">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- void QFile::setFileName(const QString &name) -->
|
|
|
|
<function name="QFile::setFileName">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2018-03-07 15:24:36 +01:00
|
|
|
<!-- qint64 QFile::size() const -->
|
|
|
|
<!-- qint64 QIODevice::size() const -->
|
|
|
|
<function name="QFile::size,QIODevice::size">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="qint64"/>
|
|
|
|
<use-retval/>
|
2018-03-09 20:19:59 +01:00
|
|
|
<const/>
|
2018-03-07 15:24:36 +01:00
|
|
|
</function>
|
2018-04-24 16:37:55 +02:00
|
|
|
<!-- QString QFileDialog::getOpenFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options()) //static -->
|
|
|
|
<!-- QString QFileDialog::getSaveFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options()) //static -->
|
|
|
|
<!-- QString QFileDialog::getExistingDirectory(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), Options options = ShowDirsOnly) //static -->
|
|
|
|
<function name="QFileDialog::getOpenFileName,QFileDialog::getSaveFileName,QFileDialog::getExistingDirectory">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<use-retval/>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- QStringList QFileDialog::getOpenFileNames(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options()) //static -->
|
|
|
|
<function name="QFileDialog::getOpenFileNames">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QStringList"/>
|
|
|
|
<use-retval/>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2019-02-07 15:00:07 +01:00
|
|
|
<!-- qFatal(const char *message, ...) -->
|
|
|
|
<function name="qFatal">
|
|
|
|
<noreturn>true</noreturn>
|
|
|
|
<leak-ignore/>
|
|
|
|
<formatstr/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
<formatstr/>
|
|
|
|
<strz/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2019-02-26 13:39:37 +01:00
|
|
|
<!-- QString QCoreApplication::translate(const char *context, const char *sourceText, const char *disambiguation = nullptr, int n = -1) //static -->
|
|
|
|
<function name="QCoreApplication::translate">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="QString"/>
|
|
|
|
<use-retval/>
|
|
|
|
<leak-ignore/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-null/>
|
|
|
|
<not-uninit/>
|
|
|
|
<strz/>
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="3" default="NULL">
|
|
|
|
<not-bool/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="4" default="-1">
|
|
|
|
</arg>
|
|
|
|
</function>
|
2019-02-28 16:07:11 +01:00
|
|
|
<!-- https://doc.qt.io/qt-5/qtimer.html -->
|
|
|
|
<!-- int QTimer::interval() const -->
|
|
|
|
<function name="QTimer::interval">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="int"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
</function>
|
|
|
|
<!-- std::chrono::milliseconds QTimer::intervalAsDuration() const -->
|
|
|
|
<function name="QTimer::intervalAsDuration">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="std::chrono::milliseconds"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
</function>
|
|
|
|
<!-- bool QTimer::isActive() const -->
|
|
|
|
<function name="QTimer::isActive">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
</function>
|
|
|
|
<!-- bool QTimer::isSingleShot() const -->
|
|
|
|
<function name="QTimer::isSingleShot">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="bool"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
</function>
|
|
|
|
<!-- int QTimer::remainingTime() const -->
|
|
|
|
<function name="QTimer::remainingTime">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="int"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
</function>
|
|
|
|
<!-- std::chrono::milliseconds QTimer::remainingTimeAsDuration() const -->
|
|
|
|
<function name="QTimer::remainingTimeAsDuration">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="std::chrono::milliseconds"/>
|
|
|
|
<use-retval/>
|
|
|
|
<const/>
|
|
|
|
</function>
|
|
|
|
<!-- void QTimer::setInterval(int msec) -->
|
|
|
|
<!-- void QTimer::setInterval(std::chrono::milliseconds value) -->
|
|
|
|
<function name="QTimer::setInterval">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QTimer::setSingleShot(bool singleShot) -->
|
|
|
|
<function name="QTimer::setSingleShot">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QTimer::start(std::chrono::milliseconds msec) -->
|
|
|
|
<function name="QTimer::start">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
|
|
|
<!-- void QTimer::singleShot(int msec, const QObject *receiver, const char *member) // static -->
|
|
|
|
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, const char *member) // static -->
|
|
|
|
<!-- void QTimer::singleShot(int msec, const QObject *receiver, PointerToMemberFunction method) // static -->
|
|
|
|
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, PointerToMemberFunction method) // static -->
|
|
|
|
<!-- void QTimer::singleShot(int msec, Functor functor) // static -->
|
|
|
|
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, Functor functor) // static -->
|
|
|
|
<!-- void QTimer::singleShot(int msec, const QObject *context, Functor functor) // static -->
|
|
|
|
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *context, Functor functor) // static -->
|
|
|
|
<!-- void QTimer::singleShot(std::chrono::milliseconds msec, const QObject *receiver, const char *member) // static -->
|
|
|
|
<!-- void QTimer::singleShot(std::chrono::milliseconds msec, Qt::TimerType timerType, const QObject *receiver, const char *member) // static -->
|
|
|
|
<function name="QTimer::singleShot">
|
|
|
|
<noreturn>false</noreturn>
|
|
|
|
<returnValue type="void"/>
|
|
|
|
<arg nr="1">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="2">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
<arg nr="any">
|
|
|
|
<not-uninit/>
|
|
|
|
</arg>
|
|
|
|
</function>
|
2017-04-18 18:04:27 +02:00
|
|
|
<container id="qtContainer" opLessAllowed="false">
|
|
|
|
<type templateParameter="0"/>
|
|
|
|
<size>
|
|
|
|
<function name="append" action="push"/>
|
|
|
|
<function name="clear" action="clear"/>
|
|
|
|
<function name="count" yields="size"/>
|
|
|
|
<function name="erase" action="erase"/>
|
|
|
|
<function name="insert" action="insert"/>
|
|
|
|
<function name="isEmpty" yields="empty"/>
|
2017-04-23 20:41:34 +02:00
|
|
|
<function name="length" yields="size"/>
|
2017-04-18 18:04:27 +02:00
|
|
|
<function name="size" yields="size"/>
|
|
|
|
<function name="swap" action="change"/>
|
|
|
|
</size>
|
|
|
|
<access>
|
|
|
|
<function name="begin" yields="start-iterator"/>
|
|
|
|
<function name="cbegin" yields="start-iterator"/>
|
|
|
|
<function name="constBegin" yields="start-iterator"/>
|
|
|
|
<function name="end" yields="end-iterator"/>
|
|
|
|
<function name="cend" yields="end-iterator"/>
|
|
|
|
<function name="constEnd" yields="end-iterator"/>
|
|
|
|
</access>
|
|
|
|
</container>
|
2017-04-23 20:41:34 +02:00
|
|
|
<container id="qtList" startPattern="QList <" inherits="qtContainer" opLessAllowed="true">
|
|
|
|
<type string="std-like"/>
|
|
|
|
<size>
|
|
|
|
<function name="resize" action="resize"/>
|
|
|
|
</size>
|
|
|
|
<access indexOperator="array-like">
|
|
|
|
<function name="at" yields="at_index"/>
|
|
|
|
<function name="front" yields="item"/>
|
|
|
|
<function name="back" yields="item"/>
|
|
|
|
</access>
|
|
|
|
</container>
|
2017-04-18 18:04:27 +02:00
|
|
|
<container id="qtString" startPattern="QString" endPattern="" inherits="qtContainer" opLessAllowed="true">
|
|
|
|
<type string="std-like"/>
|
|
|
|
<size>
|
2017-04-23 20:41:34 +02:00
|
|
|
<function name="isNull" yields="empty"/>
|
2017-04-18 18:04:27 +02:00
|
|
|
<function name="resize" action="resize"/>
|
|
|
|
</size>
|
|
|
|
<access indexOperator="array-like">
|
|
|
|
<function name="at" yields="at_index"/>
|
|
|
|
<function name="front" yields="item"/>
|
|
|
|
<function name="back" yields="item"/>
|
|
|
|
</access>
|
|
|
|
</container>
|
2017-04-23 22:12:50 +02:00
|
|
|
<container id="qtStringList" startPattern="QStringList" inherits="qtContainer" opLessAllowed="true">
|
|
|
|
<type string="std-like"/>
|
|
|
|
<size>
|
|
|
|
<function name="resize" action="resize"/>
|
|
|
|
</size>
|
|
|
|
<access indexOperator="array-like">
|
|
|
|
<function name="at" yields="at_index"/>
|
|
|
|
<function name="front" yields="item"/>
|
|
|
|
<function name="back" yields="item"/>
|
|
|
|
</access>
|
|
|
|
</container>
|
2018-04-12 13:40:02 +02:00
|
|
|
<define name="Q_ARG(type, data)" value="QArgument<type >(#type, data)"/>
|
|
|
|
<!-- TODO: Enable when ticket 8479 got fixed
|
|
|
|
<define name="Q_D(Class)" value="Class##Private * const d = d_func()"/>
|
|
|
|
-->
|
2019-01-25 14:44:10 +01:00
|
|
|
<define name="Q_CLASSINFO(Name, Value)" value=""/>
|
2014-07-29 16:56:15 +02:00
|
|
|
<define name="Q_DECL_EXPORT" value=""/>
|
|
|
|
<define name="Q_DECL_IMPORT" value=""/>
|
2019-02-26 13:39:37 +01:00
|
|
|
<define name="QT_DECLARE_DEPRECATED_TR_FUNCTIONS(context)" value="static inline QString trUtf8(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) { return QCoreApplication::translate(#context, sourceText, disambiguation, n); }"/>
|
2015-03-21 15:26:32 +01:00
|
|
|
<define name="Q_DECLARE_FLAGS(x,y)" value=""/>
|
2019-02-27 15:11:34 +01:00
|
|
|
<define name="Q_DECLARE_OPERATORS_FOR_FLAGS(x)" value=""/>
|
|
|
|
<define name="Q_DECLARE_METATYPE(x)" value=""/>
|
2018-12-07 20:03:50 +01:00
|
|
|
<define name="Q_DECLARE_PRIVATE(Class)" value="inline Class##Private* d_func() { return reinterpret_cast<Class##Private*>(qGetPtrHelper(d_ptr)); } inline const Class##Private d_func() const { return reinterpret_cast<const Class##Private *>(qGetPtrHelper(d_ptr)); } friend class Class##Private;"/>
|
2019-02-27 15:38:31 +01:00
|
|
|
<define name="Q_DECLARE_PUBLIC(Class)" value="inline Class##Public* d_func() { return reinterpret_cast<Class##Public*>(qGetPtrHelper(d_ptr)); } inline const Class##Public d_func() const { return reinterpret_cast<const Class##Public *>(qGetPtrHelper(d_ptr)); } friend class Class##Public;"/>
|
2019-02-26 13:39:37 +01:00
|
|
|
<define name="Q_DECLARE_TR_FUNCTIONS(context)" value="public: static inline QString tr(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) { return QCoreApplication::translate(#context, sourceText, disambiguation, n); } QT_DECLARE_DEPRECATED_TR_FUNCTIONS(context) private:"/>
|
2014-12-14 01:52:00 +01:00
|
|
|
<define name="Q_DISABLE_COPY(C)" value="C(C&);C& operator=(const C&);"/>
|
2017-03-22 07:32:31 +01:00
|
|
|
<define name="Q_ENUM(X)" value=""/>
|
2015-03-21 15:26:32 +01:00
|
|
|
<define name="Q_ENUMS(X)" value=""/>
|
|
|
|
<define name="Q_FLAGS(X)" value=""/>
|
2019-02-11 16:35:01 +01:00
|
|
|
<define name="Q_FOREVER" value="for (;;)"/>
|
2015-03-21 15:26:32 +01:00
|
|
|
<define name="Q_INTERFACES(X)" value=""/>
|
2019-02-12 08:21:49 +01:00
|
|
|
<define name="Q_LIKELY(expr)" value="expr"/>
|
2019-02-07 12:27:25 +01:00
|
|
|
<define name="Q_NULLPTR" value="NULL"/>
|
2015-03-21 15:26:32 +01:00
|
|
|
<define name="Q_OBJECT" value=""/>
|
2014-12-17 20:03:11 +01:00
|
|
|
<define name="Q_PROPERTY(X)" value=""/>
|
2018-04-12 13:40:02 +02:00
|
|
|
<define name="Q_Q(Class)" value="Class * const q = q_func()"/>
|
|
|
|
<define name="Q_RETURN_ARG(type, data)" value="QReturnArgument<type >(#type, data)"/>
|
2019-02-12 08:21:49 +01:00
|
|
|
<define name="Q_UNLIKELY(expr)" value="expr"/>
|
2019-02-24 20:58:07 +01:00
|
|
|
<define name="Q_UNUSED(X)" value="(void)(X)"/>
|
2019-02-12 10:21:56 +01:00
|
|
|
<define name="QT_TR_NOOP(x)" value="x"/>
|
|
|
|
<define name="QT_TR_NOOP_UTF8(x)" value="x"/>
|
|
|
|
<define name="QT_TRANSLATE_NOOP(scope, x)" value="x"/>
|
|
|
|
<define name="QT_TRANSLATE_NOOP_UTF8(scope, x)" value="x"/>
|
|
|
|
<define name="QT_TRANSLATE_NOOP3(scope, x, comment)" value="{x, comment}"/>
|
|
|
|
<define name="QT_TRANSLATE_NOOP3_UTF8(scope, x, comment)" value="{x, comment}"/>
|
2019-02-25 14:07:57 +01:00
|
|
|
<define name="QCOMPARE(actual, expected)" value="(void)((actual)==(expected))"/>
|
|
|
|
<define name="QVERIFY(condition)" value="(void)(condition)"/>
|
|
|
|
<define name="QVERIFY2(condition, message)" value="(void)(condition)"/>
|
2019-02-24 16:44:48 +01:00
|
|
|
<define name="QBENCHMARK_ONCE" value=""/>
|
|
|
|
<define name="QBENCHMARK" value=""/>
|
2019-02-25 14:07:57 +01:00
|
|
|
<define name="QTRY_COMPARE(actual, expected)" value="(void)((actual)==(expected))"/>
|
|
|
|
<define name="QTRY_COMPARE_WITH_TIMEOUT(actual, expected, timeout)" value="(void)((actual)==(expected))"/>
|
|
|
|
<define name="QTRY_VERIFY2(condition, message)" value="(void)(condition)"/>
|
|
|
|
<define name="QTRY_VERIFY(condition)" value="(void)(condition)"/>
|
|
|
|
<define name="QTRY_VERIFY2_WITH_TIMEOUT(condition, message, timeout)" value="(void)(condition)"/>
|
|
|
|
<define name="QTRY_VERIFY_WITH_TIMEOUT(condition, timeout)" value="(void)(condition)"/>
|
2016-05-23 11:13:25 +02:00
|
|
|
<define name="foreach(A,B)" value="for(A:B)"/>
|
2019-02-11 16:35:01 +01:00
|
|
|
<define name="forever" value="for (;;)"/>
|
2018-04-12 13:40:02 +02:00
|
|
|
<define name="emit(X)" value="(X)"/>
|
2018-12-23 17:51:00 +01:00
|
|
|
<define name="Q_PLUGIN_METADATA(x)" value=""/>
|
2019-02-25 14:07:57 +01:00
|
|
|
<define name="Q_ASSERT(condition)" value="assert(condition)"/>
|
2019-02-25 16:31:16 +01:00
|
|
|
<define name="Q_ASSERT_X(condition, where, what)" value="assert(condition)"/>
|
2019-03-03 18:42:02 +01:00
|
|
|
<define name="QTC_ASSERT_STRINGIFY_HELPER(x)" value="#x"/>
|
|
|
|
<define name="QTC_ASSERT_STRINGIFY(x)" value="QTC_ASSERT_STRINGIFY_HELPER(x)"/>
|
|
|
|
<define name="QTC_ASSERT_STRING(cond)" value="::Utils::writeAssertLocation( "\"" cond"\" in file " __FILE__ ", line " QTC_ASSERT_STRINGIFY(__LINE__))"/>
|
|
|
|
<define name="QTC_ASSERT(cond," value="action) if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); action; } do {} while (0)"/>
|
|
|
|
<define name="QTC_CHECK(cond)" value="if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); } do {} while (0)"/>
|
|
|
|
<define name="QTC_GUARD(cond)" value="((Q_LIKELY(cond)) ? true : (QTC_ASSERT_STRING(#cond), false))"/>
|
|
|
|
<define name="QTC_ASSERT(cond, action)" value="if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); action; } do {} while (0)"/>
|
|
|
|
<define name="QTC_CHECK(cond)" value="if (Q_LIKELY(cond)) {} else { QTC_ASSERT_STRING(#cond); } do {} while (0)"/>
|
|
|
|
<define name="QTC_GUARD(cond)" value="((Q_LIKELY(cond)) ? true : (QTC_ASSERT_STRING(#cond), false))"/>
|
2019-03-14 06:14:51 +01:00
|
|
|
<define name="Q_LOGGING_CATEGORY(name,...)" value="" />
|
2018-10-09 14:52:09 +02:00
|
|
|
<!-- https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef -->
|
|
|
|
<define name="qreal" value="double"/>
|
2014-09-02 09:18:10 +02:00
|
|
|
<podtype name="qint8" sign="s" size="1"/>
|
|
|
|
<podtype name="qint16" sign="s" size="2"/>
|
|
|
|
<podtype name="qint32" sign="s" size="4"/>
|
|
|
|
<podtype name="qint64" sign="s" size="8"/>
|
|
|
|
<podtype name="quint8" sign="u" size="1"/>
|
|
|
|
<podtype name="quint16" sign="u" size="2"/>
|
|
|
|
<podtype name="quint32" sign="u" size="4"/>
|
|
|
|
<podtype name="quint64" sign="u" size="8"/>
|
2018-03-13 12:54:17 +01:00
|
|
|
<!-- https://doc.qt.io/qt-5/qtglobal.html#qlonglong-typedef "This is the same as qint64." -->
|
|
|
|
<podtype name="qlonglong" sign="s" size="8"/>
|
|
|
|
<!-- https://doc.qt.io/qt-5/qtglobal.html#qulonglong-typedef "This is the same as quint64." -->
|
|
|
|
<podtype name="qulonglong" sign="u" size="8"/>
|
|
|
|
<podtype name="uchar" sign="u" size="1"/>
|
2014-09-02 09:18:10 +02:00
|
|
|
<podtype name="uint" sign="u"/>
|
|
|
|
<podtype name="ulong" sign="u"/>
|
|
|
|
<podtype name="ushort" sign="u"/>
|
|
|
|
<podtype name="qptrdiff" sign="s"/>
|
2018-03-13 12:54:17 +01:00
|
|
|
<podtype name="qintptr" sign="s"/>
|
2018-04-24 12:23:23 +02:00
|
|
|
<podtype name="quintptr" sign="u"/>
|
2014-01-02 20:09:28 +01:00
|
|
|
</def>
|