On Wednesday 03 April 2013, Vishesh Handa wrote:

> > is there somewhere i can hook into that tells me the exact moment it
> > notices a
> > file being added?
> 
> nepomuk-core/services/filewatch/nepomukfilewatch.cpp
> 
> - slotFileCreated  - This is called when a new file is created.
> - slotClosedAfterWrite  - We don't track file modifications, we only track
> when files are opened with a write mode and then closed. So this is the
> slot that should be called when you modify a file.
> 
> Try adding some debug statements.

finally got a working image where i could try that.
so,slotFileCreated is always called for every added file (and quite 
immediately)

but  the new files will never come out of a query until i restart nepomuk

-- 
Marco Martin
_______________________________________________
Active mailing list
Active@kde.org
https://mail.kde.org/mailman/listinfo/active

Reply via email to