14 #include "cxResourceExport.h"
18 #include "boost/shared_ptr.hpp"
31 typedef boost::shared_ptr<class Profile>
ProfilePtr;
41 class cxResource_EXPORT
Profile :
public QObject
61 QString getName()
const;
66 QString getUid()
const;
71 QString getPath()
const;
77 QStringList getApplicationToolConfigPaths();
82 QString getToolConfigFilePath();
83 void setToolConfigFilePath(QString path);
88 QString getSettingsPath();
95 QStringList getAllRootConfigPaths();
100 QString getSessionRootFolder()
const;
101 void setSessionRootFolder(QString path);
103 QString getPatientTemplatePath();
107 QString getSettingsFile();
108 QString getDefaultSessionRootFolder()
const;
119 static ProfileManager* getInstance(QString defaultProfile = QString(
"Laboratory"));
120 static void initialize();
121 static void shutdown();
123 QStringList getProfiles();
126 void setActiveProfile(QString uid);
131 QString getSettingsPath();
134 void activeProfileChanged();
145 QString getDefaultProfileUid(QString defaultProfile);
146 void profilesChanged();
147 QStringList getInstalledProfiles();
148 QStringList getCustomProfiles();
149 QStringList getProfilesInFolder(QString folder);
151 QString getCustomPath();
152 void newProfile(QString uid);
153 void copyProfile(QString base, QString uid);
154 QString getPathForInstalled(QString uid);
155 QString getPathForCustom(QString uid);
156 void createCustomProfile(QString uid);
166 #endif // CXPROFILE_H