phonesettings/cpphonesettingsplugins/cptelephonyutils/inc/cpplugincommon.h
changeset 45 6b911d05207e
parent 37 ba76fc04e6c2
child 46 bc5a64e5bc3c
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
    65     /*!
    65     /*!
    66       Show call duration setting
    66       Show call duration setting
    67       */
    67       */
    68     bool showCallDuration();
    68     bool showCallDuration();
    69     int setShowCallDuration(bool value);
    69     int setShowCallDuration(bool value);
    70 
    70     
       
    71     /*!
       
    72       Own video in received call setting
       
    73      */
       
    74     int readVtVideoSending();
       
    75     int writeVtVideoSending(int value);
       
    76     
    71     /*!
    77     /*!
    72       Soft reject text setting
    78       Soft reject text setting
    73       */
    79       */
    74     void readSoftRejectText( QString &text, bool &userDefined );
    80     void readSoftRejectText( QString &text, bool &userDefined );
    75     int writeSoftRejectText(const QString &text, bool userDefined );
    81     int writeSoftRejectText(const QString &text, bool userDefined );
    89      Return true if phone is in offline mode.
    95      Return true if phone is in offline mode.
    90      Return false if phone is not in offline mode.
    96      Return false if phone is not in offline mode.
    91      */
    97      */
    92     bool isPhoneOffline() const;
    98     bool isPhoneOffline() const;
    93 
    99 
       
   100     /*!
       
   101      Checks if ongoing call exists.
       
   102      Return true if ongoing call exists.
       
   103      Return false if ongoing call does not exist.
       
   104      */
       
   105     bool isOngoingCall() const;
       
   106 
    94 private:
   107 private:
    95     /*!
   108     /*!
    96       Read cenrep value. 
   109       Read cenrep value. 
    97       */
   110       */
    98     QVariant readCenrepValue( const long int uid, const unsigned long int key) const;
   111     QVariant readCenrepValue( const long int uid, const unsigned long int key) const;
       
   112 
       
   113     /*!
       
   114       Read pubsub value. 
       
   115       */
       
   116     QVariant readPubSubValue( const long int uid, const unsigned long int key) const;
    99     
   117     
   100     /*!
   118     /*!
   101       Read cenrep string. 
   119       Read cenrep string. 
   102       */
   120       */
   103     QString readCenrepString( const long int uid, const unsigned long int key) const;
   121     QString readCenrepString( const long int uid, const unsigned long int key) const;