summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/debuggertracingdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/debugger/debuggertracingdialog.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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/cpp/debugger/debuggertracingdialog.cpp')
-rw-r--r--languages/cpp/debugger/debuggertracingdialog.cpp22
1 files changed, 11 insertions, 11 deletions
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 <qbutton.h>
-#include <qlabel.h>
-#include <qcheckbox.h>
+#include <tqbutton.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
#include <klineedit.h>
#include <keditlistbox.h>
#include <kmessagebox.h>
@@ -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] == '%')