00001 #ifndef QLABTABULARREPORTBASE_H 00002 #define QLABTABULARREPORTBASE_H 00003 00004 #include <qobject.h> 00005 #include <qvariant.h> 00006 00007 typedef struct { 00008 00009 } ColumnInfo ; 00010 00011 class Q_EXPORT QlabTabularReportBase : public QObject 00012 { 00013 Q_OBJECT ; 00014 00015 public : 00016 QlabTabularReportBase( ) 00017 00018 00019 public slots : 00020 QString table() const ; 00021 void setTable( const QString & tbl ) ; 00022 00023 QString reportName() const ; 00024 void setReportName( const QString & rname ) ; 00025 00026 QString reportTitle() const ; 00027 void setReportTitle( const QString & title ) ; 00028 00029 void addSection( const QString & secname ) ; 00030 00031 protected : 00032 00033 00034 protected slots : 00035 00036 private : 00037 QMap <QString, QVariant> reportInfo ; 00038 00039 } ; 00040 00041 00042 #endif // QLABTABULARREPORTBASE_H