Hello,

i have a little problem...
the problem is that i want to send from my Qt C++ class (QDeclarativeItem) a signal to my qml-file with parameter.

for example my .h:
Qt Code:
  1. signals: void sendString(QString text);
To copy to clipboard, switch view to plain text mode 
in my .cpp file:
Qt Code:
  1. emit sendString("Testtext");
To copy to clipboard, switch view to plain text mode 

in my qml-file ??
i don`t know how do get the signal and how do i came to my string.

when i send a empty signal, it works great, but with parameter i don`t know how to do.
maybye you can help me