Hello,

Debian 'Wheezy' - Qt4 - C++

I'm calling a system teminal and I can paste the clipbord contents into the terminal with a mouse right click & paste.
OK so far.
Qt Code:
  1. QClipboard *myClip = QApplication::clipboard();
  2. myClip->setText(myCommandString);
  3. tProcess = new QProcess(this);
  4. QString program = ("lxterminal -e");
  5. tProcess->start(program);
To copy to clipboard, switch view to plain text mode 
Would it be possible to use the centre mouse button to paste, as is normal in linux?
Or is it possible to paste to the termimal programmatically?
I would like the terminal to stay visible after the paste as 'myCommandString' expects a user response.

Regards