libqutim  0.3.1.0
qutim_sdk_0_3::MetaContact Class Reference

#include <metacontact.h>

+ Inheritance diagram for qutim_sdk_0_3::MetaContact:

Signals

void contactAdded (qutim_sdk_0_3::Contact *)
 
void contactRemoved (qutim_sdk_0_3::Contact *)
 
- Signals inherited from qutim_sdk_0_3::Contact
void inListChanged (bool inList)
 
void tagsChanged (const QStringList &current, const QStringList &previous)
 
- Signals inherited from qutim_sdk_0_3::Buddy
void avatarChanged (const QString &path)
 
void nameChanged (const QString &current, const QString &previous)
 
void statusChanged (const qutim_sdk_0_3::Status &current, const qutim_sdk_0_3::Status &previous)
 
- Signals inherited from qutim_sdk_0_3::ChatUnit
void chatStateChanged (qutim_sdk_0_3::ChatState current, qutim_sdk_0_3::ChatState previous)
 
void lastActivityChanged (const QDateTime &current, const QDateTime &previous)
 
void lowerUnitAdded (ChatUnit *unit)
 
void titleChanged (const QString &current, const QString &previous)
 

Public Member Functions

 MetaContact ()
 
virtual ~MetaContact ()
 
virtual void addContact (Contact *contact)
 
virtual bool isInList () const
 
virtual ChatUnitList lowerUnits ()
 
virtual void removeContact (Contact *contact)
 
virtual void setInList (bool inList)
 
- Public Member Functions inherited from qutim_sdk_0_3::Contact
 Contact (Account *account)
 
 Contact (ContactPrivate &d, Account *account)
 
virtual ~Contact ()
 
void addToList ()
 
void removeFromList ()
 
virtual void setTags (const QStringList &tags)=0
 
virtual QStringList tags () const
 
virtual ChatUnitupperUnit ()
 
- Public Member Functions inherited from qutim_sdk_0_3::Buddy
 Buddy (Account *account)
 
 Buddy (BuddyPrivate &d, Account *account)
 
virtual ~Buddy ()
 
virtual QString avatar () const
 
virtual QString name () const
 
virtual bool sendMessage (const Message &message)=0
 
virtual void setName (const QString &name)
 
virtual Status status () const
 
virtual QString title () const
 
- Public Member Functions inherited from qutim_sdk_0_3::ChatUnit
 ChatUnit (Account *account)
 
 ChatUnit (ChatUnitPrivate &d, Account *account)
 
virtual ~ChatUnit ()
 
Accountaccount ()
 
const Accountaccount () const
 
ChatUnitbuddy ()
 
const ChatUnitbuddy () const
 
qutim_sdk_0_3::ChatState chatState () const
 
virtual const ChatUnitgetHistoryUnit () const
 
virtual QString id () const =0
 
bool isConference () const
 
QDateTime lastActivity () const
 
ChatUnitmetaContact ()
 
const ChatUnitmetaContact () const
 
Q_INVOKABLE bool send (const qutim_sdk_0_3::Message &message)
 
void setChatState (qutim_sdk_0_3::ChatState state)
 
void setLastActivity (const QDateTime &time=QDateTime::currentDateTime())
 
- Public Member Functions inherited from qutim_sdk_0_3::MenuController
 MenuController (QObject *parent=0)
 
virtual ~MenuController ()
 
void addAction (const ActionGenerator *gen, const QList< QByteArray > &menu=QList< QByteArray >())
 
template<int N>
void addAction (const ActionGenerator *gen, const char(&menu)[N])
 
template<int N>
Q_INLINE_TEMPLATE void addAction (const ActionGenerator *gen, const char(&menu)[N])
 
template<typename T, int N>
Q_INLINE_TEMPLATE void addAction (const ActionGenerator *gen, const char(&menu)[N])
 
template<int N>
Q_INLINE_TEMPLATE void addAction (const ActionGenerator *gen, const QMetaObject *meta, const char(&menu)[N])
 
QMenu * menu (bool deleteOnClose=true) const
 
bool removeAction (const ActionGenerator *gen)
 

Additional Inherited Members

- Public Types inherited from qutim_sdk_0_3::MenuController
enum  MenuFlag { ShowSelfActions = 0x01, ShowSuperActions = 0x02, ShowOwnerActions = 0x04 }
 
- Public Slots inherited from qutim_sdk_0_3::ChatUnit
quint64 sendMessage (const QString &text)
 
- Static Public Member Functions inherited from qutim_sdk_0_3::MenuController
static void addAction (const ActionGenerator *gen, const QMetaObject *meta, const QList< QByteArray > &menu=QList< QByteArray >())
 
template<typename T >
static void addAction (const ActionGenerator *gen, const QList< QByteArray > &menu=QList< QByteArray >())
 
template<typename T , int N>
static void addAction (const ActionGenerator *gen, const char(&menu)[N])
 
template<int N>
static void addAction (const ActionGenerator *gen, const QMetaObject *meta, const char(&menu)[N])
 
static QObject * get (QAction *)
 
template<typename T >
static T get (QAction *)
 
- Protected Member Functions inherited from qutim_sdk_0_3::Contact
bool event (QEvent *)
 
- Properties inherited from qutim_sdk_0_3::Contact
bool inList
 
QStringList tags
 

Constructor & Destructor Documentation

qutim_sdk_0_3::MetaContact::MetaContact ( )
virtual qutim_sdk_0_3::MetaContact::~MetaContact ( )
virtual

Member Function Documentation

virtual void qutim_sdk_0_3::MetaContact::addContact ( Contact contact)
virtual
void qutim_sdk_0_3::MetaContact::contactAdded ( qutim_sdk_0_3::Contact )
signal
void qutim_sdk_0_3::MetaContact::contactRemoved ( qutim_sdk_0_3::Contact )
signal
virtual bool qutim_sdk_0_3::MetaContact::isInList ( ) const
virtual

Returns membership contact to contactlist.

Returns
isInList

Implements qutim_sdk_0_3::Contact.

virtual ChatUnitList qutim_sdk_0_3::MetaContact::lowerUnits ( )
virtual

Returns TODO.

Returns
ChatUnitList

Reimplemented from qutim_sdk_0_3::ChatUnit.

virtual void qutim_sdk_0_3::MetaContact::removeContact ( Contact contact)
virtual
virtual void qutim_sdk_0_3::MetaContact::setInList ( bool  inList)
virtual

set a membership contact to contactlist

Parameters
inList

Implements qutim_sdk_0_3::Contact.


The documentation for this class was generated from the following file:

Generated by Doxygen