PDA

View Full Version : QClipboard and mimetypes



Qiieha
24th May 2013, 09:19
Hi guys,
I have a question about QClipboard. If I copy formatted text from a different application(MS Word, LibreOffice, etc.), and read out the QClipboard QMimeData, the method formats() returns
text/plain, text/html, and that's all. But there has to be further mimetypes. How can I get these mimetypes. I want to see the original data in the clipboard (maybe xml).

I know, there are further types because I have another application and if I paste there copied data from MS Word or LibreOffice, the data is pasted correctly(formatted) and the data is not transmitted via text/html.
I want to know the mimetype and see the transmitted data.
Can help me to find out.

thanks

Santosh Reddy
24th May 2013, 12:00
Run the Drop Site Example (http://harmattan-dev.nokia.com/docs/platform-api-reference/xml/daily-docs/libqt4/draganddrop-dropsite.html) on your machine and drop the formatted text from a different application(MS Word, LibreOffice, etc.) on to the drop site, and then you can see all the mimedata available