mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
507a929a27
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>
36 lines
586 B
C++
36 lines
586 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
|