From kde-core-devel Thu Jul 22 20:37:19 1999 From: Mosfet Date: Thu, 22 Jul 1999 20:37:19 +0000 To: kde-core-devel Subject: Re: KColorButton class in kdelibs/kdeui X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93267550914712 Don't use the slotClicked method, it will run the dialog after d'nd operations too. Just replace the KColorDialog with QColorDialog in the KColorButton sources. I had to do a lot of hacking in order to make d'nd not horribly broken, so I don't advise hacking those classes much unless you don't like keeping your hair in your head ;-) On Thu, 22 Jul 1999, Cristian Tibirna wrote: > HI > > What is with the slotClicked SLOT in KColorButton class? This was supposed > to fire up a color selector or a palette menu, but it's not even declared > anywhere. > > Could I just add it in KColorButton and make it use QColorDialog? > > Cristian Tibirna : ctibirna@total.net : www.total.net/~ctibirna > PhD Student : ctibirna@gch.ulaval.ca : web.gch.ulaval.ca/~ctibirna > KDE contact - Canada : tibirna@kde.org : www.kde.org -- Daniel M. Duley - Unix developer & sys admin. mosfet@kde.org mosfet@jorsm.com