Hi all,
I am new to Qt and need your help.
I am trying to use
QObject * QWebPage::createPlugin ( const QString & classid, const QUrl & url, const QStringList & paramNames, const QStringList & paramValues )
i.e. I am using a object tag in my html file like

<object type="application/x-qt-plugin" classid="QPushButton" name="pushbutton" width=120>
If I want to embed,say a QPushButton in my webpage as given above,then how should I do this?
is this the correct way?
and what else do I need to include in my code apart from this object tag in the html file?
Isnt this function called directly whenever webkit detects object tag in the html file like the javascriptAlert()?

Thanks!