ibus-qt 1.3.4
Loading...
Searching...
No Matches
IBus::Attribute Class Reference
Inheritance diagram for IBus::Attribute:
IBus::Serializable IBus::Object IBus::AttributeBackground IBus::AttributeForeground IBus::AttributeUnderline

Public Types

enum  Type { TypeUnderline = 1 , TypeForeground = 2 , TypeBackground = 3 }
 
enum  Underline {
  UnderlineNone = 0 , UnderlineSingle = 1 , UnderlineDouble = 2 , UnderlineLow = 3 ,
  UnderlineError = 4
}
 

Public Member Functions

 Attribute (uint type=0, uint value=0, uint start=0, uint end=0)
 
virtual bool serialize (QDBusArgument &argument)
 
virtual bool deserialize (const QDBusArgument &argument)
 
uint type (void) const
 
uint value (void) const
 
uint start (void) const
 
uint end (void) const
 
uint length (void) const
 
- Public Member Functions inherited from IBus::Serializable
void setAttachment (const QString &key, const SerializablePointer &value)
 
SerializablePointer getAttachment (const QString &key) const
 
SerializablePointer removeAttachment (const QString &key)
 
- Public Member Functions inherited from IBus::Object
virtual ~Object ()
 Destructor of Object.
 
virtual void destroy ()
 Destroy the object.
 

Protected Attributes

uint m_type
 
uint m_value
 
uint m_start
 
uint m_end
 

Additional Inherited Members

- Protected Member Functions inherited from IBus::Serializable
- Static Protected Member Functions inherited from IBus::Serializable
static void registerObject (const QString &name, NewInstanceFunc _new)
 
static void unregisterObject (const QString &name)
 

Member Function Documentation

◆ deserialize()

bool IBus::Attribute::deserialize ( const QDBusArgument & argument)
virtual

Reimplemented from IBus::Serializable.

◆ serialize()

bool IBus::Attribute::serialize ( QDBusArgument & argument)
virtual

Reimplemented from IBus::Serializable.


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