PDA

View Full Version : clipboard signal dosn't work?



tech4web
August 14th, 2007, 03:00 PM
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, 05:26 PM
help please!!!!!!!!!!!!!!!!!!!!