OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_table.h 1.14 -> 1.15

--- as_table.h   2002/12/20 17:42:10     1.14
+++ as_table.h   2003/02/21 10:12:02     1.15
@@ -34,6 +34,8 @@
 
 #include <qtable.h>
 
+#include "as_pref.h"
+
 
 class TiTable : public QTable
 {
@@ -43,15 +45,17 @@
     int  m_nSortcol;    // To track current sort column
     int  m_bSortdir;    // To track current sort direction
     bool m_bDirt;       // To track dirty and clean states
+    Preferences *m_pTiprefs; // To read current color values
 
 public:
     // Try to match QTable's default constructor with an initializer list
-    TiTable(QWidget *pParent = 0, const char *szName = 0) : QTable(pParent, szName)
+    TiTable(Preferences *pPrefs, QWidget *pParent = 0, const char *szName = 0) : QTable(pParent, szName)
     {
         this->setSortcol(0);
         this->setSortdir(true);
         this->setDirty(false);
         this->setEdition(); // Reset edition state
+        m_pTiprefs = pPrefs;
         horizontalHeader()->installEventFilter(this);
     };
 

CVSTrac 2.0.1