C++ (Qt)QTreeWidgetItem *item = new QTreeWidgetItem;item->setText(0, someString);item->setText(1, someString);item->setText(2, moreString);item->setText(3, anotherString);item->setFlags(item->flags() ^ Qt::ItemIsSelectable);
C++ (Qt)QClipboard *clipboard = QApplication::clipboard();clipboard->clear();
C++ (Qt)connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(clearBuff()));
C++ (Qt)QClipboard *clipboard = QApplication::clipboard();QString pi=clipboard->text();pi.replace( QRegExp("http(.*)extention"), "" );clipboard->setText(pi);