00001 /*************************************************************************** 00002 reporttable.h 00003 ------------------- 00004 begin : Mon May 7 2007 00005 copyright : (C) 2007 Thomas Baumgart 00006 email : Thomas Baumgart <ipwizard@users.sourceforge.net> 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef REPORTTABLE_H 00019 #define REPORTTABLE_H 00020 00021 // ---------------------------------------------------------------------------- 00022 // QT Includes 00023 00024 // ---------------------------------------------------------------------------- 00025 // KDE Includes 00026 00027 // ---------------------------------------------------------------------------- 00028 // Project Includes 00029 00030 00031 namespace reports { 00032 00033 class KReportChartView; 00034 00039 class ReportTable 00040 { 00041 protected: 00042 ReportTable() {} 00043 public: 00044 virtual ~ReportTable() {} 00045 virtual QString renderHTML(void) const = 0; 00046 virtual QString renderCSV(void) const = 0; 00047 virtual void drawChart(KReportChartView& view) const = 0; 00048 virtual void dump(const QString& file, const QString& context=QString()) const = 0; 00049 }; 00050 00051 } 00052 #endif 00053 // REPORTTABLE_H 00054 // vim:cin:si:ai:et:ts=2:sw=2: