summaryrefslogtreecommitdiffstats
path: root/kompare/komparenavtreepart
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/komparenavtreepart')
-rw-r--r--kompare/komparenavtreepart/komparenavtreepart.cpp16
-rw-r--r--kompare/komparenavtreepart/komparenavtreepart.h14
2 files changed, 15 insertions, 15 deletions
diff --git a/kompare/komparenavtreepart/komparenavtreepart.cpp b/kompare/komparenavtreepart/komparenavtreepart.cpp
index 87e8ce2b..1a402260 100644
--- a/kompare/komparenavtreepart/komparenavtreepart.cpp
+++ b/kompare/komparenavtreepart/komparenavtreepart.cpp
@@ -37,8 +37,8 @@
using namespace Diff2;
-KompareNavTreePart::KompareNavTreePart( TQWidget* tqparent, const char* name )
- : KParts::ReadOnlyPart( TQT_TQOBJECT(tqparent), name ),
+KompareNavTreePart::KompareNavTreePart( TQWidget* parent, const char* name )
+ : KParts::ReadOnlyPart( TQT_TQOBJECT(parent), name ),
m_splitter( 0 ),
m_modelList( 0 ),
m_srcDirTree( 0 ),
@@ -453,7 +453,7 @@ void KChangeLVI::setDifferenceText()
setText( 2, text );
}
-KChangeLVI::KChangeLVI( KListView* tqparent, Difference* diff ) : KListViewItem( tqparent )
+KChangeLVI::KChangeLVI( KListView* parent, Difference* diff ) : KListViewItem( parent )
{
m_difference = diff;
@@ -487,7 +487,7 @@ KChangeLVI::~KChangeLVI()
{
}
-KFileLVI::KFileLVI( KListView* tqparent, DiffModel* model ) : KListViewItem( tqparent )
+KFileLVI::KFileLVI( KListView* parent, DiffModel* model ) : KListViewItem( parent )
{
m_model = model;
@@ -519,7 +519,7 @@ KFileLVI::~KFileLVI()
{
}
-KDirLVI::KDirLVI( KListView* tqparent, TQString& dir ) : KListViewItem( tqparent )
+KDirLVI::KDirLVI( KListView* parent, TQString& dir ) : KListViewItem( parent )
{
// kdDebug(8105) << "KDirLVI (KListView) constructor called with dir = " << dir << endl;
m_rootItem = true;
@@ -533,7 +533,7 @@ KDirLVI::KDirLVI( KListView* tqparent, TQString& dir ) : KListViewItem( tqparent
setText( 0, m_dirName );
}
-KDirLVI::KDirLVI( KDirLVI* tqparent, TQString& dir ) : KListViewItem( tqparent )
+KDirLVI::KDirLVI( KDirLVI* parent, TQString& dir ) : KListViewItem( parent )
{
// kdDebug(8105) << "KDirLVI (KDirLVI) constructor called with dir = " << dir << endl;
m_rootItem = false;
@@ -619,7 +619,7 @@ TQString KDirLVI::fullPath( TQString& path )
path = path.prepend( m_dirName );
- KDirLVI* lviParent = dynamic_cast<KDirLVI*>( tqparent() );
+ KDirLVI* lviParent = dynamic_cast<KDirLVI*>( parent() );
if ( lviParent )
{
path = lviParent->fullPath( path );
@@ -676,7 +676,7 @@ KompareNavTreePartFactory::~KompareNavTreePartFactory()
}
KParts::Part* KompareNavTreePartFactory::createPartObject( TQWidget* parentWidget, const char* widgetName,
- TQObject* /*tqparent*/, const char* /*name*/,
+ TQObject* /*parent*/, const char* /*name*/,
const char* /*classname*/, const TQStringList & /*args*/ )
{
// Create an instance of our Part
diff --git a/kompare/komparenavtreepart/komparenavtreepart.h b/kompare/komparenavtreepart/komparenavtreepart.h
index 45a16001..b0177a8c 100644
--- a/kompare/komparenavtreepart/komparenavtreepart.h
+++ b/kompare/komparenavtreepart/komparenavtreepart.h
@@ -50,7 +50,7 @@ class KompareNavTreePart : public KParts::ReadOnlyPart
TQ_OBJECT
public:
- KompareNavTreePart( TQWidget* tqparent = 0L, const char* name = 0L );
+ KompareNavTreePart( TQWidget* parent = 0L, const char* name = 0L );
virtual ~KompareNavTreePart();
public:
@@ -88,7 +88,7 @@ private:
TQString compareFromEndAndReturnSame( const TQString& string1, const TQString& string2 );
void addDirToTreeView( enum Kompare::Target, const TQString& filename );
- KListViewItem* findDirInDirTree( const KListViewItem* tqparent, const TQString& dir );
+ KListViewItem* findDirInDirTree( const KListViewItem* parent, const TQString& dir );
// KListViewItem* firstItem();
// KListViewItem* lastItem();
@@ -125,7 +125,7 @@ private:
class KChangeLVI : public KListViewItem
{
public:
- KChangeLVI( KListView* tqparent, Diff2::Difference* diff );
+ KChangeLVI( KListView* parent, Diff2::Difference* diff );
~KChangeLVI();
public:
Diff2::Difference* difference() { return m_difference; };
@@ -139,7 +139,7 @@ private:
class KFileLVI : public KListViewItem
{
public:
- KFileLVI( KListView* tqparent, Diff2::DiffModel* model );
+ KFileLVI( KListView* parent, Diff2::DiffModel* model );
~KFileLVI();
public:
Diff2::DiffModel* model() { return m_model; };
@@ -151,8 +151,8 @@ private:
class KDirLVI : public KListViewItem
{
public:
- KDirLVI( KDirLVI* tqparent, TQString& dir );
- KDirLVI( KListView* tqparent, TQString& dir );
+ KDirLVI( KDirLVI* parent, TQString& dir );
+ KDirLVI( KListView* parent, TQString& dir );
~KDirLVI();
public:
void addModel( TQString& dir, Diff2::DiffModel* model, TQPtrDict<KDirLVI>* modelToDirItemDict );
@@ -181,7 +181,7 @@ public:
KompareNavTreePartFactory();
virtual ~KompareNavTreePartFactory();
virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const char *classname, const TQStringList &args );
static KInstance* instance();