From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/debugger/debuggertracingdialog.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'languages/cpp/debugger/debuggertracingdialog.cpp') diff --git a/languages/cpp/debugger/debuggertracingdialog.cpp b/languages/cpp/debugger/debuggertracingdialog.cpp index 217f0b88..41eb7896 100644 --- a/languages/cpp/debugger/debuggertracingdialog.cpp +++ b/languages/cpp/debugger/debuggertracingdialog.cpp @@ -2,9 +2,9 @@ #include "debuggertracingdialog.h" #include "breakpoint.h" -#include -#include -#include +#include +#include +#include #include #include #include @@ -14,16 +14,16 @@ namespace GDBDebugger DebuggerTracingDialog ::DebuggerTracingDialog(Breakpoint* bp, - QWidget* parent, const char* name) + TQWidget* parent, const char* name) : DebuggerTracingDialogBase(parent, name), bp_(bp) { expressions->setButtons(KEditListBox::Add | KEditListBox::Remove); - connect(enable, SIGNAL(stateChanged(int)), - this, SLOT(enableOrDisable(int))); + connect(enable, TQT_SIGNAL(stateChanged(int)), + this, TQT_SLOT(enableOrDisable(int))); - connect(enableCustomFormat, SIGNAL(stateChanged(int)), - this, SLOT(enableOrDisableCustomFormat(int))); + connect(enableCustomFormat, TQT_SIGNAL(stateChanged(int)), + this, TQT_SLOT(enableOrDisableCustomFormat(int))); enable->setChecked(bp_->tracingEnabled()); expressions->setItems(bp_->tracedExpressions()); @@ -35,7 +35,7 @@ namespace GDBDebugger void DebuggerTracingDialog::enableOrDisable(int state) { - bool enable = (state == QButton::On); + bool enable = (state == TQButton::On); expressionsLabel->setEnabled(enable); expressions->setEnabled(enable); @@ -45,7 +45,7 @@ namespace GDBDebugger void DebuggerTracingDialog::enableOrDisableCustomFormat(int state) { - customFormat->setEnabled(state == QButton::On); + customFormat->setEnabled(state == TQButton::On); } void DebuggerTracingDialog::accept() @@ -57,7 +57,7 @@ namespace GDBDebugger if (enableCustomFormat->isOn()) { - QString s = customFormat->text(); + TQString s = customFormat->text(); unsigned percent_count = 0; for (unsigned i = 0; i < s.length(); ++i) if (s[i] == '%') -- cgit v1.2.3