From 7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 04 Nov 2004 10:33:04 +0000 Subject: opie-qashmoney is now unsupported --- (limited to 'noncore/apps/qashmoney/newtransaction.h') diff --git a/noncore/apps/qashmoney/newtransaction.h b/noncore/apps/qashmoney/newtransaction.h deleted file mode 100755 index db3a5ad..0000000 --- a/noncore/apps/qashmoney/newtransaction.h +++ b/dev/null @@ -1,96 +0,0 @@ -#ifndef NEWTRANSACTION_H -#define NEWTRANSACTION_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "transaction.h" -#include "preferences.h" - -class NewTransaction : public QDialog -{ - Q_OBJECT - - public: - - int year, month, day; - - NewTransaction ( QWidget* parent ); - ~NewTransaction(); - - QLabel *namelabel; - QHBox *transactionnamebox; - QComboBox* transactionname; - QPushButton* descriptionbutton; - - QLabel *amountlabel; - QHBox *transactionamountbox; - QLineEdit* transactionamount; - QPushButton* calculatorbutton; - - QLabel *datelabel; - QHBox *transactiondatebox; - QLineEdit* transactiondate; - QPushButton* datebutton; - - QCheckBox *clearedcheckbox; - - QLabel *numberlabel; - QLineEdit *transactionnumber; - - QLabel *budgetlabel; - QComboBox *budgetbox; - - QLabel *lineitemlabel; - QComboBox *lineitembox; - - QCheckBox *depositbox; - - QGridLayout *layout; - - int getDay (); - int getMonth (); - int getYear (); - QString getDescription (); - void setDescription ( QString ); - void setComboBoxes ( int, int ); - - // When a user edits an transaction and edits the date, this flag - // is set to TRUE adding the new date to the transaction. Otherwise, - // the old date is used for the edited transaction. This prevents a date - // from reverting to 0/0/0 if the date is not edited - bool getDateEdited (); - - public slots: - - void showCalculator(); - void showCalendar (); - void addTransactionDescription (); - int getNameIndex ( QString name ); - int getCurrentBudget (); - int getCurrentLineItem (); - int getBudgetIndex ( int budgetid ); - int getLineItemIndex ( int lineitemid ); - void setLineItems (); - - private slots: - void setCurrentBudget ( int index ); - void setCurrentLineItem ( int index ); - - private: - bool dateedited; - int index, currentbudget, currentlineitem; - QString transactiondescription; - QStringList *budgetnameslist, *budgetidslist; - QStringList lineitemslist, lineitemidslist; - -}; - -#endif -- cgit v0.9.0.2