Diffstat (limited to 'noncore/apps/checkbook/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/mainwindow.h | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/noncore/apps/checkbook/mainwindow.h b/noncore/apps/checkbook/mainwindow.h index 11a3343..2bc70b3 100644 --- a/noncore/apps/checkbook/mainwindow.h +++ b/noncore/apps/checkbook/mainwindow.h @@ -31,8 +31,10 @@ #include <qmainwindow.h> +#include <qpixmap.h> +class CBInfo; +class CBInfoList; class QAction; -class QListBox; -class QListBoxItem; +class QListView; class QString; @@ -46,9 +48,22 @@ class MainWindow : public QMainWindow private: - QListBox *cbList; - QString cbDir; - QAction *actionOpen; - QAction *actionDelete; - QString currencySymbol; + QListView *cbList; + QString cbDir; + QAction *actionOpen; + QAction *actionDelete; + + QString currencySymbol; + bool showLocks; + bool showBalances; + int posName; + + CBInfoList *checkbooks; + QString tempFilename; + QPixmap lockIcon; + QPixmap nullIcon; + + void buildList(); + void addCheckbook( CBInfo * ); + void buildFilename( const QString & ); private slots: @@ -56,4 +71,5 @@ class MainWindow : public QMainWindow void slotEdit(); void slotDelete(); + void slotConfigure(); }; |