summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
index 19c6bb66..73c76ef8 100644
--- a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
@@ -74,8 +74,8 @@ bool LibxsltParam::isValid() const
XsldbgConfigImpl::XsldbgConfigImpl(XsldbgDebugger *debugger,
- TQWidget *parent /*=0*/, const char *name /*=0*/)
- : XsldbgConfig(parent, name)
+ TQWidget *tqparent /*=0*/, const char *name /*=0*/)
+ : XsldbgConfig(tqparent, name)
{
this->debugger = debugger;
connect(debugger, TQT_SIGNAL(parameterItem(TQString /* name*/, TQString /* value */)),
@@ -177,7 +177,7 @@ void XsldbgConfigImpl::deleteParam(TQString name)
isOk = paramList.remove(param);
if (isOk == false)
- kdDebug() << TQString(" Param %1 dosn't exist").arg(name) << endl;
+ kdDebug() << TQString(" Param %1 dosn't exist").tqarg(name) << endl;
else
kdDebug() << "Deleted param " << name << endl;
}
@@ -308,7 +308,7 @@ void XsldbgConfigImpl::update()
void XsldbgConfigImpl::refresh()
{
paramIndex = 0;
- repaintParam();
+ tqrepaintParam();
xslSourceEdit->setText(debugger->sourceFileName());
xmlDataEdit->setText(debugger->dataFileName());
outputFileEdit->setText(debugger->outputFileName());
@@ -366,7 +366,7 @@ void XsldbgConfigImpl::slotOutputFile(TQString outputFile)
void XsldbgConfigImpl::slotChooseSourceFile()
{
- KURL url = KFileDialog::getOpenURL(TQString::null, "*.xsl; *.XSL; *.Xsl ; *.xslt; *.XSLT; *.Xslt \n *.*", this,
+ KURL url = KFileDialog::getOpenURL(TQString(), "*.xsl; *.XSL; *.Xsl ; *.xslt; *.XSLT; *.Xslt \n *.*", this,
i18n("Choose XSL Source to Debug"));
TQString fileName = url.prettyURL();
@@ -378,7 +378,7 @@ void XsldbgConfigImpl::slotChooseSourceFile()
void XsldbgConfigImpl::slotChooseDataFile()
{
- KURL url = KFileDialog::getOpenURL(TQString::null, "*.xml; *.XML; *.Xml \n*.docbook \n *.html;*.HTML; *.htm ; *HTM \n *.*", this,
+ KURL url = KFileDialog::getOpenURL(TQString(), "*.xml; *.XML; *.Xml \n*.docbook \n *.html;*.HTML; *.htm ; *HTM \n *.*", this,
i18n("Choose XML Data to Debug"));
TQString fileName = url.prettyURL();
@@ -389,7 +389,7 @@ void XsldbgConfigImpl::slotChooseDataFile()
void XsldbgConfigImpl::slotChooseOutputFile()
{
- KURL url = KFileDialog::getSaveURL(TQString::null, "*.xml; *.XML; *.Xml \n*.docbook \n *.txt; *.TXT \n *.htm;*.HTM;*.htm;*.HTML \n*.*", this,
+ KURL url = KFileDialog::getSaveURL(TQString(), "*.xml; *.XML; *.Xml \n*.docbook \n *.txt; *.TXT \n *.htm;*.HTM;*.htm;*.HTML \n*.*", this,
i18n("Choose Output File for XSL Transformation"));
TQString fileName;
@@ -410,7 +410,7 @@ void XsldbgConfigImpl::slotReloadFileNames()
}
-void XsldbgConfigImpl::repaintParam()
+void XsldbgConfigImpl::tqrepaintParam()
{
if (paramIndex < getParamCount()){
LibxsltParam *param = getParam(paramIndex);
@@ -428,13 +428,13 @@ void XsldbgConfigImpl::slotAddParam()
if (paramIndex < getParamCount())
paramIndex++;
- repaintParam();
+ tqrepaintParam();
}
void XsldbgConfigImpl::slotDeleteParam()
{
deleteParam(parameterNameEdit->text());
- repaintParam();
+ tqrepaintParam();
}
@@ -444,7 +444,7 @@ void XsldbgConfigImpl::slotNextParam()
if (paramIndex < getParamCount())
paramIndex++;
- repaintParam();
+ tqrepaintParam();
}
void XsldbgConfigImpl::slotPrevParam()
@@ -453,7 +453,7 @@ void XsldbgConfigImpl::slotPrevParam()
if (paramIndex > 0)
paramIndex--;
- repaintParam();
+ tqrepaintParam();
}
void XsldbgConfigImpl::slotProcParameterItem(TQString name, TQString value)