aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-23 14:57:55 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-23 14:15:49 -0700
commitd586970f3145106d444af8c54651af6563b92a66 (patch)
tree9fb9f6a6f667c638421060a5335813032fd1cfb9 /qt-ui/locationinformation.h
parente4c0ee32cdcd8487dd88e40fef3ba5de6fa92704 (diff)
downloadsubsurface-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.h15
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;