summaryrefslogtreecommitdiffstats
path: root/quanta/src/quanta.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 (patch)
treef47737d56c3239a0d8bc600674f0ca04b6e30d6e /quanta/src/quanta.cpp
parent36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (diff)
downloadtdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.tar.gz
tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/src/quanta.cpp')
-rw-r--r--quanta/src/quanta.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp
index 27391537..11747dee 100644
--- a/quanta/src/quanta.cpp
+++ b/quanta/src/quanta.cpp
@@ -1781,7 +1781,7 @@ void QuantaApp::slotShowAnnotationView()
makeDockVisible(dynamic_cast<KDockWidget*>(m_annotationOutputView->wrapperWidget()));
}
-TQWidget* QuantaApp::createContainer( TQWidget *tqparent, int index, const TQDomElement &element, int &id )
+TQWidget* QuantaApp::createContainer( TQWidget *parent, int index, const TQDomElement &element, int &id )
{
TQString tabname = element.attribute( "i18ntabname", "" );
@@ -1822,18 +1822,18 @@ TQWidget* QuantaApp::createContainer( TQWidget *tqparent, int index, const TQDom
return tb;
}
- return KMainWindow::createContainer( tqparent, index, element, id );
+ return KMainWindow::createContainer( parent, index, element, id );
}
-void QuantaApp::removeContainer( TQWidget *container, TQWidget *tqparent, TQDomElement &element, int id )
+void QuantaApp::removeContainer( TQWidget *container, TQWidget *parent, TQDomElement &element, int id )
{
if (dynamic_cast<QuantaToolBar*>(container))
{
ToolbarTabWidget::ref()->removePage(container);
}
else
- KMainWindow::removeContainer( container, tqparent, element, id );
+ KMainWindow::removeContainer( container, parent, element, id );
}
void QuantaApp::slotBack()
@@ -4442,21 +4442,21 @@ void QuantaApp::slotInsertCSS()
if (styleNode->tag->type == Tag::XmlTagEnd && styleNode->prev)
styleNode = styleNode->prev;
- while (styleNode && styleNode->tqparent && styleNode->tag->name.lower() != "style" && styleNode->tag->dtd()->name == "text/css")
- styleNode = styleNode->tqparent;
+ while (styleNode && styleNode->parent && styleNode->tag->name.lower() != "style" && styleNode->tag->dtd()->name == "text/css")
+ styleNode = styleNode->parent;
Node *parentNode = node;
if (parentNode->tag->type == Tag::XmlTagEnd && parentNode->prev)
parentNode = parentNode->prev;
else
- while (parentNode && parentNode->tqparent &&
+ while (parentNode && parentNode->parent &&
parentNode->tag->type != Tag::XmlTag)
- parentNode = parentNode->tqparent;
+ parentNode = parentNode->parent;
TQString fullDocument = w->editIf->text().stripWhiteSpace();
- if (styleNode->tag->name.lower() == "comment block" && styleNode->tqparent) {
- if (styleNode->tqparent->tag->name.lower() == "style") {
- styleNode = styleNode->tqparent;
+ if (styleNode->tag->name.lower() == "comment block" && styleNode->parent) {
+ if (styleNode->parent->tag->name.lower() == "style") {
+ styleNode = styleNode->parent;
}
}