summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/account.cpp
authorchicken <chicken>2004-03-01 19:44:43 (UTC)
committer chicken <chicken>2004-03-01 19:44:43 (UTC)
commit18ea562480a63f504f4dc8e3f46c1db9d2cd6276 (patch) (side-by-side diff)
treede22b70f1da5adeb072f0c30517bd92e9c7a839b /noncore/apps/qashmoney/account.cpp
parent8ac7ec5e055dacd8c92d5a28336257cfe3e716e5 (diff)
downloadopie-18ea562480a63f504f4dc8e3f46c1db9d2cd6276.zip
opie-18ea562480a63f504f4dc8e3f46c1db9d2cd6276.tar.gz
opie-18ea562480a63f504f4dc8e3f46c1db9d2cd6276.tar.bz2
fix includes
Diffstat (limited to 'noncore/apps/qashmoney/account.cpp') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/account.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/apps/qashmoney/account.cpp b/noncore/apps/qashmoney/account.cpp
index 181be23..f21598e 100755
--- a/noncore/apps/qashmoney/account.cpp
+++ b/noncore/apps/qashmoney/account.cpp
@@ -1,27 +1,25 @@
#include "account.h"
-#include "transaction.h"
-#include "transfer.h"
#include "preferences.h"
#include <qpixmap.h>
#include <stdlib.h>
extern Preferences *preferences;
Account::Account ()
{
adb = sqlite_open ( "qmaccounts.db", 0, NULL );
}
Account::~Account ()
{
sqlite_close ( adb );
}
void Account::addAccount ( QString name, int parentid, float balance, int type, QString description, float creditlimit,
int statementyear, int statementmonth, int statementday, float statementbalance, const char *currency )
{
sqlite_exec_printf ( adb, "insert into accounts2 values ( '%q', %i, %.2f, %i, '%q', %.2f, %i, %i, %i, %.2f, '%q', 0, 0, 0, 0, 0, NULL );", 0, 0, 0,
(const char *) name, parentid, balance, type, (const char *) description, creditlimit, statementyear, statementmonth, statementday, statementbalance, currency );
}