MiniDisplay/minidisplay_plugin.h
author sl
Tue, 03 Jun 2014 16:11:47 +0200
changeset 29 a42cc76a2d5a
permissions -rw-r--r--
Trying to get rid of our QML timer.
We now connect to our window after animation signal from C++.
It looks like it works much better now. Less UI lags smother animation.
     1 #ifndef MINIDISPLAY_PLUGIN_H
     2 #define MINIDISPLAY_PLUGIN_H
     3 
     4 #include <QQmlExtensionPlugin>
     5 
     6 class MiniDisplayPlugin : public QQmlExtensionPlugin
     7 {
     8     Q_OBJECT
     9     Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
    10 
    11 public:
    12     void registerTypes(const char *uri);
    13 };
    14 
    15 #endif // MINIDISPLAY_PLUGIN_H
    16