summaryrefslogblamecommitdiffstats
path: root/qt-ui/completionmodels.h
blob: 14618653173cc016168762a8a6f095252ae5ba53 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                      
                                                






















                                                           





                                                    
      
#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