Alkimia API
alkonlinequote.cpp
Hold errors reported from price quote fetching and parsing.
Definition alkonlinequote.h:46
const AlkOnlineQuoteSource & source() const
Provides the currently used online source.
Definition alkonlinequote.cpp:146
void setAcceptLanguage(const QString &language)
Set accepted language the online quote should be returned for.
Definition alkonlinequote.cpp:95
bool enableReverseLaunch()
Returns the status whether a search with swapped symbols should be performed after a query for a symb...
Definition alkonlinequote.cpp:136
void setEnableReverseLaunch(bool state)
Set the status whether a search with swapped symbole should be performed after a query for a symbol r...
Definition alkonlinequote.cpp:141
void setDateRange(const QDate &from, const QDate &to)
Defines a date range within which the data is to be retrieved.
Definition alkonlinequote.cpp:110
void setTimeout(int newTimeout)
Set timeout for fetching online quotes If the timeout is != -1, a request to retrieve online quotes w...
Definition alkonlinequote.cpp:105
int timeout() const
Return actual used timeout for fetching online quotes If the returned value is -1,...
Definition alkonlinequote.cpp:100
bool launch(const QString &_symbol, const QString &_id, const QString &_source=QString())
This launches a web-based quote update for the given _symbol.
Definition alkonlinequote.cpp:151
bool useSingleQuoteSignal()
Returns the status of whether the quote signal is always used.
Definition alkonlinequote.cpp:131
void setReturnLastPriceState(LastPriceState state)
Sets the status of the price to be returned for special date range.
Definition alkonlinequote.cpp:121
LastPriceState returnLastPriceState()
Returns the status of the price to be returned for special date ranges.
Definition alkonlinequote.cpp:116
const AlkOnlineQuote::Errors & errors()
If launch() returns false, this method can be used to get details about the errors that occurred.
Definition alkonlinequote.cpp:156
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.