diff options
Diffstat (limited to 'languages/ruby/debugger/rdbtable.cpp')
-rw-r--r-- | languages/ruby/debugger/rdbtable.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/ruby/debugger/rdbtable.cpp b/languages/ruby/debugger/rdbtable.cpp index 2f470b2d..31b7b6d2 100644 --- a/languages/ruby/debugger/rdbtable.cpp +++ b/languages/ruby/debugger/rdbtable.cpp @@ -18,13 +18,13 @@ namespace RDBDebugger { -RDBTable::RDBTable(QWidget *parent, const char *name) - : QTable(parent, name) +RDBTable::RDBTable(TQWidget *parent, const char *name) + : TQTable(parent, name) { } -RDBTable::RDBTable(int nr, int nc, QWidget * parent, const char * name) - : QTable(nr, nc, parent, name) +RDBTable::RDBTable(int nr, int nc, TQWidget * parent, const char * name) + : TQTable(nr, nc, parent, name) { } @@ -32,7 +32,7 @@ RDBTable::~RDBTable() { } -void RDBTable::keyPressEvent( QKeyEvent * e ) +void RDBTable::keyPressEvent( TQKeyEvent * e ) { emit keyPressed(e->key()); @@ -40,12 +40,12 @@ void RDBTable::keyPressEvent( QKeyEvent * e ) emit returnPressed(); else if (e->key() == Key_F2) emit f2Pressed(); - else if ((e->text() == QString("a")) && (e->state() == AltButton)) + else if ((e->text() == TQString("a")) && (e->state() == AltButton)) { emit insertPressed(); return; } - else if ((e->text() == QString("A")) && (e->state() == AltButton)) + else if ((e->text() == TQString("A")) && (e->state() == AltButton)) { emit insertPressed(); return; @@ -53,7 +53,7 @@ void RDBTable::keyPressEvent( QKeyEvent * e ) else if (e->key() == Key_Delete) emit deletePressed(); - QTable::keyPressEvent(e); + TQTable::keyPressEvent(e); } } |