LeechCraft Azoth 0.6.70-17609-g3dde4097dd
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
LC::Azoth::EntryStatus Struct Reference

Describes an entry's status. More...

#include "iclentry.h"

Public Member Functions

 EntryStatus ()
 Default-constructs an (offline) status.
 
 EntryStatus (State state, const QString &string)
 Constructs a status with a given state and status string.
 

Public Attributes

State State_
 The general state of the entry.
 
QString StatusString_
 The string of the entry accompanying its state.
 

Detailed Description

Describes an entry's status.

A status is a combination of an entry state (one of several states described by the State enumeration) and an associated status string defined by the contact.

See also
State

Definition at line 34 of file iclentry.h.

Constructor & Destructor Documentation

◆ EntryStatus() [1/2]

LC::Azoth::EntryStatus::EntryStatus ( )
inline

Default-constructs an (offline) status.

Definition at line 46 of file iclentry.h.

References LC::Azoth::SOffline, and State_.

◆ EntryStatus() [2/2]

LC::Azoth::EntryStatus::EntryStatus ( State state,
const QString & string )
inline

Constructs a status with a given state and status string.

Parameters
[in]stateThe state of the entry.
[in]stringThe status string of the entry.

Definition at line 57 of file iclentry.h.

References State_, and StatusString_.

Member Data Documentation

◆ State_

State LC::Azoth::EntryStatus::State_

The general state of the entry.

Definition at line 38 of file iclentry.h.

Referenced by EntryStatus(), EntryStatus(), and LC::Azoth::operator==().

◆ StatusString_

QString LC::Azoth::EntryStatus::StatusString_

The string of the entry accompanying its state.

Definition at line 42 of file iclentry.h.

Referenced by EntryStatus(), and LC::Azoth::operator==().


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