Results 1 to 2 of 2

Thread: Updating the file from outside the application how to capture the event.

  1. #1
    Join Date
    Feb 2009
    Posts
    189
    Thanks
    2

    Smile Updating the file from outside the application how to capture the event.

    Dear Friends
    I have a file loaded in my treeview, this file is a plain text file. Now this file is modified outside the application using vi editor. How can i update the file in the treeview. How can I capture the event of modification from outside the application. Please help me resolve this problem. Any suggesion would be highly appreciated. Thanks Sujan

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Updating the file from outside the application how to capture the event.

    Read about QFileSystemWatcher

Similar Threads

  1. Capture mouse event on QHeaderView
    By squidge in forum Qt Programming
    Replies: 10
    Last Post: 10th August 2012, 11:54
  2. QGraphicsView hoto to capture mouve event!
    By Zikoel in forum Qt Programming
    Replies: 2
    Last Post: 18th September 2011, 14:45
  3. Capture the triggered event of MacWindowToolBarButtonHint
    By alexandersv in forum Qt Programming
    Replies: 0
    Last Post: 11th October 2009, 17:05
  4. QSystemTrayIcon capture mouse hover event
    By alan in forum Qt Programming
    Replies: 2
    Last Post: 1st August 2009, 19:42
  5. Capture a keyboard event
    By mahe2310 in forum Qt Programming
    Replies: 8
    Last Post: 16th February 2006, 11:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.