Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. why QFileSystemWatcher not tell the action of file or directory?
Forum Updated to NodeBB v4.3 + New Features

why QFileSystemWatcher not tell the action of file or directory?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 224 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MozzieM Offline
    MozzieM Offline
    Mozzie
    wrote on last edited by
    #1

    hi,
    I have used windows api implement something like QFileSystemWatcher before, I know windows can tell us what operation is . but QFileSystemWatcher not tell the action of file or directory,
    Do other operating systems not have this feature?

    if I rename a dir, the directoryChanged() just tell me the dir name after I modified. so how to know what is the old name when you what to sync between dirs?

    and there is another problem, when I added some dir by using addPath(), why I can not remove this dir by using windows file manager?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Mozzie said in why QFileSystemWatcher not tell the action of file or directory?:

      Do other operating systems not have this feature?

      correct

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      MozzieM 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        @Mozzie said in why QFileSystemWatcher not tell the action of file or directory?:

        Do other operating systems not have this feature?

        correct

        MozzieM Offline
        MozzieM Offline
        Mozzie
        wrote on last edited by
        #3

        @Christian-Ehrlicher
        thanks.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved