#include "EngaugeAssert.h"
#include "EnumsToQt.h"
#include <QHash>
#include <QString>
Go to the source code of this file.
Definition at line 15 of file EnumsToQt.cpp.
17 if (colorPaletteLookupTable.count() == 0) {
31 if (colorPaletteLookupTable.contains (color)) {
33 return colorPaletteLookupTable [color];
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS) define ENGAUGE...
QString EndianToString |
( |
QSysInfo::Endian |
endian | ) |
|
Definition at line 43 of file EnumsToQt.cpp.
45 if (endianLookupTable.count() == 0) {
48 endianLookupTable [QSysInfo::BigEndian] =
"BigEndian";
49 endianLookupTable [QSysInfo::LittleEndian] =
"LittleEndian";
52 if (endianLookupTable.contains (endian)) {
54 return endianLookupTable [endian];