[−][src]Macro qmetaobject::qt_signal
Declares a signal
Inside you can either declare the method signature, or write the full method.
To be used within a struct that derives from QObject
#[derive(QObject)] struct Foo { base : qt_base_class!(trait QObject), my_signal : qt_signal!(xx: u32, yy: String), } fn some_code(foo : &mut Foo) { foo.my_signal(42, "42".into()); // emits the signal }