aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/HelpWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/HelpWidget.h')
-rw-r--r--src/modules/help/HelpWidget.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/modules/help/HelpWidget.h b/src/modules/help/HelpWidget.h
index 732d7a118..420511de0 100644
--- a/src/modules/help/HelpWidget.h
+++ b/src/modules/help/HelpWidget.h
@@ -27,11 +27,7 @@
#include "HelpIndex.h"
#include "kvi_settings.h"
-#ifdef COMPILE_WEBENGINE_SUPPORT
-#include <QWebEngineView>
-#else
#include <QTextBrowser>
-#endif
#include <QToolBar>
#include <QVBoxLayout>
#include <QProgressBar>
@@ -48,45 +44,20 @@ public:
~HelpWidget();
private:
-#ifdef COMPILE_WEBENGINE_SUPPORT
- QVBoxLayout * m_pLayout;
- QToolBar * m_pToolBar;
- QToolBar * m_pToolBarHighlight;
- QLineEdit * m_pFindText;
- QWebEngineView * m_pTextBrowser;
-#else
QVBoxLayout * m_pLayout;
QToolBar * m_pToolBar;
QAction * m_pBackAction;
QAction * m_pForwardAction;
QTextBrowser * m_pTextBrowser;
-#endif
bool m_bIsStandalone;
protected slots:
void showIndex();
-#ifdef COMPILE_WEBENGINE_SUPPORT
- void slotLoadFinished(bool ok);
- void slotFindNext();
- void slotFindPrev();
- void slotZoomIn();
- void slotZoomOut();
- void slotTextChanged(const QString);
- void slotCopy();
- void slotShowHideFind();
-#endif
public:
-#ifdef COMPILE_WEBENGINE_SUPPORT
- QWebEngineView * textBrowser()
- {
- return m_pTextBrowser;
- }
-#else
QTextBrowser * textBrowser()
{
return m_pTextBrowser;
}
-#endif
};
#endif //_HELPWIDGET_H_