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

    What is expire header and how to achive them in ASP.NET and PHP? -

    sql server - How can I determine which of my SQL 2005 statistics are unused? -