LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Window.h File Reference
#include "Common.h"
#include <WindowTypes.h>
#include <stdint.h>
#include <string>
#include <glib.h>
#include <QGraphicsObject>
#include <QSize>
Include dependency graph for Window.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Window
 

Macros

#define QM_CONNECT(source, sSignal, tSlot)
 
#define QM_CONNECT_EX(target, source, sSignal, tSlot)
 

Macro Definition Documentation

#define QM_CONNECT (   source,
  sSignal,
  tSlot 
)
Value:
do { \
if (!connect(source, sSignal, tSlot)) { \
qFatal("Failed to connect signal %s::%s to this::%s", \
#source, sSignal, tSlot); \
} \
} while (0)

Mandatory Qt signal/slot connection between another object's signal and this object's slot.

#define QM_CONNECT_EX (   target,
  source,
  sSignal,
  tSlot 
)
Value:
do { \
if (target == NULL) qFatal("Cannot connect to NULL object"); \
if (!(target)->connect(source, sSignal, tSlot)) { \
qFatal("Failed to connect signal %s::%s to %s::%s", \
#source, sSignal, #target, tSlot); \
} \
} while (0)

Mandatory Qt signal/slot connection between the target slot and the source signal.