summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-07-18 04:51:25 (UTC)
committer llornkcor <llornkcor>2004-07-18 04:51:25 (UTC)
commit987705b1c4fac4a33b82b10ef1bac3ebdb49b1b8 (patch) (side-by-side diff)
tree0c4ff8001a9c7f190e4d9a44e5f6ca10ac5f598d
parent3d069bdbbad674fffdc3115888d5ed8fc771366c (diff)
downloadopie-987705b1c4fac4a33b82b10ef1bac3ebdb49b1b8.zip
opie-987705b1c4fac4a33b82b10ef1bac3ebdb49b1b8.tar.gz
opie-987705b1c4fac4a33b82b10ef1bac3ebdb49b1b8.tar.bz2
add qcombobox include
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/newtransaction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/newtransaction.h b/noncore/apps/qashmoney/newtransaction.h
index 4ee3b9d..db3a5ad 100755
--- a/noncore/apps/qashmoney/newtransaction.h
+++ b/noncore/apps/qashmoney/newtransaction.h
@@ -1,95 +1,96 @@
#ifndef NEWTRANSACTION_H
#define NEWTRANSACTION_H
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qcheckbox.h>
#include <qdialog.h>
#include <qlabel.h>
#include <qstringlist.h>
#include <qhbox.h>
+#include <qcombobox.h>
#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