qavrg 0.0.28
Public Member Functions | Static Public Member Functions
QavrgSettings Class Reference

#include <qavrgsettings.h>

List of all members.

Public Member Functions

 QavrgSettings ()
 QavrgSettings (QString filePath)

Static Public Member Functions

static QDir settingsDirectory ()

Detailed Description

Definition at line 7 of file qavrgsettings.h.


Constructor & Destructor Documentation

QavrgSettings::QavrgSettings ( )

Definition at line 3 of file qavrgsettings.cpp.

  : QSettings()
{
}
QavrgSettings::QavrgSettings ( QString  filePath)

Definition at line 8 of file qavrgsettings.cpp.

  : QSettings(filePath, QSettings::IniFormat)
{
}

Member Function Documentation

QDir QavrgSettings::settingsDirectory ( ) [static]

Definition at line 13 of file qavrgsettings.cpp.

Referenced by QavrgFitter::darkDataPath(), and QavrgFitter::referenceDataPath().

{
  QDir d = QDir::home();

  d.mkpath(".qavrg");

  return QDir(d.filePath(".qavrg"));
}

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