diff options
Diffstat (limited to 'khtml/testkhtml.h')
-rw-r--r-- | khtml/testkhtml.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/khtml/testkhtml.h b/khtml/testkhtml.h deleted file mode 100644 index 4fd76d044..000000000 --- a/khtml/testkhtml.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef TESTKHTML_H -#define TESTKHTML_H - -#include <kdebug.h> -#include <tqvaluelist.h> -#include <tqdatetime.h> - -/** - * @internal - */ -class Dummy : public TQObject -{ - Q_OBJECT -public: - Dummy( KHTMLPart *part ) : TQObject( part ) { m_part = part; }; - -private slots: - void slotOpenURL( const KURL &url, const KParts::URLArgs &args ) - { - m_part->browserExtension()->setURLArgs( args ); - m_part->openURL( url ); - } - void reload() - { - KParts::URLArgs args; args.reload = true; - m_part->browserExtension()->setURLArgs( args ); - m_part->openURL( m_part->url() ); - } - - void toggleNavigable(bool s) - { - m_part->setCaretMode(s); - } - - void toggleEditable(bool s) - { - kdDebug() << "editable: " << s << endl; - m_part->setEditable(s); - } - - void doBenchmark(); - - void handleDone(); - -private: - KHTMLPart *m_part; - TQValueList<TQString> filesToBenchmark; - TQMap<TQString, TQValueList<int> > results; - int benchmarkRun; - TQTime loadTimer; - - void nextRun(); -}; - -#endif |