summaryrefslogtreecommitdiffstats
path: root/src/kdiff3_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdiff3_part.cpp')
-rw-r--r--src/kdiff3_part.cpp10
1 files changed, 5 insertions, 5 deletions
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<KParts::MainWindow*>(tqparentWidget)!=0;
+ m_bIsShell = dynamic_cast<KParts::MainWindow*>(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")