summaryrefslogtreecommitdiffstats
path: root/parts/diff
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
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/diff
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/diff')
-rw-r--r--parts/diff/diffdlg.cpp4
-rw-r--r--parts/diff/diffdlg.h2
-rw-r--r--parts/diff/diffpart.cpp4
-rw-r--r--parts/diff/diffpart.h2
-rw-r--r--parts/diff/diffwidget.cpp8
-rw-r--r--parts/diff/diffwidget.h4
6 files changed, 12 insertions, 12 deletions
diff --git a/parts/diff/diffdlg.cpp b/parts/diff/diffdlg.cpp
index aba0f07f..f461182e 100644
--- a/parts/diff/diffdlg.cpp
+++ b/parts/diff/diffdlg.cpp
@@ -16,8 +16,8 @@
#include "diffdlg.h"
#include "diffwidget.h"
-DiffDlg::DiffDlg( TQWidget *tqparent, const char *name ):
- KDialogBase( tqparent, name, true, i18n("Difference Viewer"), Ok )
+DiffDlg::DiffDlg( TQWidget *parent, const char *name ):
+ KDialogBase( parent, name, true, i18n("Difference Viewer"), Ok )
{
diffWidget = new DiffWidget( this, "Main Diff Widget" );
setMainWidget( diffWidget );
diff --git a/parts/diff/diffdlg.h b/parts/diff/diffdlg.h
index 574ffaef..15f997f8 100644
--- a/parts/diff/diffdlg.h
+++ b/parts/diff/diffdlg.h
@@ -23,7 +23,7 @@ class DiffDlg : public KDialogBase
TQ_OBJECT
public:
- DiffDlg( TQWidget *tqparent = 0, const char *name = 0 );
+ DiffDlg( TQWidget *parent = 0, const char *name = 0 );
virtual ~DiffDlg();
public slots:
diff --git a/parts/diff/diffpart.cpp b/parts/diff/diffpart.cpp
index 0943a092..932ea86e 100644
--- a/parts/diff/diffpart.cpp
+++ b/parts/diff/diffpart.cpp
@@ -41,8 +41,8 @@ static const KDevPluginInfo data("kdevdiff");
typedef KDevGenericFactory<DiffPart> DiffFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevdiff, DiffFactory( data ) )
-DiffPart::DiffPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevDiffFrontend(&data, tqparent, name ? name : "DiffPart"), proc(0)
+DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
{
setInstance(DiffFactory::instance());
setXMLFile("kdevdiff.rc");
diff --git a/parts/diff/diffpart.h b/parts/diff/diffpart.h
index 6cbd8b28..be238399 100644
--- a/parts/diff/diffpart.h
+++ b/parts/diff/diffpart.h
@@ -30,7 +30,7 @@ class DiffPart : public KDevDiffFrontend
TQ_OBJECT
public:
- DiffPart( TQObject *tqparent, const char *name, const TQStringList & );
+ DiffPart( TQObject *parent, const char *name, const TQStringList & );
virtual ~DiffPart();
void openURL( const KURL& url );
diff --git a/parts/diff/diffwidget.cpp b/parts/diff/diffwidget.cpp
index 21e7709f..4ed1f807 100644
--- a/parts/diff/diffwidget.cpp
+++ b/parts/diff/diffwidget.cpp
@@ -42,7 +42,7 @@ static const int POPUP_BASE = 130977;
TQStringList KDiffTextEdit::extParts;
TQStringList KDiffTextEdit::extPartsTranslated;
-KDiffTextEdit::KDiffTextEdit( TQWidget* tqparent, const char* name ): TQTextEdit( tqparent, name )
+KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit( parent, name )
{
KConfig* config = kapp->config();
config->setGroup( "Diff" );
@@ -90,7 +90,7 @@ TQPopupMenu* KDiffTextEdit::createPopupMenu( const TQPoint& p )
popup->insertSeparator( 3 );
popup->insertSeparator();
- popup->insertItem( i18n("Hide view"), tqparent(), TQT_SLOT(hideView()) );
+ popup->insertItem( i18n("Hide view"), parent(), TQT_SLOT(hideView()) );
return popup;
}
@@ -180,8 +180,8 @@ void KDiffTextEdit::popupActivated( int id )
emit externalPartRequested( extParts[ id ] );
}
-DiffWidget::DiffWidget( DiffPart * part, TQWidget *tqparent, const char *name, WFlags f ):
- TQWidget( tqparent, name, f ), m_part( part ), tempFile( 0 )
+DiffWidget::DiffWidget( DiffPart * part, TQWidget *parent, const char *name, WFlags f ):
+ TQWidget( parent, name, f ), m_part( part ), tempFile( 0 )
{
job = 0;
extPart = 0;
diff --git a/parts/diff/diffwidget.h b/parts/diff/diffwidget.h
index 638073d0..abab5a8f 100644
--- a/parts/diff/diffwidget.h
+++ b/parts/diff/diffwidget.h
@@ -35,7 +35,7 @@ class KDiffTextEdit: public TQTextEdit
Q_OBJECT
TQ_OBJECT
public:
- KDiffTextEdit( TQWidget* tqparent = 0, const char* name = 0 );
+ KDiffTextEdit( TQWidget* parent = 0, const char* name = 0 );
virtual ~KDiffTextEdit();
void applySyntaxHighlight();
void clearSyntaxHighlight();
@@ -65,7 +65,7 @@ class DiffWidget : public TQWidget
TQ_OBJECT
public:
- DiffWidget( DiffPart * part, TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 );
+ DiffWidget( DiffPart * part, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
virtual ~DiffWidget();
public slots: