summaryrefslogtreecommitdiffstats
path: root/qt-ui/completionmodels.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/completionmodels.h')
-rw-r--r--qt-ui/completionmodels.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/qt-ui/completionmodels.h b/qt-ui/completionmodels.h
new file mode 100644
index 000000000..42b81946c
--- /dev/null
+++ b/qt-ui/completionmodels.h
@@ -0,0 +1,34 @@
+#ifndef COMPLETIONMODELS_H
+#define COMPLETIONMODELS_H
+
+#include <QStringListModel>
+
+class BuddyCompletionModel : public QStringListModel {
+ Q_OBJECT
+public:
+ static BuddyCompletionModel* instance();
+ 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();
+};
+
+#endif