OSSP CVS Repository

ossp - Check-in [2910]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2910
Date: 2002-Nov-27 18:13:13 (local)
2002-Nov-27 17:13:13 (UTC)
User:ms
Branch:
Comment: Really add the class this time, and fix a syntax error.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_assist.cpp      1.30 -> 1.31     1 inserted, 1 deleted
ossp-pkg/as/as-gui/as_table.h      added-> 1.1
ossp-pkg/titraq/titable.h      added-> 1.1
ossp-pkg/titraq/titassist.cpp      1.30 -> 1.31     1 inserted, 1 deleted

ossp-pkg/as/as-gui/as_assist.cpp 1.30 -> 1.31

--- as_assist.cpp        2002/11/27 17:11:06     1.30
+++ as_assist.cpp        2002/11/27 17:13:13     1.31
@@ -397,7 +397,7 @@
 void Titraqform::setupTable(void)
 {
     // The table itself
-    m_pMaintable = new Titable(m_pCenframe, "Maintable");
+    m_pMaintable = new TiTable(m_pCenframe, "Maintable");
     if (m_pMaintable == NULL)   // Sanity check
         throw Genexcept("Main window table creation failed.");
     m_pMaintable->setNumCols(g_knCols);


ossp-pkg/as/as-gui/as_table.h -> 1.1

*** /dev/null    Fri May 17 03:22:11 2024
--- -    Fri May 17 03:27:55 2024
***************
*** 0 ****
--- 1,17 ----
+ #ifndef TITABLE_H
+ #define TITABLE_H
+ 
+ #include <qtable.h>
+ 
+ 
+ class TiTable : public QTable
+ {
+ public:
+     TiTable(QWidget *pParent = 0, const char *szName = 0) : QTable(pParent, szName) {};
+ 
+     // Deny a cell special handling of the focus rectangle
+     // by overriding class QTable's paintFocus method
+     void TiTable::paintFocus(QPainter *, const QRect &) {};
+ };
+ 
+ #endif // TITABLE_H



CVSTrac 2.0.1