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
97 QStringList getApplicationToolConfigPaths();
102 QString getToolConfigFilePath();
103 void setToolConfigFilePath(QString path);
108 QString getSettingsPath();
115 QStringList getAllRootConfigPaths();
119 QString getSettingsFile();
131 static void initialize();
132 static void shutdown();
134 QStringList getProfiles();
137 void setActiveProfile(QString uid);
142 QString getSettingsPath();
145 void activeProfileChanged();
156 QString getDefaultProfileUid();
157 void profilesChanged();
158 QStringList getInstalledProfiles();
159 QStringList getCustomProfiles();
160 QStringList getProfilesInFolder(QString folder);
162 QString getCustomPath();
163 void newProfile(QString uid);
164 void copyProfile(QString base, QString uid);
165 QString getPathForInstalled(QString uid);
166 QString getPathForCustom(QString uid);
167 void createCustomProfile(QString uid);
177 #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.