summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/memory.h
Unidiff
Diffstat (limited to 'noncore/apps/qashmoney/memory.h') (more/less context) (show whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/qashmoney/memory.h b/noncore/apps/qashmoney/memory.h
index 6f3f100..6e8ae46 100755
--- a/noncore/apps/qashmoney/memory.h
+++ b/noncore/apps/qashmoney/memory.h
@@ -1,19 +1,19 @@
1#ifndef MEMORY_H 1#ifndef MEMORY_H
2#define MEMORY_H 2#define MEMORY_H
3 3
4#include <qstring.h> 4#include <qstring.h>
5#include <qlistbox.h> 5#include <qlistbox.h>
6#include <qcombobox.h> 6#include <qcombobox.h>
7#include <sqlite.h> 7#include <sqlite3.h>
8 8
9class Memory : public QObject 9class Memory : public QObject
10 { 10 {
11 11
12 Q_OBJECT 12 Q_OBJECT
13 13
14 public: 14 public:
15 15
16 Memory (); 16 Memory ();
17 ~Memory (); 17 ~Memory ();
18 18
19 // This function adds a new memory to the database. It takes the memory name, parent, 19 // This function adds a new memory to the database. It takes the memory name, parent,
@@ -24,22 +24,22 @@ class Memory : public QObject
24 24
25 // Returns the number of checking memorys 25 // Returns the number of checking memorys
26 int getNumberOfMemoryItems (); 26 int getNumberOfMemoryItems ();
27 27
28 void changeMemoryName ( QString ); 28 void changeMemoryName ( QString );
29 29
30 // This takes a QListView and puts parents and children memorys 30 // This takes a QListView and puts parents and children memorys
31 // into the list view 31 // into the list view
32 void displayMemoryItems ( QListBox * ); 32 void displayMemoryItems ( QListBox * );
33 void displayMemoryItems ( QComboBox * ); 33 void displayMemoryItems ( QComboBox * );
34 34
35 // The primary database that stores all our data 35 // The primary database that stores all our data
36 sqlite *db; 36 sqlite3 *db;
37 37
38 public slots: 38 public slots:
39 39
40 // Deletes a memory item. Takes the memoryid as its parameter 40 // Deletes a memory item. Takes the memoryid as its parameter
41 void deleteMemoryItem ( QString ); 41 void deleteMemoryItem ( QString );
42 }; 42 };
43 43
44#endif 44#endif
45 45