Source Code (Use browser search to find items of interest.)

Class Index

kdelibs'ColorDialog (./kdelibs/kwrite/kwdialog.h:187)

class ColorDialog : public KDialogBase
{
  Q_OBJECT

public:

  ColorDialog(QWidget *parent, QColor *);
  void getColors(QColor *);

private:

  ColorConfig *m_colors;
};

kdelibs'ColorDialog::ColorDialog() (./kdelibs/kwrite/kwdialog.cpp:573)

ColorDialog::ColorDialog( QWidget *parent, QColor *colors )
  : KDialogBase(parent, 0L, true, i18n("Color Settings"), Ok|Cancel, Ok, true)
{
  m_colors = new ColorConfig( this );		
  m_colors->setColors( colors );
  setMainWidget( m_colors );
}


kdelibs'ColorDialog::getColors() (./kdelibs/kwrite/kwdialog.cpp:581)

void ColorDialog::getColors(QColor *colors)
{
  m_colors->getColors( colors );
}