[Gambas-user] gambas 0.84a
ron
ronstk at ...239...
Fri Feb 13 16:32:39 CET 2004
Additional note
in khtml_part.h the
enum GUIProfile { DefaultGUI, BrowserViewGUI /* ... */ };
KHTMLPart( QWidget *parentWidget = 0, const char *widgetname = 0,
QObject *parent = 0, const char *name = 0, GUIProfile prof =
DefaultGUI );
KHTMLPart( KHTMLView *view, QObject *parent = 0, const char *name = 0,
GUIProfile prof = DefaultGUI );
In your code:
BEGIN_METHOD(CWEBBROWSER_new, GB_OBJECT parent)
KHTMLPart *part = new KHTMLPart( QT.GetContainer(VARG(parent)));
maybe to:
KHTMLPart *part = new KHTMLPart( \
QT.GetContainer(VARG(parent)), 0, 0, 0, BrowserViewGUI );
can do the job?
More information about the User
mailing list