<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Oh, sorry, it has to do with the methods you need: you specifically wrote about Emit.DataChanged. Anyway, the interfaces contain methods once again, so you can use Emit.DataChanged.</span></div><div><span>About the currently existing OnDataChanged-like methods, they had existed way before my signals-to-events, they were just called DataChanged. I renamed them to avoid conflict with the events. I think they also emit signals but I don't know the difference with </span><span>Emit.DataChanged. Here is the body:</span></div><div><br><span></span></div><div><span>        [SmokeMethod("dataChanged(const QModelIndex&, const QModelIndex&)")]<br>        protected new void OnDataChanged(QModelIndex topLeft, QModelIndex bottomRight)
 {<br>            object[] smokeArgs = new object[] {<br>                    typeof(QModelIndex),<br>                    topLeft,<br>                    typeof(QModelIndex),<br>                    bottomRight};<br>            this.interceptor.Invoke("dataChanged##", "dataChanged(const QModelIndex&, const QModelIndex&)", typeof(void), false, smokeArgs);<br>        }</span></div><div><br><span></span></div><div><span>And the Qt docs
 say:</span></div><div><span><br></span></div><div>void QAbstractItemModel::dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) [signal]<br>This signal is emitted whenever the data in an existing item changes.<br><br>If the items are of the same parent, the affected ones are those between topLeft and bottomRight inclusive. If the items do not have the same parent, the behavior is undefined.<br><br>When reimplementing the setData() function, this signal must be emitted explicitly.<br><span></span></div><div><br><span></span></div><div><span>So it seems this is also a signal emitter. It's be great if you could test them or otherwise find out the difference.<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> ----- Forwarded Message
 -----<br>  <b><span style="font-weight:bold;">From:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Steven Boswell II <ulatekh@yahoo.com>; KDE bindings <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, May 15, 2012 12:05 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Kde-bindings] Qyoto: restored the signal interfaces to contain methods so that can be emitted<br> </font> </div> <br>
<div id="yiv1594336170"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Steven, this has actually nothing to do with the methods you need to emit a signal because they are still there - just renamed from Signal to OnSignal. <br></div><div>So please try OnDataChanged in your project and see if it works properly.<br></div></div></div></div><br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></body></html>