LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IconOperation Class Reference

#include <iconlayout.h>

Collaboration diagram for IconOperation:
[legend]

Public Types

enum  Name {
  INVALID = 0, Id, Add, Remove,
  Reorder
}
 

Public Member Functions

 IconOperation ()
 
 IconOperation (const Name op, const quint32 origin_column, const quint32 origin_row, const quint32 destination_column, const quint32 destination_row)
 
 IconOperation (const Name op, const quint32 origin_column, const quint32 origin_row, const quint32 destination_column, const quint32 destination_row, const quint32 seq)
 

Public Attributes

bool m_valid
 
Name m_opname
 
quint32 m_originRow
 
quint32 m_originColumn
 
quint32 m_destinationRow
 
quint32 m_destinationColumn
 
quint64 m_sequenceNum
 

Static Public Attributes

static QString Names []
 
static quint64 s_idcounter = 1
 

Friends

QDataStream & operator<< (QDataStream &stream, const IconOperation &s)
 
QDataStream & operator>> (QDataStream &stream, IconOperation &s)
 
QDebug operator<< (QDebug dbg, const IconOperation &s)
 

Member Enumeration Documentation

Enumerator
INVALID 
Id 
Add 
Remove 
Reorder 

Constructor & Destructor Documentation

IconOperation::IconOperation ( )
IconOperation::IconOperation ( const Name  op,
const quint32  origin_column,
const quint32  origin_row,
const quint32  destination_column,
const quint32  destination_row 
)
IconOperation::IconOperation ( const Name  op,
const quint32  origin_column,
const quint32  origin_row,
const quint32  destination_column,
const quint32  destination_row,
const quint32  seq 
)

Friends And Related Function Documentation

QDataStream& operator<< ( QDataStream &  stream,
const IconOperation s 
)
friend
QDebug operator<< ( QDebug  dbg,
const IconOperation s 
)
friend
QDataStream& operator>> ( QDataStream &  stream,
IconOperation s 
)
friend

Member Data Documentation

quint32 IconOperation::m_destinationColumn
quint32 IconOperation::m_destinationRow
Name IconOperation::m_opname
quint32 IconOperation::m_originColumn
quint32 IconOperation::m_originRow
quint64 IconOperation::m_sequenceNum
bool IconOperation::m_valid
QString IconOperation::Names
static
Initial value:
=
{ QString("INVALID") , QString("Id") , QString("Add") , QString("Remove") , QString("Reorder") }
quint64 IconOperation::s_idcounter = 1
static

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