subsurface/qt-ui/completionmodels.h
Boris Barbulovski 507a929a27 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>
2014-02-11 12:36:45 -08:00

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