1 #ifndef __konq_aboutpage_h__
2 #define __konq_aboutpage_h__
4 #include <khtml_part.h>
6 class KonqAboutPageSingleton
9 KonqAboutPageSingleton();
10 ~KonqAboutPageSingleton();
19 static QString
loadFile( const QString
& file
);
21 QString m_launch_html
, m_intro_html
, m_specs_html
, m_tips_html
, m_plugins_html
;
24 class KonqAboutPage
: public KHTMLPart
28 KonqAboutPage(QWidget
*parentWidget
, QObject
*parent
, const QVariantList
& args
);
31 virtual bool openUrl( const KUrl
&url
);
33 virtual bool openFile();
35 virtual void saveState( QDataStream
&stream
);
36 virtual void restoreState( QDataStream
&stream
);
39 virtual bool urlSelected( const QString
&url
, int button
, int state
, const QString
&target
,
40 const KParts::OpenUrlArguments
& args
= KParts::OpenUrlArguments(),
41 const KParts::BrowserArguments
& browserArgs
= KParts::BrowserArguments() );
44 void serve( const QString
&, const QString
& );