1 #ifndef QTMVVM_QQMLCOREAPP_H     2 #define QTMVVM_QQMLCOREAPP_H     4 #include <QtCore/QObject>     6 #include <QtMvvmCore/CoreApp>    22 class QQmlCoreApp : 
public QObject    29     explicit QQmlCoreApp(
QObject *parent = 
nullptr);
    47 #endif // QTMVVM_QQMLCOREAPP_H void show(const QString &viewModelName, const QVariantHash ¶ms={}, QtMvvm::ViewModel *parentViewModel=nullptr)
Show a new ViewModel by its name. 
 
The QML import for the QtMvvmCore QML module. 
 
Q_INVOKABLE QVariant safeCastInputType(const QString &type, const QVariant &value)
Safely casts a value of the given edit type to the corresponding variant type. 
 
A configuration for a simple dialog to be shown from the core code. 
 
void appStarted()
Is emitted once the app has successfully started. 
 
The base class for all viewmodels. 
 
Q_INVOKABLE QtMvvm::MessageResult * showDialog(const QtMvvm::MessageConfig &config)
Show a basic dialog. 
 
A result watcher to get the result once a dialog has finished. 
 
The primary namespace of the QtMvvm library. 
 
A QML singleton to access some QtMvvm::CoreApp functionality.