summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/kvoctraintable.h
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/kvoctraintable.h')
-rw-r--r--kvoctrain/kvoctrain/kvoctraintable.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kvoctrain/kvoctrain/kvoctraintable.h b/kvoctrain/kvoctrain/kvoctraintable.h
index 77fffa77..5bd84d06 100644
--- a/kvoctrain/kvoctrain/kvoctraintable.h
+++ b/kvoctrain/kvoctrain/kvoctraintable.h
@@ -37,12 +37,13 @@
/**
@author Peter Hedlund
*/
-class KVocTrainTable : public QTable
+class KVocTrainTable : public TQTable
{
Q_OBJECT
+ TQ_OBJECT
public:
public:
- KVocTrainTable( kvoctrainDoc *_doc, const LangSet *ls, TQWidget *parent = NULL, const char *name = NULL );
+ KVocTrainTable( kvoctrainDoc *_doc, const LangSet *ls, TQWidget *tqparent = NULL, const char *name = NULL );
friend class kvoctrainView;
@@ -80,8 +81,8 @@ public:
protected:
int current;
- //TQWidget* beginEdit(int row, int col, bool replace);
- //void endEdit(int row, int col, bool accept, bool replace);
+ //TQWidget* beginEdit(int row, int col, bool tqreplace);
+ //void endEdit(int row, int col, bool accept, bool tqreplace);
void paintCell(TQPainter *p, int row, int col, const TQRect &cr, bool selected, const TQColorGroup &cg);
void setItem(int row, int col, TQTableItem * item);
TQTableItem* item (int row, int col) const;