[quote author="veverita" date="1324315988"]
i must implement my own signal , so your example will not be good for me[/quote]
Why not? There is nothing in there that requires the signal be <code>clicked()</code>, I was just using it as an example. It's easy to define your own signal, e.g. @
class MyClass : public QObject
{
...
public signal:
void MyClassDidStuff (QString data);
}
@ and @void MyClass::EmitSignal ()
{
emit MyClassDidStuff ("Hello, World!");
} @ Then, @ connect (instanceOfMyClass, SIGNAL (MyClassDidStuff(QString)), myOtherWidget, SLOT (HandleStuff(QString)));@