I am trying implement a MVC model, downloaded the source code from http://doc.trolltech.com/qq/qq10-mvc.html

But I can't compile, it says following:
In file included from ..\mvc\palettemodelmanager.cpp:28:
..\mvc\/palettemodelmanager.h: In constructor 'PaletteModelManager::PaletteModelManager(QObject* , const char*)':
..\mvc\/palettemodelmanager.h:59: error: no matching function for call to 'QObject::QObject(QObject*&, const char*&)'
..\..\..\Qt\2010.02.1\qt\include/QtCore/../../src/corelib/kernel/qobject.h:309: note: candidates are: QObject::QObject(const QObject&)
..\..\..\Qt\2010.02.1\qt\include/QtCore/../../src/corelib/kernel/qobject.h:293: note: QObject::QObject(QObjectPrivate&, QObject*)
..\..\..\Qt\2010.02.1\qt\include/QtCore/../../src/corelib/kernel/qobject.h:128: note: QObject::QObject(QObject*)