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