#include <Spread.h>
Public Member Functions | |
| Spread () | |
| ~Spread () | |
| void | getHistory (BarData *, QDateTime &, QString &, QString &, int, BarData::BarLength) |
| bool | createNew (QString &path, QString &symbol) |
| bool | prefDialog (QString &fs, QString &ss) |
Protected Attributes | |
| QString | helpFile |
Definition at line 29 of file Spread.h.
| Spread::Spread | ( | ) |
Definition at line 34 of file Spread.cpp.
| Spread::~Spread | ( | ) |
Definition at line 38 of file Spread.cpp.
| void Spread::getHistory | ( | BarData * | barData, | |
| QDateTime & | startDate, | |||
| QString & | fs, | |||
| QString & | ss, | |||
| int | barRange, | |||
| BarData::BarLength | barLength | |||
| ) |
Definition at line 42 of file Spread.cpp.
References DBBase::close(), BarData::count(), Bar::getClose(), BarData::getClose(), BarData::getDate(), Bar::getDateTimeString(), DbPlugin::getHistory(), BarData::prepend(), BarData::setBarLength(), DbPlugin::setBarRange(), Bar::setClose(), Bar::setDate(), Bar::setHigh(), Bar::setLow(), and Bar::setOpen().
| bool Spread::createNew | ( | QString & | path, | |
| QString & | symbol | |||
| ) |
| bool Spread::prefDialog | ( | QString & | fs, | |
| QString & | ss | |||
| ) |
Definition at line 156 of file Spread.cpp.
References PrefDialog::addSymbolItem(), PrefDialog::createPage(), Config::DataPath, Config::getData(), PrefDialog::getSymbol(), helpFile, and PrefDialog::setHelpFile().
QString Spread::helpFile [protected] |