controlpanelui/src/inc/cpprofilemodel.h
changeset 41 ab0490982943
parent 33 0cfa53de576f
equal deleted inserted replaced
36:2fee987ebaff 41:ab0490982943
    53     CpProfileModel(QObject *parent = 0);
    53     CpProfileModel(QObject *parent = 0);
    54     ~CpProfileModel();
    54     ~CpProfileModel();
    55 
    55 
    56 public:
    56 public:
    57     QString profileName(int profileId)const;
    57     QString profileName(int profileId)const;
       
    58     void setProfileName(int profileId, const QString &name);
    58     QStringList profileNames()const;
    59     QStringList profileNames()const;
    59     int activateProfile(int profileId);
    60     int activateProfile(int profileId);
    60     int activeProfileId() const;
    61     int activeProfileId() const;
    61     
    62     
    62     void profileSettings(int profileId, CpProfileSettings& profileSettings);
    63     void profileSettings(int profileId, CpProfileSettings& profileSettings);