Hi Eron

Thanks. After some unsuccessful tries with KDirWatch,
I used a QTimer for qt3 version of my program. For
qt4, I couldn't found such class (QFilesystemWatcher)
in qt4.1 documentation. Is seems this class is only
for qt4.2 . Am I right?

And just a matter of curiosity, I used KDirWatch in
this way :

from kio import KDirWatch
....
self.mydir=KDirWatch(self)
self.mydir.addDir("self.workdir")
self.connect(self.mydir,SIGNAL("dirty()"),self.updateIconView)

but it crashed. Actually I used some C++ code as
template, but it seems the C++ version of KDirWatch is
a little different from python version, so I tried to
implement it as above. How should I use it?



 
____________________________________________________________________________________
Everyone is raving about the all-new Yahoo! Mail 
(http://advision.webevents.yahoo.com/mailbeta/)

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to