mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Move the models to its own folder
This is an attempt to help share code between the desktop version of Subsurface and the mobile version. More code will be moved around and the models will be split in a way that will help recompile times and also creation of different interfaces for different form-factors. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
29e7459d6b
commit
338c0f22aa
7 changed files with 19 additions and 4 deletions
36
qt-models/completionmodels.h
Normal file
36
qt-models/completionmodels.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#ifndef COMPLETIONMODELS_H
|
||||
#define COMPLETIONMODELS_H
|
||||
|
||||
#include <QStringListModel>
|
||||
|
||||
class BuddyCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class DiveMasterCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class LocationCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class SuitCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
class TagCompletionModel : public QStringListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
void updateModel();
|
||||
};
|
||||
|
||||
#endif // COMPLETIONMODELS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue