Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, February 2007
How to detect changes in QDomDocument?


Message 1 in thread

Hi,

I'd like my class A to give a public handle to a DOM document but I
want class A to be able to know when and what changes other classes
make to the nodes in the document. However, neither QDomDocument nor
QDomNode offer signals... any ideas for a workaround other than
creating a bunch of accessor methods?

Thanks,
Joonas

--
 [ signature omitted ] 

Message 2 in thread

On 09.02.07 21:15:01, Joonas Govenius wrote:
> I'd like my class A to give a public handle to a DOM document but I
> want class A to be able to know when and what changes other classes
> make to the nodes in the document. However, neither QDomDocument nor
> QDomNode offer signals... any ideas for a workaround other than
> creating a bunch of accessor methods?

There is no workaround possible.

Andreas

-- 
 [ signature omitted ]