Spread Class Reference

#include <Spread.h>

List of all members.

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

Detailed Description

Definition at line 29 of file Spread.h.

Constructor & Destructor Documentation

Spread::Spread (  ) 

Definition at line 34 of file Spread.cpp.

Spread::~Spread (  ) 

Definition at line 38 of file Spread.cpp.

Member Function Documentation

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 

Definition at line 115 of file Spread.cpp.

References Config::DataPath, and Config::getData().

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

Member Data Documentation

QString Spread::helpFile [protected]

Definition at line 40 of file Spread.h.

Referenced by prefDialog().

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