Re: [Development] Maintaining attributes when creatinng an C++ object to be used in QML

2014-02-18 Thread Thiago Macieira
Em ter 18 fev 2014, às 01:59:07, antonio.cano.go...@ovi.com escreveu: > My problem is that values bloom_parameters _parameters ; bloom_filter > _filter; lost their value when I call to the method Q_INVOKABLE bool > checkElement(const QString &cadena) ; > > > Can someone help? Hello Ant

[Development] Maintaining attributes when creatinng an C++ object to be used in QML

2014-02-18 Thread antonio . cano . gomez
Hi, I have created the QObject class: #ifndef BLOOMFILTERS_H #define BLOOMFILTERS_H #include #include "svn/bloom-read-only/bloom_filter.hpp" class Bloomfilters : public QObject {     Q_OBJECT     Q_PROPERTY(bloom_parameters parameters READ parameters WRITE setParameters NOTIFY parametersChan