Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
tst_qmltc_examples.cpp File Reference

(1c7e8aa0f004b90293f41ec44df76aea594d2200)

#include <QtTest/qtest.h>
#include <QtCore/qstring.h>
#include <QtCore/qtimer.h>
#include <QtGui/qguiapplication.h>
#include <QtQuick/qquickwindow.h>
#include <QtQml/qqmlcomponent.h>
#include "myapp.h"
#include <algorithm>
#include "tst_qmltc_examples.moc"
+ Include dependency graph for tst_qmltc_examples.cpp:

Go to the source code of this file.

Classes

class  tst_qmltc_examples
 [qqmlcomponent-include] More...
 

Macros

#define CREATE_DUMMY_ARGC_ARGV()
 

Functions

template<typename Predicate >
void readFileContent (QStringList *content, const QString &url, Predicate filter)
 

Macro Definition Documentation

◆ CREATE_DUMMY_ARGC_ARGV

#define CREATE_DUMMY_ARGC_ARGV ( )
Value:
int argc = 1; \
char *argv[] = { const_cast<char *>("tst_qmltc_examples") };

Definition at line 41 of file tst_qmltc_examples.cpp.

Function Documentation

◆ readFileContent()

template<typename Predicate >
void readFileContent ( QStringList * content,
const QString & url,
Predicate filter )

Definition at line 123 of file tst_qmltc_examples.cpp.