mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Random fixes and improvements
Whitespace fixes, constructor fixes, new slot (still unused) Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fdec250723
commit
eb2c78e953
2 changed files with 25 additions and 18 deletions
|
@ -90,11 +90,17 @@ public:
|
|||
class DiveLocationLineEdit : public QLineEdit {
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum DiveSiteType { NO_DIVE_SITE, NEW_DIVE_SITE, EXISTING_DIVE_SITE };
|
||||
DiveLocationLineEdit(QWidget *parent =0 );
|
||||
void refreshDiveSiteCache();
|
||||
void setTemporaryDiveSiteName(const QString& s);
|
||||
bool eventFilter(QObject*, QEvent*);
|
||||
void itemActivated(const QModelIndex& index);
|
||||
void setDiveSiteName();
|
||||
|
||||
DiveSiteType currDiveSiteType() const;
|
||||
uint32_t currDiveSiteUuid() const;
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent *ev);
|
||||
void showPopup();
|
||||
|
@ -102,6 +108,8 @@ private:
|
|||
DiveLocationFilterProxyModel *proxy;
|
||||
DiveLocationModel *model;
|
||||
DiveLocationListView *view;
|
||||
DiveSiteType currType;
|
||||
uint32_t currUuid;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue