Hi all
I want to use <QColorDialog>
1)I added #include <QColorDialog>
2)I saw the function I need
QColor QColorDialog::getColor ( const QColor & initial = Qt::white, QWidget * parent = 0 ) [static] - in the QColorDialog Class Reference

3)I wrote QColor color = QColorDialog::getColor(const QColor & initial = Qt::white);

I get error message :

expected primary-expression before "const"

what do I do wrong?
I am also not dure what is the parent Widget, if I write it under one of the private slots (functions from the menu)

thanks!