WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. Zuble QML Types   |  Zuble C++ Classes   |  Zuble Overview
Zuble  0.1
Zuble Framework C++/QML extension API
zbltestplugin.cpp
Go to the documentation of this file.
1 #include "zbltestplugin.h"
2 
3 ZblTestPlugin::ZblTestPlugin(QQuickItem *parent):
4  QQuickItem(parent), m_text("I am ZblTestPlugin!")
5 {
6  // By default, QQuickItem does not draw anything. If you subclass
7  // QQuickItem to create a visual item, you will need to uncomment the
8  // following line and re-implement updatePaintNode()
9 
10  // setFlag(ItemHasContents, true);
11 }
12 
14 {
15 }
16 
18 {
19  return m_text;
20 }
21 
22 void ZblTestPlugin::setText(const QString& text)
23 {
24  m_text = text;
25 }
QString m_text
Definition: zbltestplugin.h:22
QString getText()
void setText(const QString &text)
ZblTestPlugin(QQuickItem *parent=0)