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>
This commit is contained in:
Tomaz Canabrava 2015-09-23 14:57:55 -03:00 committed by Dirk Hohndel
parent e4c0ee32cd
commit d586970f31
4 changed files with 2 additions and 109 deletions

View file

@ -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;