diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
commit | 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch) | |
tree | 8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /qt-ui/tagwidget.h | |
parent | 006265d7a088cff4fea665159dbb454956c2cd76 (diff) | |
download | subsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz |
Massive automated whitespace cleanup
I know everyone will hate it.
Go ahead. Complain. Call me names.
At least now things are consistent and reproducible.
If you want changes, have your complaint come with a patch to
scripts/whitespace.pl so that we can automate it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/tagwidget.h')
-rw-r--r-- | qt-ui/tagwidget.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/qt-ui/tagwidget.h b/qt-ui/tagwidget.h index 5f8fb331b..161ec0601 100644 --- a/qt-ui/tagwidget.h +++ b/qt-ui/tagwidget.h @@ -5,11 +5,10 @@ #include <QCompleter> #include <QPair> -class TagWidget : public GroupedLineEdit -{ - Q_OBJECT +class TagWidget : public GroupedLineEdit { + Q_OBJECT public: - explicit TagWidget(QWidget *parent = 0); + explicit TagWidget(QWidget *parent = 0); void setCompleter(QCompleter *completer); QPair<int, int> getCursorTagPosition(); void highlight(); @@ -17,11 +16,14 @@ public: void clear(); void setCursorPosition(int position); void wheelEvent(QWheelEvent *event); -public slots: +public +slots: void reparse(); void completionSelected(QString); + protected: void keyPressEvent(QKeyEvent *e); + private: QCompleter *m_completer; }; |