From kde-core-devel Wed Jul 30 09:29:37 2003 From: aegir () linuxfrench ! net Date: Wed, 30 Jul 2003 09:29:37 +0000 To: kde-core-devel Subject: Re: KIO event notification [was: Re: are GUI elements like Dialogs X-MARC-Message: https://marc.info/?l=kde-core-devel&m=105959373025584 >> For example, just create a table "kword_docs" in your RDBMS with a >> trigger >> on update, and you have a shared docs repository with a versionning >> system, and history of modifications. > > That's unfortunately not possible, currently. > A KIOSlave can't pass any trigger/notification/change events with the > KIOSlave > interface of current kdelibs to the using app. Oh yes, it works, I've tested it. I was speaking about Event/Trigger in the RDBMS itself. In a RDBMS, you can define some specific SQL code to be executed when a row is inserted/deleted/updated. So, the KIOSlave have just to update a row (the modified KWord doc). And the RDBMS will automagically execute some SQL tasks you've defined when a such event (an RDBMS-update event) occures : storing the old version of the kword_doc, increment version number, and storing the new version of the doc in a new row. That's very easy, about 10 lines of SQL, and may be very usefull.