2013-08-13 10:30:22 -03:00
|
|
|
#ifndef COMPLETIONMODELS_H
|
|
|
|
#define COMPLETIONMODELS_H
|
|
|
|
|
|
|
|
#include <QStringListModel>
|
|
|
|
|
|
|
|
class BuddyCompletionModel : public QStringListModel {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-10-15 04:37:31 -07:00
|
|
|
static BuddyCompletionModel* instance();
|
2013-08-13 10:30:22 -03:00
|
|
|
void updateModel();
|
|
|
|
};
|
|
|
|
|
|
|
|
class DiveMasterCompletionModel : public QStringListModel {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
static DiveMasterCompletionModel* instance();
|
|
|
|
void updateModel();
|
|
|
|
};
|
|
|
|
|
|
|
|
class LocationCompletionModel : public QStringListModel {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
static LocationCompletionModel* instance();
|
|
|
|
void updateModel();
|
|
|
|
};
|
|
|
|
|
|
|
|
class SuitCompletionModel : public QStringListModel {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
static SuitCompletionModel* instance();
|
|
|
|
void updateModel();
|
|
|
|
};
|
|
|
|
|
2013-11-02 02:20:02 +01:00
|
|
|
class TagCompletionModel : public QStringListModel {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
static TagCompletionModel* instance();
|
|
|
|
void updateModel();
|
|
|
|
};
|
|
|
|
|
2013-08-13 10:30:22 -03:00
|
|
|
#endif
|