summaryrefslogtreecommitdiff
path: root/qhexedit2
diff options
context:
space:
mode:
Diffstat (limited to 'qhexedit2')
-rw-r--r--qhexedit2/src/qhexedit.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qhexedit2/src/qhexedit.h b/qhexedit2/src/qhexedit.h
index 1a5801a..f06aac5 100644
--- a/qhexedit2/src/qhexedit.h
+++ b/qhexedit2/src/qhexedit.h
@@ -365,7 +365,7 @@ public:
QColor selectionColor();
void setSelectionColor(const QColor &color);
-protected:
+public:
// Handle events
void keyPressEvent(QKeyEvent *event);
void mouseMoveEvent(QMouseEvent * event);
@@ -373,7 +373,6 @@ protected:
void paintEvent(QPaintEvent *event);
void resizeEvent(QResizeEvent *);
virtual bool focusNextPrevChild(bool next);
-private:
// Handle selections
void resetSelection(qint64 pos); // set selectionStart and selectionEnd to pos
void resetSelection(); // set selectionEnd to selectionStart