alkimia
8.0.3
|
#include <alkonlinequotesprofile.h>
Classes | |
class | Private |
Public Types | |
enum class | Type { Undefined , None , Alkimia4 , Alkimia5 , KMyMoney4 , KMyMoney5 , Skrooge4 , Skrooge5 , Script } |
typedef QMap< QString, AlkOnlineQuoteSource > | Map |
Public Member Functions | |
AlkOnlineQuotesProfile (const QString &name="alkimia", Type type=Type::None, const QString &ghnsConfigFile=QString()) | |
~AlkOnlineQuotesProfile () | |
QString | name () const |
QString | hotNewStuffConfigFile () const |
QString | hotNewStuffRelPath () const |
QStringList | hotNewStuffReadPath () const |
QString | hotNewStuffWriteDir () const |
QString | hotNewStuffReadFilePath (const QString &fileName) const |
QString | hotNewStuffWriteFilePath (const QString &fileName) const |
QString | kConfigFile () const |
void | setManager (AlkOnlineQuotesProfileManager *manager) |
AlkOnlineQuotesProfileManager * | manager () |
KConfig * | kConfig () const |
Type | type () |
bool | hasGHNSSupport () |
const Map | defaultQuoteSources () |
const QStringList | quoteSources () |
QString | scriptPath () |
Private Attributes | |
Private *const | d |
Definition at line 34 of file alkonlinequotesprofile.h.
typedef QMap<QString, AlkOnlineQuoteSource> AlkOnlineQuotesProfile::Map |
Definition at line 37 of file alkonlinequotesprofile.h.
|
strong |
Enumerator | |
---|---|
Undefined | |
None | |
Alkimia4 | |
Alkimia5 | |
KMyMoney4 | |
KMyMoney5 | |
Skrooge4 | |
Skrooge5 | |
Script |
Definition at line 38 of file alkonlinequotesprofile.h.
AlkOnlineQuotesProfile::AlkOnlineQuotesProfile | ( | const QString & | name = "alkimia" , |
Type | type = Type::None , |
||
const QString & | ghnsConfigFile = QString() |
||
) |
Definition at line 282 of file alkonlinequotesprofile.cpp.
References Alkimia4, Alkimia5, AlkOnlineQuotesProfile::Private::checkUpdates(), AlkOnlineQuotesProfile::Private::configPath(), d, hotNewStuffConfigFile(), KMyMoney4, KMyMoney5, AlkOnlineQuotesProfile::Private::m_config, AlkOnlineQuotesProfile::Private::m_GHNSFile, AlkOnlineQuotesProfile::Private::m_GHNSFilePath, AlkOnlineQuotesProfile::Private::m_kconfigFile, AlkOnlineQuotesProfile::Private::m_name, AlkOnlineQuotesProfile::Private::m_type, name(), and type().
AlkOnlineQuotesProfile::~AlkOnlineQuotesProfile | ( | ) |
Definition at line 307 of file alkonlinequotesprofile.cpp.
References d.
const AlkOnlineQuotesProfile::Map AlkOnlineQuotesProfile::defaultQuoteSources | ( | ) |
return available default sources of this profile
Definition at line 379 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::defaultQuoteSources().
Referenced by AlkOnlineQuoteSource::AlkOnlineQuoteSource().
bool AlkOnlineQuotesProfile::hasGHNSSupport | ( | ) |
Definition at line 374 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_GHNSFile.
Referenced by quoteSources(), AlkOnlineQuoteSource::read(), AlkOnlineQuoteSource::remove(), AlkOnlineQuotesWidget::Private::slotLoadProfile(), and AlkOnlineQuoteSource::write().
QString AlkOnlineQuotesProfile::hotNewStuffConfigFile | ( | ) | const |
Definition at line 317 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_GHNSFile.
Referenced by AlkOnlineQuotesProfile(), and AlkOnlineQuotesProfile::Private::checkUpdates().
QString AlkOnlineQuotesProfile::hotNewStuffReadFilePath | ( | const QString & | fileName | ) | const |
Definition at line 327 of file alkonlinequotesprofile.cpp.
References hotNewStuffReadPath().
Referenced by AlkOnlineQuoteSource::Private::ghnsReadFilePath().
QStringList AlkOnlineQuotesProfile::hotNewStuffReadPath | ( | ) | const |
Definition at line 342 of file alkonlinequotesprofile.cpp.
References d, AlkOnlineQuotesProfile::Private::dataReadPath(), hotNewStuffWriteDir(), and AlkOnlineQuotesProfile::Private::m_GHNSFilePath.
Referenced by hotNewStuffReadFilePath().
QString AlkOnlineQuotesProfile::hotNewStuffRelPath | ( | ) | const |
Definition at line 354 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_GHNSFilePath.
QString AlkOnlineQuotesProfile::hotNewStuffWriteDir | ( | ) | const |
Definition at line 349 of file alkonlinequotesprofile.cpp.
References d, AlkOnlineQuotesProfile::Private::dataWritePath(), and AlkOnlineQuotesProfile::Private::m_GHNSFilePath.
Referenced by hotNewStuffReadPath(), and hotNewStuffWriteFilePath().
QString AlkOnlineQuotesProfile::hotNewStuffWriteFilePath | ( | const QString & | fileName | ) | const |
Definition at line 337 of file alkonlinequotesprofile.cpp.
References hotNewStuffWriteDir().
Referenced by AlkOnlineQuoteSource::Private::ghnsWriteFilePath().
KConfig * AlkOnlineQuotesProfile::kConfig | ( | ) | const |
Definition at line 364 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_config.
Referenced by AlkOnlineQuoteSource::Private::read(), AlkOnlineQuoteSource::Private::remove(), and AlkOnlineQuoteSource::Private::write().
QString AlkOnlineQuotesProfile::kConfigFile | ( | ) | const |
Definition at line 359 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_kconfigFile.
AlkOnlineQuotesProfileManager * AlkOnlineQuotesProfile::manager | ( | ) |
Definition at line 413 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_profileManager.
Referenced by setManager().
QString AlkOnlineQuotesProfile::name | ( | ) | const |
Definition at line 312 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_name.
Referenced by AlkOnlineQuotesProfile(), AlkOnlineQuotesWidget::Private::loadProfiles(), AlkOnlineQuotesProfileManager::profile(), AlkOnlineQuotesProfileManager::profileNames(), AlkOnlineQuoteSource::setProfile(), and AlkOnlineQuotesWidget::Private::slotLoadProfile().
const QStringList AlkOnlineQuotesProfile::quoteSources | ( | ) |
return available sources of this profile
Definition at line 384 of file alkonlinequotesprofile.cpp.
References Alkimia4, Alkimia5, d, AlkOnlineQuotesProfile::Private::defaultQuoteSources(), hasGHNSSupport(), KMyMoney4, KMyMoney5, AlkOnlineQuotesProfile::Private::m_type, None, AlkOnlineQuotesProfile::Private::quoteSourcesFinanceQuote(), AlkOnlineQuotesProfile::Private::quoteSourcesGHNS(), AlkOnlineQuotesProfile::Private::quoteSourcesNative(), and Script.
Referenced by AlkOnlineQuotesWidget::resetConfig().
QString AlkOnlineQuotesProfile::scriptPath | ( | ) |
Definition at line 418 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_financeQuoteScriptPath.
void AlkOnlineQuotesProfile::setManager | ( | AlkOnlineQuotesProfileManager * | manager | ) |
Definition at line 408 of file alkonlinequotesprofile.cpp.
References d, AlkOnlineQuotesProfile::Private::m_profileManager, and manager().
Referenced by AlkOnlineQuotesProfileManager::addProfile().
AlkOnlineQuotesProfile::Type AlkOnlineQuotesProfile::type | ( | ) |
Definition at line 369 of file alkonlinequotesprofile.cpp.
References d, and AlkOnlineQuotesProfile::Private::m_type.
Referenced by AlkOnlineQuoteSource::AlkOnlineQuoteSource(), AlkOnlineQuotesProfile(), AlkOnlineQuotesProfile::Private::defaultQuoteSources(), AlkOnlineQuote::launch(), AlkOnlineQuoteSource::remove(), and AlkOnlineQuoteSource::rename().
|
private |
Definition at line 73 of file alkonlinequotesprofile.h.
Referenced by AlkOnlineQuotesProfile(), defaultQuoteSources(), hasGHNSSupport(), hotNewStuffConfigFile(), hotNewStuffReadPath(), hotNewStuffRelPath(), hotNewStuffWriteDir(), kConfig(), kConfigFile(), manager(), name(), quoteSources(), scriptPath(), setManager(), type(), and ~AlkOnlineQuotesProfile().