ossp-pkg/as/as-gui/as_table.h 1.1 -> 1.2
--- as_table.h 2002/11/27 17:13:13 1.1
+++ as_table.h 2002/11/27 22:44:48 1.2
@@ -7,11 +7,15 @@
class TiTable : public QTable
{
public:
- TiTable(QWidget *pParent = 0, const char *szName = 0) : QTable(pParent, szName) {};
+ // Try to match QTable's default constructor with an initializer list
+ TiTable(QWidget *pParent = 0, const char *szName = 0) : QTable(pParent, szName) {horizontalHeader()->installEventFilter(this);};
// Deny a cell special handling of the focus rectangle
// by overriding class QTable's paintFocus method
- void TiTable::paintFocus(QPainter *, const QRect &) {};
+ void paintFocus(QPainter *, const QRect &) {};
+
+private:
+ bool eventFilter(QObject *, QEvent *);
};
#endif // TITABLE_H
|
|