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. Send file to trash
Forum Updated to NodeBB v4.3 + New Features

Send file to trash

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 661 Views 2 Watching
  • 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.
  • S Offline
    S Offline
    Sikarjan
    wrote on 15 Feb 2017, 14:40 last edited by
    #1

    Hi,

    I am looking for a method to move files to trash instead of deleting them. I have read in quite a few post that there is nothing implemented in Qt but the post are all old. Did something change in the last years? Is there a cross platform solution now for moving files to trash?

    Best

    J 1 Reply Last reply 15 Feb 2017, 14:50
    0
    • S Sikarjan
      15 Feb 2017, 14:40

      Hi,

      I am looking for a method to move files to trash instead of deleting them. I have read in quite a few post that there is nothing implemented in Qt but the post are all old. Did something change in the last years? Is there a cross platform solution now for moving files to trash?

      Best

      J Offline
      J Offline
      joeQ
      wrote on 15 Feb 2017, 14:50 last edited by
      #2

      @Sikarjan
      Hi, friend, welcome devnet.

      Good Question.

      Maybe the stackoverflow can help you.

      Just do it!

      1 Reply Last reply
      1
      • S Offline
        S Offline
        Sikarjan
        wrote on 15 Feb 2017, 14:52 last edited by
        #3

        Hi,

        I have seen that post but it is nearly three years old. I hoped that something changed by now.

        Best

        M 1 Reply Last reply 16 Feb 2017, 16:41
        0
        • S Sikarjan
          15 Feb 2017, 14:52

          Hi,

          I have seen that post but it is nearly three years old. I hoped that something changed by now.

          Best

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 16 Feb 2017, 16:41 last edited by
          #4

          @Sikarjan
          Hi, its a feature of the OS so
          its doubtful it will ever be included as something cross platform.
          But the SO post has code both for win and linux so u get some for free. :)

          1 Reply Last reply
          0

          1/4

          15 Feb 2017, 14:40

          • Login

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