summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
index 81e83142..ba14d115 100644
--- a/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
@@ -16,9 +16,9 @@
************************************************************************************/
#include <klocale.h>
-#include <qlistview.h>
-#include <qlineedit.h>
-#include <qmessagebox.h>
+#include <tqlistview.h>
+#include <tqlineedit.h>
+#include <tqmessagebox.h>
#include "xsldbgdebugger.h"
#include "xsldbgbreakpointsimpl.h"
#include "xsldbgbreakpointlistitem.h"
@@ -26,20 +26,20 @@
XsldbgBreakpointsImpl::XsldbgBreakpointsImpl(XsldbgDebugger *debugger,
- QWidget *parent /*=0*/, const char *name /*=0*/)
+ TQWidget *parent /*=0*/, const char *name /*=0*/)
: XsldbgBreakpoints(parent, name), XsldbgDialogBase()
{
this->debugger = debugger;
- connect(debugger, SIGNAL(breakpointItem(QString /* file*/,
- int /*line number */, QString /*templateName*/,
- QString /* modeName*/,
+ connect(debugger, TQT_SIGNAL(breakpointItem(TQString /* file*/,
+ int /*line number */, TQString /*templateName*/,
+ TQString /* modeName*/,
bool /* enabled */, int /* id */)),
- this, SLOT(slotProcBreakpointItem(QString /* file*/,
- int /*line number */, QString /*templateName*/,
- QString /* modeName */,
+ this, TQT_SLOT(slotProcBreakpointItem(TQString /* file*/,
+ int /*line number */, TQString /*templateName*/,
+ TQString /* modeName */,
bool /* enabled */, int /* id */)));
- connect( breakpointListView, SIGNAL(selectionChanged(QListViewItem *)),
- this, SLOT(selectionChanged(QListViewItem*)));
+ connect( breakpointListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQT_SLOT(selectionChanged(TQListViewItem*)));
show();
refresh();
}
@@ -80,18 +80,18 @@ void XsldbgBreakpointsImpl::slotAddBreakpoint()
if (!sourceFileEdit->text().isEmpty()){
debugger->slotBreakCmd(sourceFileEdit->text(), lineNo);
}else {
- QMessageBox::information(this, i18n("Operation Failed"),
+ TQMessageBox::information(this, i18n("Operation Failed"),
i18n("A line number was provided without a file name."),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
}else if (!templateNameEdit->text().isEmpty() ||
!modeNameEdit->text().isEmpty()){
debugger->slotBreakCmd(templateNameEdit->text(),
modeNameEdit->text());
}else{
- QMessageBox::information(this, i18n("Operation Failed"),
+ TQMessageBox::information(this, i18n("Operation Failed"),
i18n("No details provided or an invalid line number was supplied."),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
}
@@ -112,14 +112,14 @@ void XsldbgBreakpointsImpl::slotDeleteBreakpoint()
if (!sourceFileEdit->text().isEmpty()){
debugger->slotDeleteCmd(sourceFileEdit->text(), lineNo);
}else {
- QMessageBox::information(this, i18n("Operation Failed"),
+ TQMessageBox::information(this, i18n("Operation Failed"),
i18n("A line number was provided without a file name."),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
}else {
- QMessageBox::information(this, i18n("Operation Failed"),
+ TQMessageBox::information(this, i18n("Operation Failed"),
i18n("No details provided or an invalid line or ID was supplied."),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
}
@@ -140,27 +140,27 @@ void XsldbgBreakpointsImpl::slotEnableBreakpoint()
if (!sourceFileEdit->text().isEmpty()){
debugger->slotEnableCmd(sourceFileEdit->text(), lineNo);
}else {
- QMessageBox::information(this, i18n("Operation Failed"),
+ TQMessageBox::information(this, i18n("Operation Failed"),
i18n("A line number was provided without a file name."),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
}else {
- QMessageBox::information(this, i18n("Operation Failed"),
+ TQMessageBox::information(this, i18n("Operation Failed"),
i18n("No details provided."),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
}
-void XsldbgBreakpointsImpl::selectionChanged(QListViewItem *item)
+void XsldbgBreakpointsImpl::selectionChanged(TQListViewItem *item)
{
XsldbgBreakpointListItem *breakItem =
dynamic_cast<XsldbgBreakpointListItem*>(item);
if (breakItem){
- idEdit->setText(QString::number(breakItem->getId()));
+ idEdit->setText(TQString::number(breakItem->getId()));
templateNameEdit->setText(breakItem->getTemplateName());
modeNameEdit->setText(breakItem->getModeName());
sourceFileEdit->setText(breakItem->getFileName());
- lineNumberEdit->setText(QString::number(breakItem->getLineNumber())); }
+ lineNumberEdit->setText(TQString::number(breakItem->getLineNumber())); }
}
@@ -181,10 +181,10 @@ void XsldbgBreakpointsImpl::slotClear()
lineNumberEdit->setText("");
}
-void XsldbgBreakpointsImpl::slotProcBreakpointItem(QString fileName,
+void XsldbgBreakpointsImpl::slotProcBreakpointItem(TQString fileName,
int lineNumber ,
- QString templateName,
- QString modeName,
+ TQString templateName,
+ TQString modeName,
bool enabled, int id )
{
if (fileName.isNull())