summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/memory.h
authormickeyl <mickeyl>2004-11-04 10:33:04 (UTC)
committer mickeyl <mickeyl>2004-11-04 10:33:04 (UTC)
commit7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77 (patch) (unidiff)
treee76604c6af3da9c19b69dcdcf8105d58bac63f71 /noncore/apps/qashmoney/memory.h
parentcd2d50799e087fad5b56df9d7fe9aa572a313e64 (diff)
downloadopie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.zip
opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.gz
opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.bz2
opie-qashmoney is now unsupported
Diffstat (limited to 'noncore/apps/qashmoney/memory.h') (more/less context) (show whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/memory.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/noncore/apps/qashmoney/memory.h b/noncore/apps/qashmoney/memory.h
deleted file mode 100755
index 6e8ae46..0000000
--- a/noncore/apps/qashmoney/memory.h
+++ b/dev/null
@@ -1,45 +0,0 @@
1#ifndef MEMORY_H
2#define MEMORY_H
3
4#include <qstring.h>
5#include <qlistbox.h>
6#include <qcombobox.h>
7#include <sqlite3.h>
8
9class Memory : public QObject
10 {
11
12 Q_OBJECT
13
14 public:
15
16 Memory ();
17 ~Memory ();
18
19 // This function adds a new memory to the database. It takes the memory name, parent,
20 // initial balance, a displayed variable, and the memory type
21 // The parent is an integer memory id. Its -1 if there is not parent
22 // The memory types are 0=not defined 1=parent 2=child
23 void addMemoryItem ( QString );
24
25 // Returns the number of checking memorys
26 int getNumberOfMemoryItems ();
27
28 void changeMemoryName ( QString );
29
30 // This takes a QListView and puts parents and children memorys
31 // into the list view
32 void displayMemoryItems ( QListBox * );
33 void displayMemoryItems ( QComboBox * );
34
35 // The primary database that stores all our data
36 sqlite3 *db;
37
38 public slots:
39
40 // Deletes a memory item. Takes the memoryid as its parameter
41 void deleteMemoryItem ( QString );
42 };
43
44#endif
45