You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			431 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			431 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #ifndef SETTINGS_H
 | |
| #define SETTINGS_H
 | |
| 
 | |
| #include <stable.h>
 | |
| #include "database.h"
 | |
| 
 | |
| namespace jop {
 | |
| 
 | |
| class Settings : public QSettings {
 | |
| 
 | |
| 	Q_OBJECT
 | |
| 
 | |
| public:
 | |
| 
 | |
| 	Settings();
 | |
| 
 | |
| 	static void initialize();
 | |
| 	QString keyValueserialize(const QString& key) const;
 | |
| 
 | |
| public slots:
 | |
| 
 | |
| 	QString valueString(const QString& name, const QString& defaultValue = "");
 | |
| 	int valueInt(const QString& name, int defaultValue = 0);
 | |
| 
 | |
| };
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif // SETTINGS_H
 |