PDA

View Full Version : QFileSystemWatcher Question (Qt 4.1.2tp)



momesana
9th July 2006, 16:08
I need to observate changes in a directory and have written a class "Monitor" for this purpose which uses gamin/fam to track the occuring changes. I am interested in what files have been added/removed to/from the directory. Using FAMEvent (fam) this is not that hard to find out. You just query the FAMEvent object for its code (event type) and filename attribute and get the necessary information you need. Now that Qt-4.1.2 has a file- and directory monitoring class, I tried to use that instead of my own dirty implementation. But it seems, like all it does is telling you that some changes to the directory have occured at all but not what changes (a file being added or removed ...) have taken places in particular. Are these features yet to be implemented or did I overlook something?

Thanx in advance
momesana

jpn
9th July 2006, 18:08
Go send some feedback and we might even have that feature in 4.2..
How to Provide Feedback (http://www.trolltech.com/developer/downloads/qt/qt4-2-techpreview)

momesana
24th July 2006, 13:27
I reported it to the mailinglist. I hope they will implement it some day soon.

Thank you

wysota
24th July 2006, 16:16
I reported it to the mailinglist. I hope they will implement it some day soon.

I think the task tracker (http://www.trolltech.com/developer/task-tracker) is a better place for this.

momesana
25th July 2006, 11:47
I think the task tracker (http://www.trolltech.com/developer/task-tracker) is a better place for this.

Unfortunately, only customers of trolltech have Task Tracker accounts, making it possible for them to submit Feature Requests etc. At least that's what the Task Tracker FAQ says:

At the moment, all customers with an active support contract have an account for Task Tracker. For the future we plan to provide an account system that allows anybody to create an account.

wysota
25th July 2006, 11:56
Unfortunately, only customers of trolltech have Task Tracker accounts, making it possible for them to submit Feature Requests etc. At least that's what the Task Tracker FAQ says:

At the moment, all customers with an active support contract have an account for Task Tracker. For the future we plan to provide an account system that allows anybody to create an account.

You can report a problem without an account, just click on "Open a new task".

jpn
25th July 2006, 11:59
http://www.trolltech.com/customer/task-tracker - requires an account
http://www.trolltech.com/developer/task-tracker - does not

A customer account just provides some extra features like voting on a bug and tracking a bug.

momesana
25th July 2006, 13:40
Thank you for the hint. One final question: How do I suggest a new Feature? When I open a new Task, the form is more or less designed for a bug report. ... Is there a special Feature Request form, or do I have to use the bugreport-form to suggest the new feature?

Thanx in advnace
momesana

jpn
25th July 2006, 14:01
Is there a special Feature Request form, or do I have to use the bugreport-form to suggest the new feature?
Yes, use the same form for bugs and suggestions. The Trolls will then decide whether a new possible task is added as a bug or as a suggestion.