c++ - Linux and clipboard -


After selecting the copies of the buffer in Linux, after the text, we can click and paste the button between the mouse. I think there is a special buffer for this, I want to use it.

  • Programming Language: C ++
  • Your Library: Qt
  • Thanks.

    There is just one more correct answer than Paul Dixon, which answers your needs: / P >

      QClipboard * clipboard = QApplication :: clipboard (); CastString Selected Text = Clipboard-> Text (QClipboard :: Selection);  

    Comments

    Popular posts from this blog

    Visual Studio 2005: How to speed up builds when a VSMDI is open? -

    booting ubuntu from usb using virtualbox -