From 3d7cc5d294c8da55ecaefe7a9f5631a72adc610e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: 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/applications/kdiff3@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kdiff3_part.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kdiff3_part.cpp') diff --git a/src/kdiff3_part.cpp b/src/kdiff3_part.cpp index 4e0a9c3..f512dae 100644 --- a/src/kdiff3_part.cpp +++ b/src/kdiff3_part.cpp @@ -35,7 +35,7 @@ #include "version.h" -KDiff3Part::KDiff3Part( TQWidget *tqparentWidget, const char *widgetName, +KDiff3Part::KDiff3Part( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name ) : KParts::ReadOnlyPart(tqparent, name) { @@ -43,10 +43,10 @@ KDiff3Part::KDiff3Part( TQWidget *tqparentWidget, const char *widgetName, setInstance( KDiff3PartFactory::instance() ); // this should be your custom internal widget - m_widget = new KDiff3App( tqparentWidget, widgetName, this ); + m_widget = new KDiff3App( parentWidget, widgetName, this ); // This hack is necessary to avoid a crash when the program terminates. - m_bIsShell = dynamic_cast(tqparentWidget)!=0; + m_bIsShell = dynamic_cast(parentWidget)!=0; // notify the part that this is our internal widget setWidget(m_widget); @@ -270,12 +270,12 @@ KDiff3PartFactory::~KDiff3PartFactory() s_instance = 0L; } -KParts::Part* KDiff3PartFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, +KParts::Part* KDiff3PartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *classname, const TQStringList&/*args*/ ) { // Create an instance of our Part - KDiff3Part* obj = new KDiff3Part( tqparentWidget, widgetName, tqparent, name ); + KDiff3Part* obj = new KDiff3Part( parentWidget, widgetName, tqparent, name ); // See if we are to be read-write or not if (TQCString(classname) == "KParts::ReadOnlyPart") -- cgit v1.2.3