QXRD  0.11.16
Public Member Functions | Private Attributes | List of all members
QxrdGlobalSettings Class Reference

#include <qxrdglobalsettings.h>

Inheritance diagram for QxrdGlobalSettings:
Inheritance graph
[legend]
Collaboration diagram for QxrdGlobalSettings:
Collaboration graph
[legend]

Public Member Functions

 QxrdGlobalSettings (QxrdApplication *app)
 
 QxrdGlobalSettings (const QString &path, QSettings::Format format=QSettings::IniFormat, QcepObject *parent=0)
 
 ~QxrdGlobalSettings ()
 

Private Attributes

QxrdApplicationm_Application
 

Detailed Description

Definition at line 9 of file qxrdglobalsettings.h.

Constructor & Destructor Documentation

QxrdGlobalSettings::QxrdGlobalSettings ( QxrdApplication app)

Definition at line 6 of file qxrdglobalsettings.cpp.

References DEBUG_PREFS, m_Application, QxrdApplication::printMessage(), and qcepDebug().

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 }
qint64 qcepDebug(int cond)
Definition: qcepdebug.cpp:26
QxrdApplication * m_Application
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())

Here is the call graph for this function:

QxrdGlobalSettings::QxrdGlobalSettings ( const QString &  path,
QSettings::Format  format = QSettings::IniFormat,
QcepObject parent = 0 
)

Definition at line 15 of file qxrdglobalsettings.cpp.

16  : QSettings(path, format, parent)
17 {
18 
19 }
QxrdGlobalSettings::~QxrdGlobalSettings ( )

Definition at line 21 of file qxrdglobalsettings.cpp.

References DEBUG_PREFS, m_Application, QxrdApplication::printMessage(), and qcepDebug().

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())

Here is the call graph for this function:

Member Data Documentation

QxrdApplication* QxrdGlobalSettings::m_Application
private

Definition at line 19 of file qxrdglobalsettings.h.

Referenced by QxrdGlobalSettings(), and ~QxrdGlobalSettings().


The documentation for this class was generated from the following files: