Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Clickable Class Reference

#include </tmp/quassel/src/uisupport/clickable.h>

Public Types

enum  Type { Invalid = -1, Url = 0, Channel = 1, Nick = 2 }

Public Member Functions

 Clickable (Type type=Invalid, quint16 start=0, quint16 length=0)
Type type () const
quint16 start () const
quint16 length () const
bool isValid () const
void activate (NetworkId networkId, const QString &bufferName) const

Private Attributes

Type _type
quint16 _start
quint16 _length

Detailed Description

Definition at line 30 of file clickable.h.

Member Enumeration Documentation

enum Type
Enumerator:
Invalid 
Url 
Channel 
Nick 

Definition at line 34 of file clickable.h.

Constructor & Destructor Documentation

Clickable ( Type  type = Invalid,
quint16  start = 0,
quint16  length = 0 
)
inlineexplicit

Definition at line 41 of file clickable.h.

Member Function Documentation

void activate ( NetworkId  networkId,
const QString &  bufferName 
) const

Member Data Documentation

Type _type
private

Definition at line 54 of file clickable.h.

Referenced by isValid(), and type().

quint16 _start
private

Definition at line 55 of file clickable.h.

Referenced by start().

quint16 _length
private

Definition at line 56 of file clickable.h.

Referenced by length().


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