summaryrefslogtreecommitdiff
path: root/cad/plugins/NanoVision-1/src/UserSettings.h
blob: d3a3a2b97ae86dedec4b90efda59e3e91c51270e (plain)
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
// Copyright 2007 Nanorex, Inc.  See LICENSE file for details.

#ifndef USERSETTINGS_H
#define USERSETTINGS_H

#include <QObject>
#include <QSettings>


/* CLASS: UserSettings */
class UserSettings : public QSettings {
	Q_OBJECT

	public:
		UserSettings();
		~UserSettings();

		static UserSettings* Instance();
		
		void sync();
		
	signals:
		void updated();

	private:
		static UserSettings* ThisInstance;
};

#endif