From kde-core-devel Thu Jul 22 21:05:35 1999 From: Mosfet Date: Thu, 22 Jul 1999 21:05:35 +0000 To: kde-core-devel Subject: Re: KColorButton class in kdelibs/kdeui X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93267701116318 This is of course assuming you are trying to make is use QColorDialog instead of KColorDialog ;-) After reading your mail again I can't tell if that is what you want or if you are not getting a dialog at all... On Thu, 22 Jul 1999, Mosfet wrote: > 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 -- Daniel M. Duley - Unix developer & sys admin. mosfet@kde.org mosfet@jorsm.com