summaryrefslogtreecommitdiffstats
path: root/kate/xmltools/plugin_katexmltools.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitcee3e820d889e03e7f9704af40436eef3dab6c71 (patch)
treecf514a4de329cbc8521e2b617d4ac4f45b710672 /kate/xmltools/plugin_katexmltools.cpp
parent89761f7206a1d363dad8e5759184b0af8077ead5 (diff)
downloadtdeaddons-cee3e820d889e03e7f9704af40436eef3dab6c71.tar.gz
tdeaddons-cee3e820d889e03e7f9704af40436eef3dab6c71.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/xmltools/plugin_katexmltools.cpp')
-rw-r--r--kate/xmltools/plugin_katexmltools.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/xmltools/plugin_katexmltools.cpp b/kate/xmltools/plugin_katexmltools.cpp
index fe5c9f4..b3eea59 100644
--- a/kate/xmltools/plugin_katexmltools.cpp
+++ b/kate/xmltools/plugin_katexmltools.cpp
@@ -282,9 +282,9 @@ void PluginKateXMLTools::keyEvent( int, int, const TQString &/*s*/ )
else if( leftCh == "<" )
{
kdDebug() << "*outside tag -> get elements" << endl;
- TQString tqparentElement = getParentElement( *kv, true );
- kdDebug() << "tqparent: " << tqparentElement << endl;
- allowed = m_docDtds[docNumber]->allowedElements(tqparentElement );
+ TQString parentElement = getParentElement( *kv, true );
+ kdDebug() << "tqparent: " << parentElement << endl;
+ allowed = m_docDtds[docNumber]->allowedElements(parentElement );
m_mode = elements;
}
// TODO: optionally close tqparent tag if not left=="/>"
@@ -555,11 +555,11 @@ void PluginKateXMLTools::slotInsertElement()
}
PseudoDTD *dtd = m_docDtds[kv->document()->documentNumber()];
- TQString tqparentElement = getParentElement( *kv, false );
+ TQString parentElement = getParentElement( *kv, false );
TQStringList allowed;
if( dtd )
- allowed = dtd->allowedElements(tqparentElement );
+ allowed = dtd->allowedElements(parentElement );
InsertElement *dialog = new InsertElement(
( TQWidget *)application()->activeMainWindow()->viewManager()->activeView(), "insertXml" );
@@ -616,11 +616,11 @@ void PluginKateXMLTools::slotCloseElement()
kdDebug() << "Warning: no Kate::View" << endl;
return;
}
- TQString tqparentElement = getParentElement( *kv, false );
+ TQString parentElement = getParentElement( *kv, false );
- //kdDebug() << "tqparentElement: '" << tqparentElement << "'" << endl;
- TQString closeTag = "</" + tqparentElement + ">";
- if( ! tqparentElement.isEmpty() )
+ //kdDebug() << "parentElement: '" << parentElement << "'" << endl;
+ TQString closeTag = "</" + parentElement + ">";
+ if( ! parentElement.isEmpty() )
kv->insertText( closeTag );
}