forked from qt-creator/qt-creator
Text browser help viewer: Remove unnecessary state.
Change-Id: Ie8ecc98a065a5f9d79be45a6921f7b2165c75ead Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user