/*************************************************************************** kreportconfigurationdlg.h - description ------------------- begin : Mon Jun 21 2004 copyright : (C) 2000-2004 by Michael Edwardes email : mte@users.sourceforge.net Javier Campos Morales Felix Rodriguez John C Thomas Baumgart Kevin Tambascio Ace Jones ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef KREPORTCONFIGURATIONFILTERDLG_H #define KREPORTCONFIGURATIONFILTERDLG_H #include #include "../dialogs/kfindtransactiondlg.h" #include "../mymoney/mymoneyreport.h" #include "../mymoney/mymoneybudget.h" class kMyMoneyReportConfigTab1Decl; class kMyMoneyReportConfigTab2Decl; class kMyMoneyReportConfigTab3Decl; class kMyMoneyReportConfigTabChartDecl; class MyMoneyBudget; /** * @author Ace Jones */ class KReportConfigurationFilterDlg : public KFindTransactionDlg { TQ_OBJECT public: KReportConfigurationFilterDlg(MyMoneyReport report, TQWidget *parent = 0, const char *name = 0); ~KReportConfigurationFilterDlg(); const MyMoneyReport& getConfig(void) const { return m_currentState; } protected: kMyMoneyReportConfigTab1Decl* m_tab1; kMyMoneyReportConfigTab2Decl* m_tab2; kMyMoneyReportConfigTab3Decl* m_tab3; kMyMoneyReportConfigTabChartDecl* m_tabChart; MyMoneyReport m_initialState; MyMoneyReport m_currentState; protected slots: void slotRowTypeChanged(int); void slotColumnTypeChanged(int); void slotReset(void); void slotSearch(void); void slotShowHelp(void); /** * This is to enable/disable the check to Include Transfers based on whether Categories are filtered or not. * This is because if Categories are filtered, transfers will not be included anyway */ void slotUpdateCheckTransfers(void); virtual void slotDateChanged(void); private: TQValueVector m_budgets; }; #endif