Text browser help viewer: Remove unnecessary state.

Change-Id: Ie8ecc98a065a5f9d79be45a6921f7b2165c75ead
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
Eike Ziller
2014-10-23 12:56:18 +02:00
parent 0b3dee6e30
commit 8ab18cff2e
2 changed files with 33 additions and 46 deletions

View File

@@ -101,15 +101,9 @@ public:
QVariant loadResource(int type, const QUrl &name);
bool hasAnchorAt(const QPoint& pos);
void openLink(bool newPage);
void scaleUp();
void scaleDown();
public slots:
void openLink();
void openLinkInNewPage();
protected:
void contextMenuEvent(QContextMenuEvent *event);
bool eventFilter(QObject *obj, QEvent *event);
@@ -117,10 +111,13 @@ protected:
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *e);
private:
QString linkAt(const QPoint& pos);
void openLink(const QUrl &url, bool newPage);
public:
int zoomCount;
bool forceFont;
QString lastAnchor;
bool m_openInNewPageActionVisible;
TextBrowserHelpViewer *m_parent;
};