mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
338c0f22aa
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>
36 lines
608 B
C++
36 lines
608 B
C++
#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
|