5 #include <khtml_part.h>
12 class Dummy
: public QObject
16 Dummy( KHTMLPart
*part
) : QObject( part
) { m_part
= part
; }
19 void slotOpenURL( const KUrl
&url
, const KParts::OpenUrlArguments
& args
, const KParts::BrowserArguments
& browserArgs
)
21 m_part
->setArguments( args
);
22 m_part
->browserExtension()->setBrowserArguments( browserArgs
);
23 m_part
->openUrl( url
);
27 KParts::OpenUrlArguments args
;
28 args
.setReload( true );
29 m_part
->setArguments( args
);
30 m_part
->openUrl( m_part
->url() );
33 void toggleNavigable(bool s
)
35 m_part
->setCaretMode(s
);
38 void toggleEditable(bool s
)
40 kDebug() << "editable: " << s
;
41 m_part
->setEditable(s
);
51 QList
<QString
> filesToBenchmark
;
52 QMap
<QString
, QList
<int> > results
;