From 6b0cf55d6252a256d9fc5bcb89837bec7f21f40d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 7 Nov 2023 19:27:29 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- languages/ruby/debugger/dbgpsdlg.cpp | 2 +- languages/ruby/debugger/dbgtoolbar.cpp | 6 +++--- languages/ruby/debugger/debuggee.rb | 2 +- languages/ruby/debugger/rdbbreakpointwidget.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'languages/ruby/debugger') diff --git a/languages/ruby/debugger/dbgpsdlg.cpp b/languages/ruby/debugger/dbgpsdlg.cpp index 2aa67f51..b012f0be 100644 --- a/languages/ruby/debugger/dbgpsdlg.cpp +++ b/languages/ruby/debugger/dbgpsdlg.cpp @@ -71,7 +71,7 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name) topLayout->addWidget(pids_, 5); pids_->setFont(TDEGlobalSettings::fixedFont()); - KButtonBox *buttonbox = new KButtonBox(this, Qt::Horizontal, 5); + KButtonBox *buttonbox = new KButtonBox(this, TQt::Horizontal, 5); TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok()); buttonbox->addStretch(); TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel()); diff --git a/languages/ruby/debugger/dbgtoolbar.cpp b/languages/ruby/debugger/dbgtoolbar.cpp index 670ee9b4..07c0b415 100644 --- a/languages/ruby/debugger/dbgtoolbar.cpp +++ b/languages/ruby/debugger/dbgtoolbar.cpp @@ -113,7 +113,7 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e) if (moving_) return; - if (e->button() == Qt::RightButton) { + if (e->button() == TQt::RightButton) { TDEPopupMenu *menu = new TDEPopupMenu(this); menu->insertTitle(i18n("Debug Toolbar")); menu->insertItem(i18n("Dock to Panel"), @@ -232,13 +232,13 @@ void DbgDocker::mousePressEvent(TQMouseEvent *e) return; switch (e->button()) { - case Qt::LeftButton: + case TQt::LeftButton: { // Not really a click, but it'll hold for the time being !!! emit clicked(); break; } - case Qt::RightButton: + case TQt::RightButton: { TDEPopupMenu* menu = new TDEPopupMenu(this); menu->insertTitle(i18n("Debug Toolbar")); diff --git a/languages/ruby/debugger/debuggee.rb b/languages/ruby/debugger/debuggee.rb index 38e2dea7..75491f7d 100644 --- a/languages/ruby/debugger/debuggee.rb +++ b/languages/ruby/debugger/debuggee.rb @@ -269,7 +269,7 @@ class Context for c in ary str = debug_inspect(obj.module_eval(c)) if c.to_s != str && - str !~ /^Qt::|^KDE::/ && c.to_s !~ /@@classes$|@@cpp_names$|@@idclass$|@@debug_level$/ && + str !~ /^TQt::|^KDE::/ && c.to_s !~ /@@classes$|@@cpp_names$|@@idclass$|@@debug_level$/ && c.to_s !~ /^DCOPMeta$|^Meta$|SCRIPT_LINES__|TRUE|FALSE|NIL|MatchingData/ && c.to_s !~ /^PLATFORM$|^RELEASE_DATE$|^VERSION$|SilentClient|SilentObject/ && c.to_s !~ /^Client$|^Context$|^DEBUG_LAST_CMD$|^MUTEX$|^Mutex$|^SimpleDelegater$|^Delegater$/ && diff --git a/languages/ruby/debugger/rdbbreakpointwidget.cpp b/languages/ruby/debugger/rdbbreakpointwidget.cpp index f8e86ad7..0c1fea0b 100644 --- a/languages/ruby/debugger/rdbbreakpointwidget.cpp +++ b/languages/ruby/debugger/rdbbreakpointwidget.cpp @@ -634,7 +634,7 @@ void RDBBreakpointWidget::slotRemoveAllBreakpoints() void RDBBreakpointWidget::slotRowDoubleClicked(int row, int col, int btn, const TQPoint &) { - if ( btn == Qt::LeftButton ) + if ( btn == TQt::LeftButton ) { // kdDebug(9012) << "in slotRowSelected row=" << row << endl; BreakpointTableRow* btr = (BreakpointTableRow *) m_table->item(row, Control); -- cgit v1.2.1