MiniDisplay/minidisplay_plugin.cpp
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 #include "minidisplay_plugin.h"
     2 #include "minidisplay.h"
     3 
     4 #include <qqml.h>
     5 
     6 void MiniDisplayPlugin::registerTypes(const char *uri)
     7 {
     8     // @uri com.slions.minidisplay
     9     qmlRegisterType<MiniDisplay>(uri, 1, 0, "MiniDisplay");
    10 }
    11 
    12