subsurface/qt-models/completionmodels.h
Tomaz Canabrava 338c0f22aa 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>
2015-05-29 14:07:54 -07:00

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