1 #ifndef QXRDCALIBRANTDSPACING_H
2 #define QXRDCALIBRANTDSPACING_H
6 #include <QScriptValue>
7 #include <QScriptEngine>
19 int h()
const {
return m_H; }
20 int k()
const {
return m_K; }
21 int l()
const {
return m_L; }
22 int n()
const {
return m_N; }
23 double d()
const {
return m_D; }
31 double&
d() {
return m_D; }
38 static void customSaver(
const QVariant &val, QSettings *settings, QString name);
60 #ifndef QT_NO_DATASTREAM
67 #endif // QXRDCALIBRANTDSPACING_H
QDataStream & operator>>(QDataStream &stream, QxrdCalibrantDSpacing &pt)
static void registerMetaTypes()
static void fromScriptValue(const QScriptValue &obj, QxrdCalibrantDSpacing &spc)
static void customSaver(const QVariant &val, QSettings *settings, QString name)
bool operator!=(const QxrdCalibrantDSpacing &spc) const
QDataStream & operator<<(QDataStream &stream, const QxrdCalibrantDSpacing &pt)
void setSettingsValue(QSettings *settings, QString name)
static QScriptValue toScriptValue(QScriptEngine *engine, const QxrdCalibrantDSpacing &spc)
bool operator==(const QxrdCalibrantDSpacing &spc) const