Logo Search packages:      
Sourcecode: qink version File versions  Download package

Device Class Reference

#include <device.h>

List of all members.

Detailed Description

Sikon <sikon@lucidfox.org>

Definition at line 30 of file device.h.

Public Member Functions

void deserialize (const QString &value)
 Device (int type, int port, const QString &model)
int getInkLevel (unsigned short type) const
unsigned short getStatus () const
bool isMissing (unsigned short type) const
 operator QString () const
bool operator== (const Device &dev) const
QString serialize () const
int update ()

Static Public Member Functions

static void enumerate (QVector< Device > &list)

Static Public Attributes

static const Deviceinvalid = Device(-1, -1, "")

Private Member Functions

void setInfo (const inklevel::ink_level &level)

Private Attributes

QMap< unsigned short, unsigned
short > 
QString model
int port
unsigned short status
int type

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

Generated by  Doxygen 1.6.0   Back to index