[Kde-bindings] playground/bindings/kimono
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Mon Jan 2 11:36:29 UTC 2006
SVN commit 493393 by rdale:
* Signals can now be emitted from Qyoto programs
* But only existing C++ signals, new ones can't be
defined yet. For example:
class LCDRange : QVBox
{
public LCDRange(QWidget parent, string name) : base(parent, name) {
QLCDNumber lcd = new QLCDNumber( 2, this, "lcd" );
Emit().Destroyed(lcd);
...
Where the signal is declared in IQObjectSignals in QObject.cs:
public interface IQObjectSignals {
[Q_SIGNAL("void destroyed()")]
void Destroyed();
[Q_SIGNAL("void destroyed(QObject*)")]
void Destroyed(QObject arg1);
}
CCMAIL: kde-bindings at kde.org
M +79 -7 SmokeInvocation.cs
M +240 -0 qt3qyoto.cpp
More information about the Kde-bindings
mailing list