-rwxr-xr-x | noncore/apps/qashmoney/account.cpp | 2 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/accountdisplay.cpp | 2 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/budgetdisplay.cpp | 3 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/newaccount.cpp | 3 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/newtransaction.cpp | 2 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/preferencedialogs.cpp | 1 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/transactiondisplay.cpp | 3 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/transferdialog.cpp | 2 |
8 files changed, 0 insertions, 18 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,15 +1,13 @@ | |||
1 | #include "account.h" | 1 | #include "account.h" |
2 | #include "transaction.h" | ||
3 | #include "transfer.h" | ||
4 | #include "preferences.h" | 2 | #include "preferences.h" |
5 | 3 | ||
6 | #include <qpixmap.h> | 4 | #include <qpixmap.h> |
7 | #include <stdlib.h> | 5 | #include <stdlib.h> |
8 | 6 | ||
9 | extern Preferences *preferences; | 7 | extern Preferences *preferences; |
10 | 8 | ||
11 | Account::Account () | 9 | Account::Account () |
12 | { | 10 | { |
13 | adb = sqlite_open ( "qmaccounts.db", 0, NULL ); | 11 | adb = sqlite_open ( "qmaccounts.db", 0, NULL ); |
14 | } | 12 | } |
15 | 13 | ||
diff --git a/noncore/apps/qashmoney/accountdisplay.cpp b/noncore/apps/qashmoney/accountdisplay.cpp index d0ba82a..5ef5454 100755 --- a/noncore/apps/qashmoney/accountdisplay.cpp +++ b/noncore/apps/qashmoney/accountdisplay.cpp | |||
@@ -1,21 +1,19 @@ | |||
1 | #include <qdatetime.h> | ||
2 | #include <qmessagebox.h> | 1 | #include <qmessagebox.h> |
3 | #include <qheader.h> | 2 | #include <qheader.h> |
4 | 3 | ||
5 | #include "accountdisplay.h" | 4 | #include "accountdisplay.h" |
6 | #include "newaccount.h" | 5 | #include "newaccount.h" |
7 | #include "transaction.h" | 6 | #include "transaction.h" |
8 | #include "transferdialog.h" | 7 | #include "transferdialog.h" |
9 | #include "preferences.h" | ||
10 | #include "transfer.h" | 8 | #include "transfer.h" |
11 | 9 | ||
12 | extern Account *account; | 10 | extern Account *account; |
13 | extern Transaction *transaction; | 11 | extern Transaction *transaction; |
14 | extern Transfer *transfer; | 12 | extern Transfer *transfer; |
15 | extern Preferences *preferences; | 13 | extern Preferences *preferences; |
16 | 14 | ||
17 | AccountDisplay::AccountDisplay ( QWidget *parent ) : QWidget ( parent ) | 15 | AccountDisplay::AccountDisplay ( QWidget *parent ) : QWidget ( parent ) |
18 | { | 16 | { |
19 | cleared = 0; | 17 | cleared = 0; |
20 | 18 | ||
21 | firstline = new QHBox ( this ); | 19 | firstline = new QHBox ( this ); |
diff --git a/noncore/apps/qashmoney/budgetdisplay.cpp b/noncore/apps/qashmoney/budgetdisplay.cpp index 492595a..d4047bf 100755 --- a/noncore/apps/qashmoney/budgetdisplay.cpp +++ b/noncore/apps/qashmoney/budgetdisplay.cpp | |||
@@ -1,22 +1,19 @@ | |||
1 | #include <qmessagebox.h> | 1 | #include <qmessagebox.h> |
2 | #include <qheader.h> | 2 | #include <qheader.h> |
3 | #include <qfont.h> | ||
4 | #include <sqlite.h> | 3 | #include <sqlite.h> |
5 | 4 | ||
6 | #include "budgetdisplay.h" | 5 | #include "budgetdisplay.h" |
7 | #include "budget.h" | 6 | #include "budget.h" |
8 | #include "newaccount.h" | ||
9 | #include "datepicker.h" | 7 | #include "datepicker.h" |
10 | #include "preferences.h" | ||
11 | #include "transaction.h" | 8 | #include "transaction.h" |
12 | 9 | ||
13 | extern Preferences *preferences; | 10 | extern Preferences *preferences; |
14 | extern Budget *budget; | 11 | extern Budget *budget; |
15 | extern Transaction *transaction; | 12 | extern Transaction *transaction; |
16 | 13 | ||
17 | BudgetDisplay::BudgetDisplay ( QWidget *parent ) : QWidget ( parent ) | 14 | BudgetDisplay::BudgetDisplay ( QWidget *parent ) : QWidget ( parent ) |
18 | { | 15 | { |
19 | QFont font = this->font(); | 16 | QFont font = this->font(); |
20 | font.setWeight ( QFont::Bold ); | 17 | font.setWeight ( QFont::Bold ); |
21 | 18 | ||
22 | //set the default date to today | 19 | //set the default date to today |
diff --git a/noncore/apps/qashmoney/newaccount.cpp b/noncore/apps/qashmoney/newaccount.cpp index 2ad8f60..7e57a18 100755 --- a/noncore/apps/qashmoney/newaccount.cpp +++ b/noncore/apps/qashmoney/newaccount.cpp | |||
@@ -1,18 +1,15 @@ | |||
1 | #include "newaccount.h" | 1 | #include "newaccount.h" |
2 | #include "calculator.h" | 2 | #include "calculator.h" |
3 | #include "datepicker.h" | 3 | #include "datepicker.h" |
4 | #include "transaction.h" | ||
5 | #include "preferences.h" | ||
6 | #include <qdatetime.h> | ||
7 | #include <qmultilineedit.h> | 4 | #include <qmultilineedit.h> |
8 | 5 | ||
9 | extern Preferences *preferences; | 6 | extern Preferences *preferences; |
10 | 7 | ||
11 | NewAccount::NewAccount ( QWidget *parent, const char *name, bool modal ) : QDialog ( parent, name, modal ) | 8 | NewAccount::NewAccount ( QWidget *parent, const char *name, bool modal ) : QDialog ( parent, name, modal ) |
12 | { | 9 | { |
13 | accountdescription = ""; | 10 | accountdescription = ""; |
14 | dateedited = FALSE; | 11 | dateedited = FALSE; |
15 | setCaption( tr( "Account" ) ); | 12 | setCaption( tr( "Account" ) ); |
16 | 13 | ||
17 | namelabel = new QLabel ( "Account Name", this ); | 14 | namelabel = new QLabel ( "Account Name", this ); |
18 | 15 | ||
diff --git a/noncore/apps/qashmoney/newtransaction.cpp b/noncore/apps/qashmoney/newtransaction.cpp index 630a8b8..5c78139 100755 --- a/noncore/apps/qashmoney/newtransaction.cpp +++ b/noncore/apps/qashmoney/newtransaction.cpp | |||
@@ -1,19 +1,17 @@ | |||
1 | #include "newtransaction.h" | 1 | #include "newtransaction.h" |
2 | #include "calculator.h" | 2 | #include "calculator.h" |
3 | #include "datepicker.h" | 3 | #include "datepicker.h" |
4 | #include "memory.h" | ||
5 | #include "budget.h" | 4 | #include "budget.h" |
6 | 5 | ||
7 | #include <qdatetime.h> | ||
8 | #include <qmultilineedit.h> | 6 | #include <qmultilineedit.h> |
9 | 7 | ||
10 | extern Budget *budget; | 8 | extern Budget *budget; |
11 | extern Preferences *preferences; | 9 | extern Preferences *preferences; |
12 | 10 | ||
13 | NewTransaction::NewTransaction ( QWidget* parent ) : QDialog ( parent, 0, TRUE ) | 11 | NewTransaction::NewTransaction ( QWidget* parent ) : QDialog ( parent, 0, TRUE ) |
14 | { | 12 | { |
15 | transactiondescription = ""; | 13 | transactiondescription = ""; |
16 | currentlineitem = -1; | 14 | currentlineitem = -1; |
17 | currentbudget = -1; | 15 | currentbudget = -1; |
18 | dateedited = FALSE; | 16 | dateedited = FALSE; |
19 | setCaption( tr( "Transaction" ) ); | 17 | setCaption( tr( "Transaction" ) ); |
diff --git a/noncore/apps/qashmoney/preferencedialogs.cpp b/noncore/apps/qashmoney/preferencedialogs.cpp index d7c66d3..5408a5b 100755 --- a/noncore/apps/qashmoney/preferencedialogs.cpp +++ b/noncore/apps/qashmoney/preferencedialogs.cpp | |||
@@ -1,15 +1,14 @@ | |||
1 | #include "preferencedialogs.h" | 1 | #include "preferencedialogs.h" |
2 | #include "preferences.h" | 2 | #include "preferences.h" |
3 | #include <qlabel.h> | ||
4 | 3 | ||
5 | extern Preferences *preferences; | 4 | extern Preferences *preferences; |
6 | 5 | ||
7 | DatePreferences::DatePreferences ( QWidget* parent ) : QDialog ( parent, 0, TRUE ) | 6 | DatePreferences::DatePreferences ( QWidget* parent ) : QDialog ( parent, 0, TRUE ) |
8 | { | 7 | { |
9 | setCaption( tr( "Date" ) ); | 8 | setCaption( tr( "Date" ) ); |
10 | 9 | ||
11 | QLabel *datelabel = new QLabel ( "Format", this ); | 10 | QLabel *datelabel = new QLabel ( "Format", this ); |
12 | dateformat = new QComboBox ( this ); | 11 | dateformat = new QComboBox ( this ); |
13 | dateformat->setEditable ( FALSE ); | 12 | dateformat->setEditable ( FALSE ); |
14 | dateformat->insertItem ( "yyyymmdd" ); | 13 | dateformat->insertItem ( "yyyymmdd" ); |
15 | dateformat->insertItem ( "yymmdd" ); | 14 | dateformat->insertItem ( "yymmdd" ); |
diff --git a/noncore/apps/qashmoney/transactiondisplay.cpp b/noncore/apps/qashmoney/transactiondisplay.cpp index 78b8a00..474f11e 100755 --- a/noncore/apps/qashmoney/transactiondisplay.cpp +++ b/noncore/apps/qashmoney/transactiondisplay.cpp | |||
@@ -1,27 +1,24 @@ | |||
1 | #include "transactiondisplay.h" | 1 | #include "transactiondisplay.h" |
2 | #include "newtransaction.h" | 2 | #include "newtransaction.h" |
3 | #include "account.h" | 3 | #include "account.h" |
4 | #include "budget.h" | 4 | #include "budget.h" |
5 | #include "memory.h" | 5 | #include "memory.h" |
6 | #include "transfer.h" | 6 | #include "transfer.h" |
7 | #include "preferences.h" | ||
8 | #include "calculator.h" | 7 | #include "calculator.h" |
9 | #include "datepicker.h" | 8 | #include "datepicker.h" |
10 | 9 | ||
11 | #include <qdatetime.h> | ||
12 | #include <qmessagebox.h> | 10 | #include <qmessagebox.h> |
13 | #include <qheader.h> | 11 | #include <qheader.h> |
14 | #include <qmultilineedit.h> | 12 | #include <qmultilineedit.h> |
15 | #include <qdatetime.h> | ||
16 | 13 | ||
17 | extern Transaction *transaction; | 14 | extern Transaction *transaction; |
18 | extern Budget *budget; | 15 | extern Budget *budget; |
19 | extern Account *account; | 16 | extern Account *account; |
20 | extern Preferences *preferences; | 17 | extern Preferences *preferences; |
21 | extern Memory *memory; | 18 | extern Memory *memory; |
22 | extern Transfer *transfer; | 19 | extern Transfer *transfer; |
23 | 20 | ||
24 | TransactionDisplay::TransactionDisplay ( QWidget* parent ) : QWidget ( parent ) | 21 | TransactionDisplay::TransactionDisplay ( QWidget* parent ) : QWidget ( parent ) |
25 | { | 22 | { |
26 | // set transactiondisplay variables; | 23 | // set transactiondisplay variables; |
27 | accountid = 0; | 24 | accountid = 0; |
diff --git a/noncore/apps/qashmoney/transferdialog.cpp b/noncore/apps/qashmoney/transferdialog.cpp index f85c740..558abec 100755 --- a/noncore/apps/qashmoney/transferdialog.cpp +++ b/noncore/apps/qashmoney/transferdialog.cpp | |||
@@ -1,18 +1,16 @@ | |||
1 | #include "transferdialog.h" | 1 | #include "transferdialog.h" |
2 | #include "datepicker.h" | 2 | #include "datepicker.h" |
3 | #include "calculator.h" | 3 | #include "calculator.h" |
4 | 4 | ||
5 | #include <qdatetime.h> | ||
6 | #include <qfont.h> | ||
7 | 5 | ||
8 | extern Preferences *preferences; | 6 | extern Preferences *preferences; |
9 | extern Account *account; | 7 | extern Account *account; |
10 | 8 | ||
11 | TransferDialog::TransferDialog ( QWidget *parent, int fromaccountid, int toaccountid ) : QDialog ( parent, 0, TRUE ) | 9 | TransferDialog::TransferDialog ( QWidget *parent, int fromaccountid, int toaccountid ) : QDialog ( parent, 0, TRUE ) |
12 | { | 10 | { |
13 | dateedited = FALSE; | 11 | dateedited = FALSE; |
14 | setCaption ( "Transfer" ); | 12 | setCaption ( "Transfer" ); |
15 | 13 | ||
16 | fromaccountlabel = new QLabel ( "From account:", this ); | 14 | fromaccountlabel = new QLabel ( "From account:", this ); |
17 | QFont f = this->font(); | 15 | QFont f = this->font(); |
18 | f.setWeight ( QFont::Bold ); | 16 | f.setWeight ( QFont::Bold ); |