libqutim  0.3.1.0
qutim_sdk_0_3::ToolTipEvent Class Reference

#include <tooltip.h>

+ Inheritance diagram for qutim_sdk_0_3::ToolTipEvent:

Public Types

enum  IconPosition { IconBeforeTitle = 0, IconBeforeDescription }
 

Public Member Functions

 ToolTipEvent (bool generateLayout=true)
 
 ~ToolTipEvent ()
 
void addField (const LocalizedString &title, const LocalizedString &description=LocalizedString(), quint8 priority=60)
 
void addField (const LocalizedString &title, const LocalizedString &description, const QString &icon, quint8 priority=60)
 
void addField (const LocalizedString &title, const LocalizedString &description, const ExtensionIcon &icon, quint8 priority=60)
 
void addField (const LocalizedString &title, const LocalizedString &description, const QString &icon, IconPosition iconPosition, quint8 priority=60)
 
void addField (const LocalizedString &title, const LocalizedString &description, const ExtensionIcon &icon, IconPosition iconPosition, quint8 priority=60)
 
void addHtml (const QString &html, quint8 priority=60)
 
bool generateLayout () const
 
QString html () const
 

Static Public Member Functions

static QEvent::Type eventType ()
 

Protected Attributes

QScopedPointer
< ToolTipEventPrivate > 
d
 

Friends

class ToolTip
 

Member Enumeration Documentation

Enumerator
IconBeforeTitle 
IconBeforeDescription 

Constructor & Destructor Documentation

qutim_sdk_0_3::ToolTipEvent::ToolTipEvent ( bool  generateLayout = true)
qutim_sdk_0_3::ToolTipEvent::~ToolTipEvent ( )

Member Function Documentation

void qutim_sdk_0_3::ToolTipEvent::addField ( const LocalizedString title,
const LocalizedString description = LocalizedString(),
quint8  priority = 60 
)
void qutim_sdk_0_3::ToolTipEvent::addField ( const LocalizedString title,
const LocalizedString description,
const QString &  icon,
quint8  priority = 60 
)
void qutim_sdk_0_3::ToolTipEvent::addField ( const LocalizedString title,
const LocalizedString description,
const ExtensionIcon icon,
quint8  priority = 60 
)
void qutim_sdk_0_3::ToolTipEvent::addField ( const LocalizedString title,
const LocalizedString description,
const QString &  icon,
IconPosition  iconPosition,
quint8  priority = 60 
)
void qutim_sdk_0_3::ToolTipEvent::addField ( const LocalizedString title,
const LocalizedString description,
const ExtensionIcon icon,
IconPosition  iconPosition,
quint8  priority = 60 
)
void qutim_sdk_0_3::ToolTipEvent::addHtml ( const QString &  html,
quint8  priority = 60 
)
static QEvent::Type qutim_sdk_0_3::ToolTipEvent::eventType ( )
static
bool qutim_sdk_0_3::ToolTipEvent::generateLayout ( ) const
QString qutim_sdk_0_3::ToolTipEvent::html ( ) const

Friends And Related Function Documentation

friend class ToolTip
friend

Member Data Documentation

QScopedPointer<ToolTipEventPrivate> qutim_sdk_0_3::ToolTipEvent::d
protected

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

Generated by Doxygen