Diffstat (limited to 'noncore/apps/qashmoney/memory.h') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/memory.h | 45 |
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 @@ -#ifndef MEMORY_H -#define MEMORY_H - -#include <qstring.h> -#include <qlistbox.h> -#include <qcombobox.h> -#include <sqlite3.h> - -class Memory : public QObject - { - - Q_OBJECT - - public: - - Memory (); - ~Memory (); - - // This function adds a new memory to the database. It takes the memory name, parent, - // initial balance, a displayed variable, and the memory type - // The parent is an integer memory id. Its -1 if there is not parent - // The memory types are 0=not defined 1=parent 2=child - void addMemoryItem ( QString ); - - // Returns the number of checking memorys - int getNumberOfMemoryItems (); - - void changeMemoryName ( QString ); - - // This takes a QListView and puts parents and children memorys - // into the list view - void displayMemoryItems ( QListBox * ); - void displayMemoryItems ( QComboBox * ); - - // The primary database that stores all our data - sqlite3 *db; - - public slots: - - // Deletes a memory item. Takes the memoryid as its parameter - void deleteMemoryItem ( QString ); - }; - -#endif - |