#include <ofximporterplugin.h>
Inheritance diagram for OfxImporterPlugin:


Public Member Functions | |
| OfxImporterPlugin (QObject *parent=0, const char *name=0, const QStringList &=QStringList()) | |
| ~OfxImporterPlugin () | |
| virtual QString | formatName (void) const |
| virtual QString | formatFilenameFilter (void) const |
| virtual bool | isMyFormat (const QString &filename) const |
| virtual bool | import (const QString &filename) |
| virtual QString | lastError (void) const |
| QWidget * | accountConfigTab (const MyMoneyAccount &acc, QString &name) |
| MyMoneyKeyValueContainer | onlineBankingSettings (const MyMoneyKeyValueContainer ¤t) |
| const MyMoneyAccount & | account (const QString &key, const QString &value) const |
| void | protocols (QStringList &protocolList) const |
| bool | mapAccount (const MyMoneyAccount &acc, MyMoneyKeyValueContainer &settings) |
| bool | updateAccount (const MyMoneyAccount &acc) |
Protected Slots | |
| void | slotImportFile (void) |
| void | slotImportFile (const QString &url) |
Protected Member Functions | |
| void | createActions (void) |
| void | addnew (void) |
| MyMoneyStatement & | back (void) |
| bool | isValid (void) const |
| void | setValid (void) |
| void | addInfo (const QString &_msg) |
| void | addWarning (const QString &_msg) |
| void | addError (const QString &_msg) |
| const QStringList & | infos (void) const |
| const QStringList & | warnings (void) const |
| const QStringList & | errors (void) const |
| bool | storeStatements (QValueList< MyMoneyStatement > &statements) |
| bool | importStatement (const MyMoneyStatement &s) |
Static Protected Member Functions | |
| static int | ofxTransactionCallback (struct OfxTransactionData, void *) |
| static int | ofxStatementCallback (struct OfxStatementData, void *) |
| static int | ofxAccountCallback (struct OfxAccountData, void *) |
| static int | ofxStatusCallback (struct OfxStatusData, void *) |
| static int | ofxSecurityCallback (struct OfxSecurityData, void *) |
Private Attributes | |
| bool | m_valid |
| QValueList< MyMoneyStatement > | m_statementlist |
| QValueList< MyMoneyStatement::Security > | m_securitylist |
| QString | m_fatalerror |
| QStringList | m_infos |
| QStringList | m_warnings |
| QStringList | m_errors |
| KOnlineBankingStatus * | m_statusDlg |
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
This method returns a pointer to a widget representing an additional tab that will be added to the KNewAccountDlg. The string referenced with tabName will be filled with the text that should be placed on the tab. It should return 0 if no additional tab is needed. Information about the account can be taken out of account. Once the pointer to the widget is returned to KMyMoney, it takes care of destruction of all included widgets when the dialog is closed. The plugin can access the widgets created after the call to storeConfigParameters() happened. Implements KMyMoneyPlugin::OnlinePlugin. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method returns the filename filter suitable for passing to KFileDialog::setFilter(), e.g. "*.ofx *.qfx" which describes how files of this format are likely to be named in the file system
Implements KMyMoneyPlugin::ImporterPlugin. |
|
|
This method returns the english-language name of the format this plugin imports, e.g. "OFX"
Implements KMyMoneyPlugin::ImporterPlugin. |
|
|
Import a file
Implements KMyMoneyPlugin::ImporterPlugin. |
|
|
|
|
|
|
|
|
This method returns whether this plugin is able to import a particular file.
Implements KMyMoneyPlugin::ImporterPlugin. |
|
|
|
|
|
Returns the error result of the last import
Implements KMyMoneyPlugin::ImporterPlugin. |
|
||||||||||||
|
This method is called by the framework when the user wants to map a KMyMoney account onto an online account. The KMyMoney account is identified by acc and the online provider should store its data in onlineBankingSettings upon success.
Implements KMyMoneyPlugin::OnlinePlugin. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
This method is called by the framework whenever it is time to store the configuration data maintained by the plugin. The plugin should use the widgets created in accountConfigTab() to extract the current values.
Implements KMyMoneyPlugin::OnlinePlugin. |
|
|
Implements KMyMoneyPlugin::OnlinePlugin. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method is called by the framework when the user wants to update a KMyMoney account with data from an online account. The KMyMoney account is identified by acc. The online provider should read its data from acc.onlineBankingSettings(). true is returned upon success.
Implements KMyMoneyPlugin::OnlinePlugin. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1