diff options
| author | 2011-03-13 12:20:32 +0000 | |
|---|---|---|
| committer | 2011-03-13 12:20:32 +0000 | |
| commit | cba5b65658676e2817ef72bf2c6b66e42a801ca9 (patch) | |
| tree | 2f1ab6a389bdfafd9e2ad41e684386a8b0a3d186 /src/modules/help/HelpWindow.h | |
| parent | Fix the webView preview painting (diff) | |
| download | KVIrc-cba5b65658676e2817ef72bf2c6b66e42a801ca9.tar.gz KVIrc-cba5b65658676e2817ef72bf2c6b66e42a801ca9.tar.bz2 KVIrc-cba5b65658676e2817ef72bf2c6b66e42a801ca9.zip | |
Code improvements in help window when using webkit(wip)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5570 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help/HelpWindow.h')
| -rw-r--r-- | src/modules/help/HelpWindow.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/modules/help/HelpWindow.h b/src/modules/help/HelpWindow.h index 94eacc347..ff5c1468f 100644 --- a/src/modules/help/HelpWindow.h +++ b/src/modules/help/HelpWindow.h @@ -28,13 +28,20 @@ #include "KviCString.h" #include "KviTalVBox.h" #include "KviTalListWidget.h" +#include "kvi_settings.h" #include <QTabWidget> +#ifdef COMPILE_WEBKIT_SUPPORT +#include <QtWebKit/QWebView> +#else +class QTextBrowser; +#endif + #include <QLineEdit> class QProgressBar; class QPushButton; -class QTextBrowser; + class HelpWidget; class HelpWindow : public KviWindow @@ -69,7 +76,11 @@ protected: virtual void saveProperties(KviConfigurationFile * cfg); virtual void loadProperties(KviConfigurationFile * cfg); public: + #ifdef COMPILE_WEBKIT_SUPPORT + QWebView * textBrowser(); + #else QTextBrowser * textBrowser(); + #endif public slots: void indexSelected ( QListWidgetItem * ); void searchInIndex( const QString &s ); |
