00001 /*************************************************************************** 00002 objectinfotable.h 00003 ------------------- 00004 begin : Sat 28 jun 2008 00005 copyright : (C) 2004-2005 by Ace Jones 00006 2008 by Alvaro Soliverez 00007 email : acejones@users.sourceforge.net 00008 asoliverez@gmail.com 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * (at your option) any later version. * 00017 * * 00018 ***************************************************************************/ 00019 00020 #ifndef OBJECTINFOTABLE_H 00021 #define OBJECTINFOTABLE_H 00022 00023 // ---------------------------------------------------------------------------- 00024 // QT Includes 00025 00026 #include <qstringlist.h> 00027 00028 // ---------------------------------------------------------------------------- 00029 // KDE Includes 00030 00031 // ---------------------------------------------------------------------------- 00032 // Project Includes 00033 00034 #include "../mymoney/mymoneyreport.h" 00035 #include "listtable.h" 00036 00037 namespace reports { 00038 00039 class ReportAccount; 00040 00054 class ObjectInfoTable : public ListTable 00055 { 00056 public: 00057 ObjectInfoTable ( const MyMoneyReport& ); 00058 void init ( void ); 00059 00060 protected: 00061 void constructScheduleTable ( void ); 00062 void constructAccountTable ( void ); 00063 void constructAccountLoanTable ( void ); 00064 00065 private: 00070 MyMoneyMoney investmentBalance(const MyMoneyAccount& acc); 00071 }; 00072 00073 } 00074 00075 #endif // QUERYREPORT_H