Possible Duplicate:
What does a colon following a C++ constructor name do?
I am finding this syntax strange in C++
TagDetails::TagDetails(QWidget *parent) :
QDialog(parent),
ui(new Ui::TagDetails)
This is declaration of constructor in C++... What does the thing after colon stand for, i.e. what does ui(new Ui::TagDetails) mean here? What is the colon for?