QXRD  0.11.16
qxrdglobalsettings.cpp
Go to the documentation of this file.
1 #include "qxrddebug.h"
2 #include "qxrdglobalsettings.h"
3 #include <stdio.h>
4 #include "qxrdapplication.h"
5 
7  : QSettings("cep.xor.aps.anl.gov","qxrd-2",NULL),
8  m_Application(app)
9 {
10  if (qcepDebug(DEBUG_PREFS)) {
11  m_Application->printMessage("QxrdGlobalSettings::QxrdGlobalSettings");
12  }
13 }
14 
15 QxrdGlobalSettings::QxrdGlobalSettings(const QString &path, QSettings::Format format, QcepObject *parent)
16  : QSettings(path, format, parent)
17 {
18 
19 }
20 
22 {
23  if (qcepDebug(DEBUG_PREFS)) {
24  m_Application->printMessage("QxrdGlobalSettings::~QxrdGlobalSettings");
25  }
26 }
qint64 qcepDebug(int cond)
Definition: qcepdebug.cpp:26
QxrdApplication * m_Application
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())
QxrdGlobalSettings(QxrdApplication *app)