summaryrefslogtreecommitdiffstats
path: root/src/modules/options/mkcreateinstanceproc.sh
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
commit9ca32ef31a2566af48c06f258722738df92366af (patch)
treec847db3bf1bb88b7863fed0cc60eef6bf641306a /src/modules/options/mkcreateinstanceproc.sh
parent72aaee9802d447ee21340b011856b9b355a58f1a (diff)
downloadkvirc-9ca32ef31a2566af48c06f258722738df92366af.tar.gz
kvirc-9ca32ef31a2566af48c06f258722738df92366af.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/options/mkcreateinstanceproc.sh')
-rwxr-xr-xsrc/modules/options/mkcreateinstanceproc.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
index fd1d7ffe..1a25a14d 100755
--- a/src/modules/options/mkcreateinstanceproc.sh
+++ b/src/modules/options/mkcreateinstanceproc.sh
@@ -160,9 +160,9 @@ EOF
for aclass in $CLASS_LIST; do
echo -n "KviOptionsWidget * class$aclass" >> $TARGET
- echo "_createInstanceProc(QWidget * tqparent)" >> $TARGET
+ echo "_createInstanceProc(QWidget * parent)" >> $TARGET
echo "{" >> $TARGET
- echo " return new $aclass(tqparent);" >> $TARGET
+ echo " return new $aclass(parent);" >> $TARGET
echo "}" >> $TARGET
echo "" >> $TARGET
done
@@ -308,10 +308,10 @@ void KviOptionsInstanceManager::deleteInstanceTree(KviPointerList<KviOptionsWidg
{
if(e->pWidget)
{
- if(e->pWidget->tqparent()->inherits("KviOptionsWidgetContainer"))
+ if(e->pWidget->parent()->inherits("KviOptionsWidgetContainer"))
{
disconnect(e->pWidget,SIGNAL(destroyed()),this,SLOT(widgetDestroyed()));
- delete e->pWidget->tqparent();
+ delete e->pWidget->parent();
e->pWidget = 0;
} else {
debug("Ops...i have deleted the options dialog ?");
@@ -352,9 +352,9 @@ KviOptionsWidget * KviOptionsInstanceManager::getInstance(KviOptionsWidgetInstan
g_iOptionWidgetInstances++;
connect(e->pWidget,SIGNAL(destroyed()),this,SLOT(widgetDestroyed()));
}
- if(e->pWidget->tqparent() != par)
+ if(e->pWidget->parent() != par)
{
- QWidget * oldPar = (QWidget *)e->pWidget->tqparent();
+ QWidget * oldPar = (QWidget *)e->pWidget->parent();
e->pWidget->reparent(par,QPoint(0,0));
delete oldPar;
}