mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Migrate MainTab models(QStringListModel)
Migrate MainTab models from static xxxCompletioModel::instance() to private MainTab variable members. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
af8c44fa22
commit
507a929a27
4 changed files with 17 additions and 30 deletions
|
@ -6,35 +6,30 @@
|
|||
class BuddyCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static BuddyCompletionModel* instance();
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class DiveMasterCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static DiveMasterCompletionModel* instance();
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class LocationCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static LocationCompletionModel* instance();
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class SuitCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static SuitCompletionModel* instance();
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class TagCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static TagCompletionModel* instance();
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue