diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | dfb7562b7e607f0ae077a6a436966203029df56d (patch) | |
tree | d58abf870c3754458d44a192a0b9e186f506c4ed /kitchensync/src | |
parent | fc5197ec86abe5dc0fa4b48979684845b52357f2 (diff) | |
download | tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.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/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/src')
-rw-r--r-- | kitchensync/src/part.cpp | 4 | ||||
-rw-r--r-- | kitchensync/src/part.h | 2 | ||||
-rw-r--r-- | kitchensync/src/xmldiffalgo.cpp | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/kitchensync/src/part.cpp b/kitchensync/src/part.cpp index 217b32bcc..70163b421 100644 --- a/kitchensync/src/part.cpp +++ b/kitchensync/src/part.cpp @@ -36,14 +36,14 @@ typedef KParts::GenericFactory< KitchenSyncPart > KitchenSyncFactory; K_EXPORT_COMPONENT_FACTORY( libkitchensyncpart, KitchenSyncFactory ) -KitchenSyncPart::KitchenSyncPart( TQWidget *tqparentWidget, const char *widgetName, +KitchenSyncPart::KitchenSyncPart( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList& ) : KParts::ReadOnlyPart( tqparent, name ) { setInstance( KitchenSyncFactory::instance() ); - TQVBox *canvas = new TQVBox( tqparentWidget, widgetName ); + TQVBox *canvas = new TQVBox( parentWidget, widgetName ); setWidget( canvas ); new MainWidget( this, canvas ); diff --git a/kitchensync/src/part.h b/kitchensync/src/part.h index 82a641875..14d612610 100644 --- a/kitchensync/src/part.h +++ b/kitchensync/src/part.h @@ -33,7 +33,7 @@ class KitchenSyncPart: public KParts::ReadOnlyPart TQ_OBJECT public: - KitchenSyncPart( TQWidget *tqparentWidget, const char *widgetName, + KitchenSyncPart( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList& ); virtual ~KitchenSyncPart(); diff --git a/kitchensync/src/xmldiffalgo.cpp b/kitchensync/src/xmldiffalgo.cpp index 53f051f1e..b5f4890fc 100644 --- a/kitchensync/src/xmldiffalgo.cpp +++ b/kitchensync/src/xmldiffalgo.cpp @@ -87,14 +87,14 @@ void XmlDiffAlgo::appendConflictNodes(TQDomElement &leftElement, TQDomElement &r TQString id = leftChild.tagName(); if (id == "Content") - id = left.tqparentNode().nodeName(); + id = left.parentNode().nodeName(); conflictField( id, leftChild.text(), rightChild.text() ); - left.tqparentNode().removeChild( left ); + left.parentNode().removeChild( left ); left = leftElement.firstChild(); - right.tqparentNode().removeChild( right ); + right.parentNode().removeChild( right ); right = rightElement.firstChild(); } @@ -121,8 +121,8 @@ top:; compareNode( leftChild, rightChild ); if ( !left.hasChildNodes() && !right.hasChildNodes() ) { - left.tqparentNode().removeChild( left ); - right.tqparentNode().removeChild( right ); + left.parentNode().removeChild( left ); + right.parentNode().removeChild( right ); goto top; } @@ -133,13 +133,13 @@ top:; TQString id = leftChild.tagName(); if ( id == "Content" ) - id = left.tqparentNode().nodeName(); + id = left.parentNode().nodeName(); if ( id != "Type" ) //matchingField( id, leftChild.text(), rightChild.text() ); - left.tqparentNode().removeChild( left ); - right.tqparentNode().removeChild( right ); + left.parentNode().removeChild( left ); + right.parentNode().removeChild( right ); goto top; } } |