controlpanelui/src/inc/cpprofilemodel.h
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 33 0cfa53de576f
child 40 593f946f4fec
equal deleted inserted replaced
12:624337f114fe 19:36aa4756ee82
    61 public:
    61 public:
    62     int initiationFlag();
    62     int initiationFlag();
    63     QString profileName(int profileId)const;
    63     QString profileName(int profileId)const;
    64     QStringList profileNames()const;
    64     QStringList profileNames()const;
    65     int activateProfile(int profileId);
    65     int activateProfile(int profileId);
    66     int activeProfileId();
    66     int activeProfileId() const;
    67     int setEditingProfile(int profileId); 
    67     void profileSettings(int profileId, CpProfileSettings& profileSettings);
    68     int profileSettings(int profileId, CpProfileSettings& profileSettings);
       
    69     int setProfileSettings(int profileId, CpProfileSettings& profileSettings );
    68     int setProfileSettings(int profileId, CpProfileSettings& profileSettings );
    70     
    69     
    71     /*!
    70     /*!
    72      * set ring tone in personalization group in control panel's homeview
    71      * set ring tone in personalization group in control panel's homeview
    73      */
    72      */
    82     
    81     
    83     
    82     
    84     bool masterVibra() const;
    83     bool masterVibra() const;
    85     void setMasterVibra(bool isVibra);
    84     void setMasterVibra(bool isVibra);
    86         
    85         
    87     bool isSilenceMode() const;
    86     bool silenceMode() const;
    88     void setSilenceMode(bool isSlience);
    87     void setSilenceMode(bool isSlience);
    89     
    88     
    90     bool isOffLineMode() const;    
    89     bool offLineMode() const;    
    91     void setOffLineMode(bool isOffLine);
    90     void setOffLineMode(bool isOffLine);
    92     
    91     
    93     /*!
    92     /*!
    94      *  For profile settings 
    93      *  For profile settings 
    95      */
    94      */