The Profile::Presence class represents a presence defined in .profile files.  
 More...
#include <TelepathyQt/Profile>
The Profile::Presence class represents a presence defined in .profile files. 
      
        
          | Tp::Profile::Presence::Presence | ( |  | ) |  | 
      
 
 
      
        
          | Tp::Profile::Presence::Presence | ( | const Presence & | other | ) |  | 
      
 
 
      
        
          | Tp::Profile::Presence::Presence | ( | const QString & | id, | 
        
          |  |  | const QString & | label, | 
        
          |  |  | const QString & | iconName, | 
        
          |  |  | const QString & | message, | 
        
          |  |  | bool | disabled | 
        
          |  | ) |  |  | 
      
 
Construct a new Profile::Presence object.
- Parameters
- 
  
    | id | The presence id. |  | label | The presence label. |  | iconName | The presence icon name. |  | message | The presence message. |  | disabled | Whether this presence is supported. |  
 
 
 
      
        
          | Tp::Profile::Presence::~Presence | ( |  | ) |  | 
      
 
 
      
        
          | QString Tp::Profile::Presence::id | ( |  | ) | const | 
      
 
Return the Telepathy presence id for this presence.
- Returns
- The Telepathy presence id for this presence. 
 
 
      
        
          | QString Tp::Profile::Presence::label | ( |  | ) | const | 
      
 
Return the label that should be used for this presence.
- Returns
- The label for this presence. 
 
 
      
        
          | QString Tp::Profile::Presence::iconName | ( |  | ) | const | 
      
 
Return the icon name of this presence.
- Returns
- The icon name of this presence. 
 
 
      
        
          | bool Tp::Profile::Presence::canHaveStatusMessage | ( |  | ) | const | 
      
 
Return whether user-defined text-message can be attached to this presence.
- Returns
- trueif user-defined text-message can be attached to this presence,- falseotherwise.
 
 
      
        
          | bool Tp::Profile::Presence::isDisabled | ( |  | ) | const | 
      
 
Return whether this presence is supported for the service to which this profile applies.
- Returns
- trueif supported, otherwise- false.