author | harlekin <harlekin> | 2002-07-05 13:00:41 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-05 13:00:41 (UTC) |
commit | 60238d4e9781ad18475a3b45bceaad1d30ea1b8b (patch) (side-by-side diff) | |
tree | f4aac0b3daab54d8cb004879a91c51fd1f619a55 /noncore/apps/checkbook/qcheckview.h | |
parent | a332e5e111b0c9ef8eb0836876a4ff386c660514 (diff) | |
download | opie-60238d4e9781ad18475a3b45bceaad1d30ea1b8b.zip opie-60238d4e9781ad18475a3b45bceaad1d30ea1b8b.tar.gz opie-60238d4e9781ad18475a3b45bceaad1d30ea1b8b.tar.bz2 |
spendings tracking app by Nick Betcher (who quit qte development .-( )
Diffstat (limited to 'noncore/apps/checkbook/qcheckview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/qcheckview.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/qcheckview.h b/noncore/apps/checkbook/qcheckview.h new file mode 100644 index 0000000..840dc8b --- a/dev/null +++ b/noncore/apps/checkbook/qcheckview.h @@ -0,0 +1,33 @@ +#include "qcheckviewbase.h" +#include "qrestrictedline.h" +#include "qcheckentry.h" +#include "qcheckdetails.h" + +#include <qstring.h> +#include "config.h" +#include <qtable.h> +#include <qpoint.h> +#include <qlayout.h> + +class QCheckView : public QCheckViewBase +{ + Q_OBJECT + public: + QCheckView(QWidget *, QString filename); + void load(const QString filename); + private: + Config *config; + QString calculator(QString largervalue, QString smallervalue, bool subtract); + int lastSortCol; + bool ascend; + QCheckDetails *qcd; + QString m_filename; + private slots: +// void entryActivated(int); + void newClicked(); + void tableClicked(int, int, int, const QPoint &mousePos); + void editClicked(int, int); + void deleteClicked(int, int); + signals: + void reload(const QString &filename); +}; |