OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_reportpanel.h 1.6 -> 1.7

--- as_reportpanel.h     2003/02/21 23:44:36     1.6
+++ as_reportpanel.h     2003/02/25 09:29:31     1.7
@@ -47,6 +47,7 @@
 class QToolButton;
 class QButtonGroup;
 class QPopupMenu;
+class QPrinter;
 
 namespace AS {
 
@@ -63,10 +64,10 @@
     QButtonGroup *m_pWeekmonthgroup;
     QToolButton  *m_pWeeklybutt;
     QToolButton  *m_pMonthlybutt;
-    QToolButton  *m_pBothbutt;
     QTextEdit    *m_pBrowser;
     QPushButton  *m_pSavebutt;
     QPushButton  *m_pDismissbutt;
+    QPushButton  *m_pPrintbutt;
 
 protected:
     QVBoxLayout *m_pFormlay;
@@ -82,16 +83,19 @@
     int          m_nMonths;
     TiTable     *m_pReptable;
     Preferences *m_pReprefs;
+#ifndef QT_NO_PRINTER
+    QPrinter    *m_pPrinter;
+#endif
 
 public slots:
     int exec(void);
 
 protected slots:
     virtual void saveReport(void);
+    virtual void printReport(void);
     virtual void textChange(void);
     virtual void reportWeeks(int nMenuid = -1);
     virtual void reportMonths(int nMenuid = -1);
-    virtual void reportBoth(int nMenuid = -1);
 
 private:
     void writeHeader(int);

CVSTrac 2.0.1