QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
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
6
QxrdGlobalSettings::QxrdGlobalSettings
(
QxrdApplication
*app)
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
21
QxrdGlobalSettings::~QxrdGlobalSettings
()
22
{
23
if
(
qcepDebug
(
DEBUG_PREFS
)) {
24
m_Application
->
printMessage
(
"QxrdGlobalSettings::~QxrdGlobalSettings"
);
25
}
26
}
QxrdGlobalSettings::~QxrdGlobalSettings
~QxrdGlobalSettings()
Definition:
qxrdglobalsettings.cpp:21
qxrdapplication.h
qcepDebug
qint64 qcepDebug(int cond)
Definition:
qcepdebug.cpp:26
QxrdApplication
Definition:
qxrdapplication.h:27
qxrdglobalsettings.h
DEBUG_PREFS
Definition:
qcepdebug.h:13
QxrdGlobalSettings::m_Application
QxrdApplication * m_Application
Definition:
qxrdglobalsettings.h:19
QxrdApplication::printMessage
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())
Definition:
qxrdapplication.cpp:492
QcepObject
Definition:
qcepobject.h:10
qxrddebug.h
QxrdGlobalSettings::QxrdGlobalSettings
QxrdGlobalSettings(QxrdApplication *app)
Definition:
qxrdglobalsettings.cpp:6
Generated by
1.8.10