PDA

View Full Version : clipboard signal dosn't work?


tech4web
August 14th, 2007, 10:00 AM
i do it with qt but it seems that qt can not handle this!
i want any more global signal that send clipboard change signal to my qt app?
this is my code but it not working when text selected from a gnome application!

connect(QApplication::clipboard(),SIGNAL(selection Changed()),this,SLOT(sltGetMeanBySelection()));

but in any kde app it work fine.

i want alternate way in x11 or ... ?

tech4web
August 15th, 2007, 12:26 PM
help please!!!!!!!!!!!!!!!!!!!!