mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
e4c0ee32cd
commit
d586970f31
4 changed files with 2 additions and 109 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue