diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-23 14:57:55 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 14:15:49 -0700 |
commit | d586970f3145106d444af8c54651af6563b92a66 (patch) | |
tree | 9fb9f6a6f667c638421060a5335813032fd1cfb9 /qt-ui/locationinformation.h | |
parent | e4c0ee32cdcd8487dd88e40fef3ba5de6fa92704 (diff) | |
download | subsurface-d586970f3145106d444af8c54651af6563b92a66.tar.gz |
Removed a ton of dead code
Unused dead code / hack for the old QCompleter
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.h')
-rw-r--r-- | qt-ui/locationinformation.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index db0d286ac..db6809015 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -46,19 +46,6 @@ private: QAction *closeAction, *acceptAction, *rejectAction; }; -class LocationManagementEditHelper : public QObject { -Q_OBJECT -public: - bool eventFilter(QObject *obj, QEvent *ev); - void handleActivation(const QModelIndex& activated); - void resetDiveSiteUuid(); - uint32_t diveSiteUuid() const; -signals: - void setLineEditText(const QString& text); -private: - uint32_t last_uuid; -}; - class DiveLocationFilterProxyModel : public QSortFilterProxyModel { Q_OBJECT public: @@ -96,7 +83,6 @@ public: void setTemporaryDiveSiteName(const QString& s); bool eventFilter(QObject*, QEvent*); void itemActivated(const QModelIndex& index); - DiveSiteType currDiveSiteType() const; uint32_t currDiveSiteUuid() const; @@ -107,6 +93,7 @@ protected: void keyPressEvent(QKeyEvent *ev); void focusOutEvent(QFocusEvent *ev); void showPopup(); + private: DiveLocationFilterProxyModel *proxy; DiveLocationModel *model; |