|
QXmpp Version:0.3.0
|
The QXmppActivityItem class represents an IQ used for representing UserActivity as defined by XEP-0108. More...
#include <QXmppActivityItem.h>
Public Types | |
| enum | General { GeneralEmpty = -1, DoingChores, Drinking, Eating, Exercising, Grooming, HavingAppointment, Inactive, Relaxing, Talking, Traveling, Working } |
| This enum is used to describe a general activity type. | |
| enum | Specific { SpecificEmpty = -1, BuyingGroceries, Cleaning, Cooking, DoingMaintenance, DoingTheDishes, DoingTheLaundry, Gardening, RunningAnErrand, WalkingTheDog, HavingABeer, HavingCoffee, HavingTea, HavingASnack, HavingBreakfast, HavingDinner, HavingLunch, Dancing, Hiking, Jogging, PlayingSports, Running, Skiing, Swimming, WorkingOut, AtTheSpa, BrushingTeeth, GettingAHaircut, Shaving, TakingABath, TakingAShower, DayOff, HangingOut, Hiding, OnVacation, Praying, ScheduledHoliday, Sleeping, Thinking, Fishing, Gaming, GoingOut, Partying, Reading, Rehearsing, Shopping, Smoking, Socializing, Sunbathing, WatchingTv, WatchingAMovie, InRealLife, OnThePhone, OnVideoPhone, Commuting, Cycling, Driving, InACar, OnABus, OnAPlane, OnATrain, OnATrip, Walking, Coding, InAMeeting, Studying, Writing, Other } |
| This enum is used to describe a specific activity type. | |
Public Member Functions | |
| QXmppActivityItem::General | activityGeneral () const |
| void | setActivityGeneral (General general) |
| QXmppActivityItem::Specific | activitySpecific () const |
| void | setActivitySpecific (Specific specific) |
| QString | additionalSpecific () const |
| void | setAdditionalSpecific (const QString &) |
| QString | additionalSpecificNS () const |
| void | setAdditionalSpecificNS (const QString &) |
| QString | activityDetailed () const |
| void | setActivityDetailed (const QString &) |
| QString | activityDetailedNS () const |
| void | setActivityDetailedNS (const QString &) |
| QString | text () const |
| void | setText (const QString &) |
| QString | lang () const |
| void | setLang (const QString &) |
The QXmppActivityItem class represents an IQ used for representing UserActivity as defined by XEP-0108.
| QString QXmppActivityItem::activityDetailed | ( | ) | const |
Returns the detailed activity tag if there is any.
| QString QXmppActivityItem::activityDetailedNS | ( | ) | const |
Returns the detailed activity's namespace.
| QXmppActivityItem::General QXmppActivityItem::activityGeneral | ( | ) | const |
Returns the general tag of the Activity item.
| QXmppActivityItem::Specific QXmppActivityItem::activitySpecific | ( | ) | const |
Returns the specific tag of the Activity item.
| QString QXmppActivityItem::additionalSpecific | ( | ) | const |
Returns the additional specific (not hardcoded by XEP) tag of the Activity item, if there is any.
| QString QXmppActivityItem::additionalSpecificNS | ( | ) | const |
Returns the namespace of the additional specific tag.
| QString QXmppActivityItem::lang | ( | ) | const |
Returns the language of the text message (corresponding 'lang' attribute).
Reimplemented from QXmppStanza.
| void QXmppActivityItem::setActivityDetailed | ( | const QString & | detailed | ) |
Sets the detailed activity tag.
| detailed |
| void QXmppActivityItem::setActivityDetailedNS | ( | const QString & | detailedns | ) |
Sets the detailed activity's namespace.
| detailedns |
| void QXmppActivityItem::setActivityGeneral | ( | QXmppActivityItem::General | general | ) |
Sets the general tag of the Activity item.
| general |
| void QXmppActivityItem::setActivitySpecific | ( | QXmppActivityItem::Specific | specific | ) |
Sets the specific tag of the Activity item.
| specific |
| void QXmppActivityItem::setAdditionalSpecific | ( | const QString & | addspec | ) |
Sets the additional specific (not hardcoded by XEP) tag of the Activity item.
| specific |
| void QXmppActivityItem::setAdditionalSpecificNS | ( | const QString & | addspecns | ) |
Sets the namespace of the additional specific tag.
| addspecns |
| void QXmppActivityItem::setLang | ( | const QString & | lang | ) |
Sets the language of the text message (corresponding 'lang' attribute).
| lang |
Reimplemented from QXmppStanza.
| void QXmppActivityItem::setText | ( | const QString & | text | ) |
Sets the text message, if there is any.
| text |
| QString QXmppActivityItem::text | ( | ) | const |
Returns the text message, if there is any.
1.7.4