diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/ruby/debugger/rdbtable.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); } } |