35 #include "cxResourceExport.h"
39 #include "boost/shared_ptr.hpp"
52 typedef boost::shared_ptr<class Profile>
ProfilePtr;
62 class cxResource_EXPORT
Profile :
public QObject
81 QString getName()
const;
86 QString getUid()
const;
91 QString getPath()
const;
97 QStringList getApplicationToolConfigPaths();
102 QString getToolConfigFilePath();
103 void setToolConfigFilePath(QString path);
108 QString getSettingsPath();
115 QStringList getAllRootConfigPaths();
120 QString getSessionRootFolder()
const;
121 void setSessionRootFolder(QString path);
126 QString getSettingsFile();
127 QString getDefaultSessionRootFolder()
const;
139 static void initialize();
140 static void shutdown();
142 QStringList getProfiles();
145 void setActiveProfile(QString uid);
150 QString getSettingsPath();
153 void activeProfileChanged();
164 QString getDefaultProfileUid();
165 void profilesChanged();
166 QStringList getInstalledProfiles();
167 QStringList getCustomProfiles();
168 QStringList getProfilesInFolder(QString folder);
170 QString getCustomPath();
171 void newProfile(QString uid);
172 void copyProfile(QString base, QString uid);
173 QString getPathForInstalled(QString uid);
174 QString getPathForCustom(QString uid);
175 void createCustomProfile(QString uid);
185 #endif // CXPROFILE_H
cxResource_EXPORT ProfilePtr profile()
boost::shared_ptr< class Settings > SettingsPtr
boost::shared_ptr< class StringProperty > StringPropertyPtr
Customized interface for setting values in QSettings.
boost::shared_ptr< class QSettings > QSettingsPtr
Settings * settings()
Shortcut for accessing the settings instance.
boost::shared_ptr< class Profile > ProfilePtr
Helper class for xml files used to store ssc/cx data.