#include </home/clem/local/src/opie/noncore/unsupported/qashmoney/budget.h>
Public Member Functions | |
| Budget () | |
| ~Budget () | |
| int | addBudget (QString name, int type, QString description, QString currency, int startday, int startmonth, int startyear, int endday, int endmonth, int endyear, int defaultview) |
| void | updateBudget (QString name, QString description, QString currency, int budgetid) |
| void | deleteBudget (int budgetid) |
| int | getNumberOfBudgets () |
| int | getNumberOfLineItems (int budgetid) |
| QStringList * | getBudgetNames () |
| QStringList * | getBudgetIDs () |
| QStringList | getLineItems (int budgetid) |
| QStringList | getLineItemIDs (int budgetid) |
| QString | getBudgetName (int budgetid) |
| QString | getBudgetDescription (int budgetid) |
| QString | getCurrency (int budgetid) |
| QString | getBudgetTotal (int budgetid, int viewtype) |
| int | getLastAdded () |
| int | addLineItem (int budgetid, QString lineitemname, float lineitemamount, int lineitemtype) |
| void | updateLineItem (QString lineitemname, float lineitemamount, int lineitemtype, int budgetid, int lineitemid) |
| void | displayLineItems (int budgetid, QListView *listview, int month, int year, int viewtype) |
| void | deleteLineItem (int budgetid, int lineitemid) |
| int | getLineItemTime (int budgetid, int lineitemid) |
| float | getLineItemAmount (int budgetid, int lineitemid) |
Private Attributes | |
| sqlite3 * | bdb |
|
|
Definition at line 7 of file budget.cpp. |
|
|
Definition at line 12 of file budget.cpp. References bdb. |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 17 of file budget.cpp. References QString::append(), bdb, and NULL. Referenced by BudgetDisplay::newBudget(). |
|
||||||||||||||||||||
|
Definition at line 104 of file budget.cpp. References QString::append(), bdb, NULL, and QString::number(). Referenced by BudgetDisplay::newLineItem(). |
|
|
Definition at line 33 of file budget.cpp. References QString::append(), bdb, getNumberOfBudgets(), and QString::number(). Referenced by BudgetDisplay::deleteBudget(). |
|
||||||||||||
|
Definition at line 121 of file budget.cpp. References QString::append(), bdb, and QString::number(). Referenced by BudgetDisplay::deleteLineItem(). |
|
||||||||||||||||||||||||
|
Definition at line 128 of file budget.cpp. References QString::append(), bdb, Transaction::getBudgetTotal(), NULL, QString::number(), and QString::toFloat(). Referenced by BudgetDisplay::displayLineItems(). |
|
|
Definition at line 79 of file budget.cpp. Referenced by BudgetDisplay::editBudget(). |
|
|
Definition at line 93 of file budget.cpp. References QValueList< T >::append(), bdb, and NULL. Referenced by BudgetDisplay::displayBudgetNames(), and NewTransaction::NewTransaction(). |
|
|
Definition at line 72 of file budget.cpp. Referenced by BudgetDisplay::displayBudgetNames(), and BudgetDisplay::editBudget(). |
|
|
Definition at line 60 of file budget.cpp. References QValueList< T >::append(), bdb, and NULL. Referenced by NewTransaction::NewTransaction(). |
|
||||||||||||
|
Definition at line 197 of file budget.cpp. References QString::append(), bdb, NULL, QString::number(), QString::setNum(), and QString::toFloat(). Referenced by BudgetDisplay::displayLineItems(). |
|
|
Definition at line 86 of file budget.cpp. Referenced by BudgetDisplay::displayBudgetNames(), and BudgetDisplay::editBudget(). |
|
|
Definition at line 213 of file budget.cpp. |
|
||||||||||||
|
Definition at line 188 of file budget.cpp. References QString::append(), bdb, NULL, and QString::number(). Referenced by BudgetDisplay::editLineItem(). |
|
|
Definition at line 166 of file budget.cpp. References QValueList< T >::append(), QString::append(), bdb, NULL, and QString::number(). Referenced by NewTransaction::setComboBoxes(), NewTransaction::setCurrentBudget(), and NewTransaction::setLineItems(). |
|
|
Definition at line 153 of file budget.cpp. References QValueList< T >::append(), QString::append(), bdb, NULL, and QString::number(). Referenced by NewTransaction::setComboBoxes(), NewTransaction::setCurrentBudget(), and NewTransaction::setLineItems(). |
|
||||||||||||
|
Definition at line 179 of file budget.cpp. References QString::append(), bdb, NULL, and QString::number(). Referenced by BudgetDisplay::editLineItem(). |
|
|
Definition at line 44 of file budget.cpp. Referenced by BudgetDisplay::checkBudgets(), deleteBudget(), BudgetDisplay::displayBudgetNames(), BudgetDisplay::displayLineItems(), and NewTransaction::NewTransaction(). |
|
|
Definition at line 51 of file budget.cpp. References QString::append(), bdb, NULL, and QString::number(). Referenced by BudgetDisplay::checkBudgets(). |
|
||||||||||||||||||||
|
Definition at line 28 of file budget.cpp. References bdb. Referenced by BudgetDisplay::editBudget(). |
|
||||||||||||||||||||||||
|
Definition at line 114 of file budget.cpp. References QString::append(), bdb, and QString::number(). Referenced by BudgetDisplay::editLineItem(). |
|
|
Definition at line 41 of file budget.h. Referenced by addBudget(), addLineItem(), Budget(), deleteBudget(), deleteLineItem(), displayLineItems(), getBudgetDescription(), getBudgetIDs(), getBudgetName(), getBudgetNames(), getBudgetTotal(), getCurrency(), getLastAdded(), getLineItemAmount(), getLineItemIDs(), getLineItems(), getLineItemTime(), getNumberOfBudgets(), getNumberOfLineItems(), updateBudget(), updateLineItem(), and ~Budget(). |
1.4.2