QtMvvm  1.1.0
A mvvm oriented library for Qt, to create Projects for Widgets and Quick in parallel
Classes | Namespaces | Macros
viewmodel.h File Reference

The Header that defines the QtMvvm::ViewModel class. More...

#include <type_traits>
#include <QtCore/qobject.h>
#include <QtCore/qscopedpointer.h>
#include <QtCore/qvariant.h>
#include <QtCore/qpointer.h>
#include "QtMvvmCore/qtmvvmcore_global.h"
#include "QtMvvmCore/injection.h"

Go to the source code of this file.

Classes

class  QtMvvm::ViewModel
 The base class for all viewmodels. More...
 

Namespaces

 QtMvvm
 The primary namespace of the QtMvvm library.
 

Macros

#define QTMVVM_SINGLETON   Q_CLASSINFO("qtmvvm_singleton", "true")
 A macro that makes a viewmodel a singleton viewmodel.
 
#define QTMVVM_CONTAINER_VM(x)   Q_CLASSINFO("qtmvvm_container_viewmodel", #x)
 A macro to specify the container viewmodel to be used.
 

Detailed Description

The Header that defines the QtMvvm::ViewModel class.

Definition in file viewmodel.h.