OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_reportpanel.h versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_reportpanel.h 1.2 -> 1.3

--- as_reportpanel.h     2003/02/18 18:27:46     1.2
+++ as_reportpanel.h     2003/02/19 18:23:16     1.3
@@ -34,8 +34,11 @@
 
 #include <qvariant.h>
 #include <qdialog.h>
+#include <qdatetime.h>
 
 
+class TiTable;
+class Preferences;
 class QVBoxLayout;
 class QHBoxLayout;
 class QGridLayout;
@@ -49,7 +52,9 @@
     Q_OBJECT
 
 public:
-    Reportpanel(QWidget *pParent = 0, const char *kszName = 0, bool bModal = true, WFlags Flags = 0);
+    Reportpanel(TiTable *pTable, Preferences *pPreferences,
+                QWidget *pParent = 0, const char *kszName = 0,
+                bool bModal = true, WFlags Flags = 0);
 //    ~Reportpanel(void); // No need to destroy widgets, because qt does it for us
 
 public:
@@ -67,6 +72,10 @@
     QHBoxLayout *m_pToolay;
     QHBoxLayout *m_pPushlay;
 
+private:
+    TiTable     *m_pReptable;
+    Preferences *m_pReprefs;
+
 protected slots:
     virtual void saveReport(void);
     virtual void textChange(void);
@@ -75,8 +84,8 @@
 
 private:
     void writeHeader(void);
-    void writeWeek(void);
-    void writeMonth(void);
+    QString getWeek(QDate Refer = QDate::currentDate());
+    QString getMonth(QDate Refer = QDate::currentDate());
 };
 
 #endif // REPORTPANEL_H

CVSTrac 2.0.1