aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/completionmodels.h
blob: 14618653173cc016168762a8a6f095252ae5ba53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#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();
};

class TagCompletionModel : public QStringListModel {
	Q_OBJECT
public:
	static TagCompletionModel* instance();
	void updateModel();
};

#endif