LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
reorderableiconlayout.cpp File Reference
#include "reorderableiconlayout.h"
#include "reorderablepage.h"
#include "iconlayoutsettings.h"
#include "dynamicssettings.h"
#include "iconreorderanimation.h"
#include "iconlayout.h"
#include "icon.h"
#include "iconheap.h"
#include "page.h"
#include "pixmapobject.h"
#include "dimensionslauncher.h"
#include <QPainter>
#include <QTransform>
#include <QParallelAnimationGroup>
#include <QSequentialAnimationGroup>
#include <QPropertyAnimation>
#include <QState>
#include <QStateMachine>
#include <QSignalTransition>
Include dependency graph for reorderableiconlayout.cpp:

Macros

#define IdOpMacro   IconOperation(IconOperation::Id,0,0,0,0)
 
#define OneCellAhead(sourceCell, slotLeft)
 
#define OneCellBehind(sourceCell, slotLeft)
 

Functions

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

Macro Definition Documentation

#define IdOpMacro   IconOperation(IconOperation::Id,0,0,0,0)
#define OneCellAhead (   sourceCell,
  slotLeft 
)
Value:
{ \
if ((quint32)sourceCell.x() == (m_maxIconsPerRow-1)) \
{ \
slotLeft.setX(0); \
slotLeft.setY(sourceCell.y()+1); \
} \
else \
{ \
slotLeft.setX(sourceCell.x()+1); \
slotLeft.setY(sourceCell.y()); \
} \
}
#define OneCellBehind (   sourceCell,
  slotLeft 
)
Value:
{ \
if (sourceCell.x() == 0) \
{ \
slotLeft.setX(m_maxIconsPerRow-1); \
slotLeft.setY(sourceCell.y()-1); \
} \
else \
{ \
slotLeft.setX(sourceCell.x()-1); \
slotLeft.setY(sourceCell.y()); \
} \
}

Function Documentation

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