1 #ifndef QXRDPOWDERPOINT_H
2 #define QXRDPOWDERPOINT_H
20 double x()
const {
return m_X; }
21 double y()
const {
return m_Y; }
29 double&
x() {
return m_X; }
30 double&
y() {
return m_Y; }
39 static void customSaver(
const QVariant &val, QSettings *settings, QString name);
62 #ifndef QT_NO_DATASTREAM
74 static void customSaver(
const QVariant &val, QSettings *settings, QString name);
85 #endif // QXRDPOWDERPOINT_H
static void registerMetaTypes()
bool operator==(const QxrdPowderPoint &pt) const
QDataStream & operator<<(QDataStream &stream, const QxrdPowderPoint &pt)
static void fromScriptValue(const QScriptValue &obj, QxrdPowderPoint &pt)
QDataStream & operator>>(QDataStream &stream, QxrdPowderPoint &pt)
static void registerMetaTypes()
void setSettingsValue(QSettings *settings, QString name)
static void customSaver(const QVariant &val, QSettings *settings, QString name)
static QScriptValue toScriptValue(QScriptEngine *engine, const QxrdPowderPoint &pt)
static QScriptValue toScriptValue(QScriptEngine *engine, const QxrdPowderPointVector &vec)
void setSettingsValue(QSettings *settings, QString name)
bool operator!=(const QxrdPowderPoint &pt) const
static void fromScriptValue(const QScriptValue &obj, QxrdPowderPointVector &vec)
static void customSaver(const QVariant &val, QSettings *settings, QString name)