#include <qbanking.h>
Inheritance diagram for QBanking:
Definition at line 50 of file qbanking.h.
Public Member Functions | |
QBanking (const char *appname, const char *fname=0) | |
virtual | ~QBanking () |
int | init () |
int | fini () |
void | setAppHelpPath (const QString &s) |
virtual int | messageBox (GWEN_TYPE_UINT32 flags, const char *title, const char *text, const char *b1, const char *b2, const char *b3) |
virtual int | inputBox (GWEN_TYPE_UINT32 flags, const char *title, const char *text, char *buffer, int minLen, int maxLen) |
virtual GWEN_TYPE_UINT32 | showBox (GWEN_TYPE_UINT32 flags, const char *title, const char *text) |
virtual void | hideBox (GWEN_TYPE_UINT32 id) |
virtual GWEN_TYPE_UINT32 | progressStart (const char *title, const char *text, GWEN_TYPE_UINT32 total) |
virtual int | progressAdvance (GWEN_TYPE_UINT32 id, GWEN_TYPE_UINT32 progress) |
virtual int | progressLog (GWEN_TYPE_UINT32 id, AB_BANKING_LOGLEVEL level, const char *text) |
virtual int | progressEnd (GWEN_TYPE_UINT32 id) |
virtual int | print (const char *docTitle, const char *docType, const char *descr, const char *text) |
virtual QBFlagStaff * | flagStaff () |
void | setParentWidget (QWidget *w) |
QWidget * | getParentWidget () |
int | enqueueJob (AB_JOB *j) |
int | dequeueJob (AB_JOB *j) |
int | executeQueue (AB_IMEXPORTER_CONTEXT *ctx) |
void | setAccountAlias (AB_ACCOUNT *a, const char *alias) |
void | accountsUpdated () |
void | outboxCountChanged (int count) |
void | statusMessage (const QString &s) |
virtual void | invokeHelp (const QString &context, const QString &subject) |
virtual bool | mapAccount (const AB_ACCOUNT *a) |
bool | askMapAccount (const char *id, const char *bankCode, const char *accountId) |
virtual bool | addTransaction (const AB_ACCOUNT *a, const AB_TRANSACTION *t) |
virtual bool | setAccountStatus (const AB_ACCOUNT *a, const AB_ACCOUNT_STATUS *ast) |
bool | requestBalance (const char *accountId) |
bool | requestTransactions (const char *accountId, const QDate &fromDate, const QDate &toDate) |
virtual bool | importContext (AB_IMEXPORTER_CONTEXT *ctx, GWEN_TYPE_UINT32 flags) |
virtual bool | importAccountInfo (AB_IMEXPORTER_ACCOUNTINFO *ai, GWEN_TYPE_UINT32 flags) |
virtual bool | interactiveImport () |
virtual GWEN_TYPE_UINT32 | showBox (GWEN_TYPE_UINT32 flags, const QString &title, const QString &text) |
virtual GWEN_TYPE_UINT32 | progressStart (const QString &title, const QString &text, GWEN_TYPE_UINT32 total) |
virtual int | progressLog (GWEN_TYPE_UINT32 id, AB_BANKING_LOGLEVEL level, const QString &text) |
virtual int | print (const QString &docTitle, const QString &docType, const QString &descr, const QString &text) |
AB_BANKINFO * | selectBank (QWidget *parent=0, const QString &title=QString(""), const QString &country=QString("de"), const QString &bankCode=QString(""), const QString &swiftCode=QString(""), const QString &bankName=QString(""), const QString &location=QString("")) |
void | setupDialog (QWidget *parent=0) |
QBCfgModule * | getConfigModule (const char *modname) |
void | setAppConfigModule (QBCfgModule *mod) |
Static Public Member Functions | |
static QBANKING_API std::string | QStringToUtf8String (const QString &qs) |
static QBANKING_API std::string | guiString (const char *s) |
static QBANKING_API bool | isPure7BitAscii (const QString &s) |
Friends | |
class | QBanking_Linker |
|
|
|
|
|
|
|
|
|
|
|
Removes a job from the queue. This function does not free the given job, the caller still is the owner. Dequeued jobs however are NOT preserved across shutdowns. Reimplemented from Banking. |
|
Enqueues a job. This function does not take over the ownership of the job. However, this function makes sure that the job will not be deleted as long as it is in the queue (by calling AB_Job_Attach). So it is safe for you to call AB_Job_free on an enqueued job directly after enqueuing it (but it doesn't make much sense since you would not be able to check for a result). Reimplemented from Banking. |
|
This function sends all jobs in the queue to their corresponding backends and allows that backend to process it. If the user did not abort or there was no fatal error the queue is empty upon return. You can verify this by calling AB_Banking_GetEnqueuedJobs. Reimplemented from Banking. Reimplemented in KBanking. |
|
See AB_Banking_Fini Reimplemented from Banking. Reimplemented in KBanking. |
|
Reimplemented in KBanking. |
|
This function makes sure that the configuration module with the given name is available. It loads the appropriate plugin on demand. You MUST NOT delete the pointer returned (if any).
|
|
|
|
Convenience function for extracting the GUI part of the HTML/cleartext-combi-strings from aqbanking, adapted to strings for QT gui widgets. If the given string contains a <html>html-part...</html> section, then the "html-part" section will be returned with enclosing <qt>...</qt> tags plus potentially some whitespace around those. If the given string does not contain a section like this, then the string will be returned unchanged. |
|
Reimplemented from Banking. |
|
Reimplemented in KBanking. |
|
Let the application import a given statement context. Reimplemented from Banking. Reimplemented in KBanking. |
|
See AB_Banking_Init Reimplemented from Banking. Reimplemented in KBanking. |
|
Reimplemented from Banking. |
|
|
|
|
|
Convenience function that returns true if the given string consists of pure 7-bit ASCII characters, and false otherwise. In particular, if the given string contains Umlauts, accents, or similar, then this will return false. |
|
|
|
Reimplemented from Banking. |
|
|
|
This function makes the application print something. This is a wrapper around the print() with "const char*" which is the implementation of AB_Banking_Print(); see there for arguments. Note: Make sure all arguments passed here are really a QString! If any argument is a "const char*" (e. g. simply a string constant), then especially QT-4 will complain about an ambiguity between the "const char*"-print() and this one. |
|
This function makes the application print something. This is the implementation of AB_Banking_Print(); see there for arguments. Note: all string arguments must be in UTF-8 encoding. Reimplemented from Banking. |
|
Advances the progress bar an application might present to the user.
Reimplemented from Banking. |
|
Reimplemented from Banking. |
|
|
|
Reimplemented from Banking. |
|
|
|
Reimplemented from Banking. |
|
Convenience function to convert a QString into a std::string that will contain UTF-8 encoded characters, as necessary when passing strings into aqbanking. Watch out with the correct encodings! String passed into and out of aqbanking are expected in UTF-8, but NOT in Latin-1 or similar! |
|
|
|
|
|
Opens a dialog which asks the user for a bank. This bank can be selected using the bank code (also called sort code in some countries), the SWIFT code (so called BIC), bank name and/or location of the bank. This dialog also contains a list of matching banks which is updated while the user enters data. If any of the parameters contains a value those values will be used to preset the bank list of the dialog widget.
|
|
|
|
|
|
Sets the configuration module of the application. The caller remains the owner of the module. |
|
|
|
|
|
|
|
|
|
Reimplemented from Banking. |
|
|
|
Definition at line 51 of file qbanking.h. |