#include <Setting.h>
Public Member Functions | |
Setting () | |
~Setting () | |
void | getData (QString &, QString &) |
double | getDouble (QString &) |
int | getInt (QString &) |
void | setData (QString &, QString &) |
void | getKeyList (QStringList &) |
void | remove (QString &) |
void | getString (QString &) |
void | parse (QString &) |
void | clear () |
int | count () |
void | copy (Setting *) |
Protected Attributes | |
QDict< QString > | dict |
Definition at line 29 of file Setting.h.
Setting::Setting | ( | ) |
Setting::~Setting | ( | ) |
Definition at line 30 of file Setting.cpp.
void Setting::getData | ( | QString & | k, | |
QString & | d | |||
) |
Definition at line 34 of file Setting.cpp.
References dict.
Referenced by TALIB::calculate(), StocksDialog::createFundamentalsPage(), CUS::includeCUS(), TALIB::indicatorPrefDialog(), QtstalkerApp::loadChart(), NYBOT::parse(), CSV::parse(), CME::parse(), Yahoo::parseFundamental(), Yahoo::parseHistory(), Yahoo::parseQuote(), IndicatorPlugin::saveFile(), UpgradeMessage::saveHeaderData(), VOL::setIndicatorSettings(), VIDYA::setIndicatorSettings(), VFI::setIndicatorSettings(), THERM::setIndicatorSettings(), SZ::setIndicatorSettings(), SINWAV::setIndicatorSettings(), PP::setIndicatorSettings(), LOWPASS::setIndicatorSettings(), LMS::setIndicatorSettings(), FI::setIndicatorSettings(), ExScript::setIndicatorSettings(), CUS::setIndicatorSettings(), BARS::setIndicatorSettings(), QtstalkerApp::slotSaveCO(), QtstalkerApp::slotUpdateInfo(), Yahoo::startDownload(), and Yahoo::timeoutError().
double Setting::getDouble | ( | QString & | k | ) |
Definition at line 42 of file Setting.cpp.
References dict.
Referenced by TALIB::calculate(), SYMBOL::getSYMBOL(), TALIB::indicatorPrefDialog(), and CSV::parse().
int Setting::getInt | ( | QString & | k | ) |
Definition at line 51 of file Setting.cpp.
References dict.
Referenced by TALIB::calculate(), TALIB::indicatorPrefDialog(), and CSV::parse().
void Setting::setData | ( | QString & | k, | |
QString & | d | |||
) |
Definition at line 60 of file Setting.cpp.
References dict.
Referenced by copy(), CSV::getDate(), VOL::getIndicatorSettings(), VIDYA::getIndicatorSettings(), VFI::getIndicatorSettings(), THERM::getIndicatorSettings(), TALIB::getIndicatorSettings(), SZ::getIndicatorSettings(), SINWAV::getIndicatorSettings(), PP::getIndicatorSettings(), LOWPASS::getIndicatorSettings(), LMS::getIndicatorSettings(), FI::getIndicatorSettings(), ExScript::getIndicatorSettings(), CUS::getIndicatorSettings(), BARS::getIndicatorSettings(), PlotLine::getInfo(), IndicatorPlot::getInfo(), SYMBOL::getSYMBOL(), TALIB::indicatorPrefDialog(), IndicatorPlugin::loadFile(), IndicatorPage::newIndicator(), NYBOT::parse(), CSV::parse(), Yahoo::parseFundamental(), IndicatorSummary::run(), and UpgradeMessage::saveHeaderData().
void Setting::getKeyList | ( | QStringList & | l | ) |
Definition at line 65 of file Setting.cpp.
References dict.
Referenced by StocksDialog::createFundamentalsPage(), TALIB::indicatorPrefDialog(), IndicatorPlugin::saveFile(), and QtstalkerApp::slotUpdateInfo().
void Setting::remove | ( | QString & | k | ) |
Definition at line 73 of file Setting.cpp.
References dict.
Referenced by StocksDialog::createFundamentalsPage(), UpgradeMessage::saveHeaderData(), and QtstalkerApp::slotUpdateInfo().
void Setting::getString | ( | QString & | s | ) |
Definition at line 78 of file Setting.cpp.
References dict.
Referenced by TALIB::getIndicatorSettings(), Yahoo::parseFundamental(), and TALIB::setIndicatorSettings().
void Setting::parse | ( | QString & | d | ) |
Definition at line 91 of file Setting.cpp.
References dict.
Referenced by StocksDialog::createFundamentalsPage(), TALIB::getIndicatorSettings(), QtstalkerApp::loadChart(), UpgradeMessage::saveHeaderData(), and TALIB::setIndicatorSettings().
void Setting::clear | ( | ) |
int Setting::count | ( | ) |
Definition at line 110 of file Setting.cpp.
References dict.
Referenced by IndicatorPlot::getInfo(), CUS::includeCUS(), CSV::parse(), VOL::setIndicatorSettings(), VIDYA::setIndicatorSettings(), VFI::setIndicatorSettings(), THERM::setIndicatorSettings(), TALIB::setIndicatorSettings(), SZ::setIndicatorSettings(), SINWAV::setIndicatorSettings(), PP::setIndicatorSettings(), LOWPASS::setIndicatorSettings(), LMS::setIndicatorSettings(), FI::setIndicatorSettings(), ExScript::setIndicatorSettings(), CUS::setIndicatorSettings(), and BARS::setIndicatorSettings().
void Setting::copy | ( | Setting * | r | ) |
Definition at line 115 of file Setting.cpp.
References dict, and setData().
Referenced by IndicatorPlot::getInfo().
QDict<QString> Setting::dict [protected] |
Definition at line 47 of file Setting.h.
Referenced by clear(), copy(), count(), getData(), getDouble(), getInt(), getKeyList(), getString(), parse(), remove(), setData(), and Setting().