diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 32b67ac0690de411b26b1d5e715b188c27442248 (patch) | |
tree | 43167816a3df6b3a877d71c9a7963ed270dcc8c9 /vcs/cvsservice | |
parent | 330c33ab6f97b279737bf9527c9add7bb1475450 (diff) | |
download | tdevelop-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 'vcs/cvsservice')
40 files changed, 77 insertions, 77 deletions
diff --git a/vcs/cvsservice/annotatedialog.cpp b/vcs/cvsservice/annotatedialog.cpp index d61aeb72..2937b2bb 100644 --- a/vcs/cvsservice/annotatedialog.cpp +++ b/vcs/cvsservice/annotatedialog.cpp @@ -23,9 +23,9 @@ #include "annotatedialog.h" #include "annotatepage.h" -AnnotateDialog::AnnotateDialog( CvsService_stub *cvsService, TQWidget *tqparent, const char *name, int ) +AnnotateDialog::AnnotateDialog( CvsService_stub *cvsService, TQWidget *parent, const char *name, int ) : KDialogBase( Tabbed, i18n("CVS Annotate Dialog"), Close, Close, - tqparent, name? name : "annotateformdialog", false /*modal*/, true /*separator*/ ), + parent, name? name : "annotateformdialog", false /*modal*/, true /*separator*/ ), m_cvsService( cvsService ) { setWFlags( getWFlags() | WDestructiveClose ); diff --git a/vcs/cvsservice/annotatedialog.h b/vcs/cvsservice/annotatedialog.h index c6866967..b0229b9c 100644 --- a/vcs/cvsservice/annotatedialog.h +++ b/vcs/cvsservice/annotatedialog.h @@ -32,7 +32,7 @@ class AnnotateDialog : public KDialogBase Q_OBJECT TQ_OBJECT public: - AnnotateDialog( CvsService_stub *cvsService, TQWidget *tqparent=0, const char *name=0, int flags=0 ); + AnnotateDialog( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 ); virtual ~AnnotateDialog(); /** diff --git a/vcs/cvsservice/annotatepage.cpp b/vcs/cvsservice/annotatepage.cpp index 68e12f6d..4c838cf9 100644 --- a/vcs/cvsservice/annotatepage.cpp +++ b/vcs/cvsservice/annotatepage.cpp @@ -32,9 +32,9 @@ #include "annotatepage.h" #include "annotateview.h" -AnnotatePage::AnnotatePage( CvsService_stub *cvsService, TQWidget *tqparent, const char *name, int ) +AnnotatePage::AnnotatePage( CvsService_stub *cvsService, TQWidget *parent, const char *name, int ) : DCOPObject( "CvsAnnotatePageDCOPIface" ), - TQWidget( tqparent, name? name : "annotateformpage" ), + TQWidget( parent, name? name : "annotateformpage" ), m_cvsService( cvsService ), m_cvsAnnotateJob( 0 ) { kdDebug(9006) << "AnnotatePage::AnnotatePage()" << endl; diff --git a/vcs/cvsservice/annotatepage.h b/vcs/cvsservice/annotatepage.h index 27a75314..ef2c2faa 100644 --- a/vcs/cvsservice/annotatepage.h +++ b/vcs/cvsservice/annotatepage.h @@ -43,7 +43,7 @@ class AnnotatePage : public TQWidget, virtual public CVSServiceDCOPIface friend class AnnotateView; public: - AnnotatePage( CvsService_stub *cvsService, TQWidget *tqparent=0, const char *name=0, int flags=0 ); + AnnotatePage( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 ); virtual ~AnnotatePage(); /** diff --git a/vcs/cvsservice/annotateview.cpp b/vcs/cvsservice/annotateview.cpp index 30e80a21..597415f1 100644 --- a/vcs/cvsservice/annotateview.cpp +++ b/vcs/cvsservice/annotateview.cpp @@ -32,7 +32,7 @@ class AnnotateViewItem : public TQListViewItem public: enum { LineNumberColumn, AuthorColumn, DateColumn,ContentColumn }; - AnnotateViewItem(AnnotateView *tqparent, TQString rev, TQString author, + AnnotateViewItem(AnnotateView *parent, TQString rev, TQString author, TQDateTime date, TQString content, TQString comment, bool odd, int linenumber); @@ -57,10 +57,10 @@ private: const int AnnotateViewItem::BORDER = 4; -AnnotateViewItem::AnnotateViewItem(AnnotateView *tqparent, TQString rev, +AnnotateViewItem::AnnotateViewItem(AnnotateView *parent, TQString rev, TQString author, TQDateTime date, TQString content, TQString comment, bool odd, int linenumber) - : TQListViewItem(tqparent) + : TQListViewItem(parent) , m_revision(rev) , m_author(author) , m_content(content) @@ -140,9 +140,9 @@ int AnnotateViewItem::width(const TQFontMetrics &fm, const TQListView *, int col /*****************Definition of class AnnotateView ****************************/ /******************************************************************************/ -AnnotateView::AnnotateView(AnnotatePage *tqparent, const char *name) - : KListView(tqparent, name), TQToolTip( viewport() ), - m_page(tqparent) +AnnotateView::AnnotateView(AnnotatePage *parent, const char *name) + : KListView(parent, name), TQToolTip( viewport() ), + m_page(parent) { setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken); setAllColumnsShowFocus(true); diff --git a/vcs/cvsservice/annotateview.h b/vcs/cvsservice/annotateview.h index 99d222a3..956c0251 100644 --- a/vcs/cvsservice/annotateview.h +++ b/vcs/cvsservice/annotateview.h @@ -37,7 +37,7 @@ class AnnotateView : public KListView, public TQToolTip public: - explicit AnnotateView(AnnotatePage *tqparent, const char *name=0 ); + explicit AnnotateView(AnnotatePage *parent, const char *name=0 ); void addLine(TQString rev, TQString author, TQDateTime date, TQString content, TQString comment, bool odd); diff --git a/vcs/cvsservice/checkoutdialog.cpp b/vcs/cvsservice/checkoutdialog.cpp index 098dd98e..be20d977 100644 --- a/vcs/cvsservice/checkoutdialog.cpp +++ b/vcs/cvsservice/checkoutdialog.cpp @@ -68,9 +68,9 @@ public: /////////////////////////////////////////////////////////////////////////////// CheckoutDialog::CheckoutDialog( CvsService_stub *cvsService, - TQWidget *tqparent, const char *name, WFlags ) : + TQWidget *parent, const char *name, WFlags ) : DCOPObject( "CheckoutDialogDCOPIface" ), - KDialogBase( tqparent, name? name : "checkoutdialog", true, i18n("CVS Checkout"), + KDialogBase( parent, name? name : "checkoutdialog", true, i18n("CVS Checkout"), Ok | Cancel, Ok, true ), m_service( cvsService ), m_job( 0 ) { diff --git a/vcs/cvsservice/checkoutdialog.h b/vcs/cvsservice/checkoutdialog.h index 422290d0..5d15b09b 100644 --- a/vcs/cvsservice/checkoutdialog.h +++ b/vcs/cvsservice/checkoutdialog.h @@ -32,7 +32,7 @@ class CheckoutDialog : public KDialogBase, virtual public CVSServiceDCOPIface Q_OBJECT TQ_OBJECT public: - CheckoutDialog( CvsService_stub *cvsService, TQWidget *tqparent = 0, + CheckoutDialog( CvsService_stub *cvsService, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); virtual ~CheckoutDialog(); diff --git a/vcs/cvsservice/commitdlg.cpp b/vcs/cvsservice/commitdlg.cpp index 9bed1119..a3988c06 100644 --- a/vcs/cvsservice/commitdlg.cpp +++ b/vcs/cvsservice/commitdlg.cpp @@ -30,8 +30,8 @@ /////////////////////////////////////////////////////////////////////////////// -CommitDialog::CommitDialog( const TQString &changeLogfileNamePath, TQWidget *tqparent ) - : CommitDialogBase( tqparent, "commitdialog", true ) +CommitDialog::CommitDialog( const TQString &changeLogfileNamePath, TQWidget *parent ) + : CommitDialogBase( parent, "commitdialog", true ) { connect( buttonOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) ); connect( buttonCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) ); diff --git a/vcs/cvsservice/commitdlg.h b/vcs/cvsservice/commitdlg.h index edc27a64..e3406340 100644 --- a/vcs/cvsservice/commitdlg.h +++ b/vcs/cvsservice/commitdlg.h @@ -26,7 +26,7 @@ class CommitDialog : public CommitDialogBase Q_OBJECT TQ_OBJECT public: - CommitDialog( const TQString &changeLogfileNamePath, TQWidget *tqparent = 0 ); + CommitDialog( const TQString &changeLogfileNamePath, TQWidget *parent = 0 ); //! Returns the text of the log TQStringList logMessage() const; diff --git a/vcs/cvsservice/cvsdiffpage.cpp b/vcs/cvsservice/cvsdiffpage.cpp index 2f174155..7777760a 100644 --- a/vcs/cvsservice/cvsdiffpage.cpp +++ b/vcs/cvsservice/cvsdiffpage.cpp @@ -33,10 +33,10 @@ /////////////////////////////////////////////////////////////////////////////// CVSDiffPage::CVSDiffPage( CvsService_stub *cvsService, - TQWidget *tqparent, const char *name, int ) + TQWidget *parent, const char *name, int ) // Leaving it anonymous let us to have multiple objects at the same time! : DCOPObject(), // "CVSDiffPageDCOPIface" - TQWidget( tqparent, name? name : "logformdialog" ), + TQWidget( parent, name? name : "logformdialog" ), m_diffText( 0 ), m_cvsService( cvsService ), m_cvsDiffJob( 0 ) { TQLayout *thisLayout = new TQVBoxLayout( this ); diff --git a/vcs/cvsservice/cvsdiffpage.h b/vcs/cvsservice/cvsdiffpage.h index 879b28b2..17444ad2 100644 --- a/vcs/cvsservice/cvsdiffpage.h +++ b/vcs/cvsservice/cvsdiffpage.h @@ -31,7 +31,7 @@ class CVSDiffPage : public TQWidget, virtual public CVSServiceDCOPIface Q_OBJECT TQ_OBJECT public: - CVSDiffPage( CvsService_stub *cvsService, TQWidget *tqparent=0, const char *name=0, int flags=0 ); + CVSDiffPage( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 ); virtual ~CVSDiffPage(); void startDiff( const TQString &fileName, const TQString &v1, const TQString &v2 ); diff --git a/vcs/cvsservice/cvsfileinfoprovider.cpp b/vcs/cvsservice/cvsfileinfoprovider.cpp index 7830f643..3c20af0c 100644 --- a/vcs/cvsservice/cvsfileinfoprovider.cpp +++ b/vcs/cvsservice/cvsfileinfoprovider.cpp @@ -31,8 +31,8 @@ // class CVSFileInfoProvider /////////////////////////////////////////////////////////////////////////////// -CVSFileInfoProvider::CVSFileInfoProvider( CvsServicePart *tqparent, CvsService_stub *cvsService ) - : KDevVCSFileInfoProvider( tqparent, "cvsfileinfoprovider" ), +CVSFileInfoProvider::CVSFileInfoProvider( CvsServicePart *parent, CvsService_stub *cvsService ) + : KDevVCSFileInfoProvider( parent, "cvsfileinfoprovider" ), m_requestStatusJob( 0 ), m_cvsService( cvsService ), m_cachedDirEntries( 0 ) { connect( this, TQT_SIGNAL(needStatusUpdate(const CVSDir&)), this, TQT_SLOT(updateStatusFor(const CVSDir&))); diff --git a/vcs/cvsservice/cvsfileinfoprovider.h b/vcs/cvsservice/cvsfileinfoprovider.h index 72f3cff0..ead2d113 100644 --- a/vcs/cvsservice/cvsfileinfoprovider.h +++ b/vcs/cvsservice/cvsfileinfoprovider.h @@ -33,7 +33,7 @@ class CVSFileInfoProvider : public KDevVCSFileInfoProvider, virtual public CVSSe Q_OBJECT TQ_OBJECT public: - CVSFileInfoProvider( CvsServicePart *tqparent, CvsService_stub *cvsService ); + CVSFileInfoProvider( CvsServicePart *parent, CvsService_stub *cvsService ); virtual ~CVSFileInfoProvider(); // -- Sync interface diff --git a/vcs/cvsservice/cvsform.cpp b/vcs/cvsservice/cvsform.cpp index e1423ef6..ef0521c8 100644 --- a/vcs/cvsservice/cvsform.cpp +++ b/vcs/cvsservice/cvsform.cpp @@ -19,8 +19,8 @@ // class CvsForm /////////////////////////////////////////////////////////////////////////////// -CvsForm::CvsForm( TQWidget *tqparent, const char *name, WFlags f ) - : CvsFormBase( tqparent, name, f ) +CvsForm::CvsForm( TQWidget *parent, const char *name, WFlags f ) + : CvsFormBase( parent, name, f ) { setWFlags( getWFlags() | WDestructiveClose ); } diff --git a/vcs/cvsservice/cvsform.h b/vcs/cvsservice/cvsform.h index 8a9a4ef7..7973eb0e 100644 --- a/vcs/cvsservice/cvsform.h +++ b/vcs/cvsservice/cvsform.h @@ -23,7 +23,7 @@ class CvsForm : public CvsFormBase Q_OBJECT TQ_OBJECT public: - CvsForm( TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 ); + CvsForm( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); virtual ~CvsForm(); TQString module() const; diff --git a/vcs/cvsservice/cvslogdialog.cpp b/vcs/cvsservice/cvslogdialog.cpp index 5bd230c3..86ad3cbe 100644 --- a/vcs/cvsservice/cvslogdialog.cpp +++ b/vcs/cvsservice/cvslogdialog.cpp @@ -32,9 +32,9 @@ // class CVSLogDialog /////////////////////////////////////////////////////////////////////////////// -CVSLogDialog::CVSLogDialog( CvsService_stub *cvsService, TQWidget *tqparent, const char *name, int ) +CVSLogDialog::CVSLogDialog( CvsService_stub *cvsService, TQWidget *parent, const char *name, int ) : KDialogBase( Tabbed, i18n("CVS Log & Diff Dialog"), Close, Close, - tqparent, name? name : "logformdialog", false /*modal*/, true /*separator*/ ), + parent, name? name : "logformdialog", false /*modal*/, true /*separator*/ ), m_cvsLogPage( 0 ), m_cvsService( cvsService ) { setWFlags( getWFlags() | WDestructiveClose ); diff --git a/vcs/cvsservice/cvslogdialog.h b/vcs/cvsservice/cvslogdialog.h index 9f3518aa..694e610c 100644 --- a/vcs/cvsservice/cvslogdialog.h +++ b/vcs/cvsservice/cvslogdialog.h @@ -28,7 +28,7 @@ class CVSLogDialog : public KDialogBase Q_OBJECT TQ_OBJECT public: - CVSLogDialog( CvsService_stub *cvsService, TQWidget *tqparent=0, const char *name=0, int flags=0 ); + CVSLogDialog( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 ); virtual ~CVSLogDialog(); void startLog( const TQString &workDir, const TQString &pathName ); diff --git a/vcs/cvsservice/cvslogpage.cpp b/vcs/cvsservice/cvslogpage.cpp index 07e59ce7..f50afdc5 100644 --- a/vcs/cvsservice/cvslogpage.cpp +++ b/vcs/cvsservice/cvslogpage.cpp @@ -32,9 +32,9 @@ // class CVSLogPage /////////////////////////////////////////////////////////////////////////////// -CVSLogPage::CVSLogPage( CvsService_stub *cvsService, TQWidget *tqparent, const char *name, int ) +CVSLogPage::CVSLogPage( CvsService_stub *cvsService, TQWidget *parent, const char *name, int ) : DCOPObject( "CvsLogPageDCOPIface" ), - TQWidget( tqparent, name? name : "logformpage" ), + TQWidget( parent, name? name : "logformpage" ), m_cvsService( cvsService ), m_cvsLogJob( 0 ) { TQLayout *thisLayout = new TQVBoxLayout( this ); diff --git a/vcs/cvsservice/cvslogpage.h b/vcs/cvsservice/cvslogpage.h index 27fbd3d2..d7e7ede2 100644 --- a/vcs/cvsservice/cvslogpage.h +++ b/vcs/cvsservice/cvslogpage.h @@ -30,7 +30,7 @@ class CVSLogPage : public TQWidget, virtual public CVSServiceDCOPIface Q_OBJECT TQ_OBJECT public: - CVSLogPage( CvsService_stub *cvsService, TQWidget *tqparent=0, const char *name=0, int flags=0 ); + CVSLogPage( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 ); virtual ~CVSLogPage(); void startLog( const TQString &workDir, const TQString &pathName ); diff --git a/vcs/cvsservice/cvsoptionswidget.cpp b/vcs/cvsservice/cvsoptionswidget.cpp index eb66b773..32044dd3 100644 --- a/vcs/cvsservice/cvsoptionswidget.cpp +++ b/vcs/cvsservice/cvsoptionswidget.cpp @@ -24,8 +24,8 @@ // class DiffDialog /////////////////////////////////////////////////////////////////////////////// -CvsOptionsWidget::CvsOptionsWidget( TQWidget *tqparent, const char *name ) - : CvsOptionsWidgetBase( tqparent, name ) +CvsOptionsWidget::CvsOptionsWidget( TQWidget *parent, const char *name ) + : CvsOptionsWidgetBase( parent, name ) { readConfig(); } diff --git a/vcs/cvsservice/cvsoptionswidget.h b/vcs/cvsservice/cvsoptionswidget.h index 0dcfbba0..0384597c 100644 --- a/vcs/cvsservice/cvsoptionswidget.h +++ b/vcs/cvsservice/cvsoptionswidget.h @@ -25,7 +25,7 @@ class CvsOptionsWidget : public CvsOptionsWidgetBase Q_OBJECT TQ_OBJECT public: - CvsOptionsWidget( TQWidget *tqparent, const char *name=0 ); + CvsOptionsWidget( TQWidget *parent, const char *name=0 ); virtual ~CvsOptionsWidget(); bool pruneEmptyDirWhenUpdating() const; diff --git a/vcs/cvsservice/cvspart.cpp b/vcs/cvsservice/cvspart.cpp index c95d5e2e..17eb8998 100644 --- a/vcs/cvsservice/cvspart.cpp +++ b/vcs/cvsservice/cvspart.cpp @@ -80,8 +80,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevcvsservice, CvsFactory( data ) ) // class CvsServicePart /////////////////////////////////////////////////////////////////////////////// -CvsServicePart::CvsServicePart( TQObject *tqparent, const char *name, const TQStringList & ) - : KDevVersionControl( &data, tqparent, +CvsServicePart::CvsServicePart( TQObject *parent, const char *name, const TQStringList & ) + : KDevVersionControl( &data, parent, name ? name : "CvsService" ), actionCommit( 0 ), actionDiff( 0 ), actionLog( 0 ), actionAnnotate(0), actionAdd( 0 ), actionAddBinary( 0 ), actionRemove( 0 ), actionUpdate( 0 ), @@ -283,9 +283,9 @@ void CvsServicePart::projectConfigWidget( KDialogBase *dlg ) /////////////////////////////////////////////////////////////////////////////// -TQWidget* CvsServicePart::newProjectWidget( TQWidget *tqparent ) +TQWidget* CvsServicePart::newProjectWidget( TQWidget *parent ) { - m_cvsConfigurationForm = new CvsForm( tqparent, "cvsform" ); + m_cvsConfigurationForm = new CvsForm( parent, "cvsform" ); return m_cvsConfigurationForm; } @@ -361,7 +361,7 @@ void CvsServicePart::contextMenu( TQPopupMenu *popup, const Context *context ) id = subMenu->insertItem( actionRemoveFromIgnoreList->text(), this, TQT_SLOT(slotRemoveFromIgnoreList()) ); subMenu->tqsetWhatsThis(id, i18n("<b>Do not ignore in CVS operations</b><p>Do not ignore file(s) by removing\nit from .cvsignore file.")); - // Now insert in tqparent menu + // Now insert in parent menu popup->insertItem( i18n("CvsService"), subMenu ); // If the current project doesn't support CVS, we don't diff --git a/vcs/cvsservice/cvspart.h b/vcs/cvsservice/cvspart.h index 886d13b2..c6c4e2dd 100644 --- a/vcs/cvsservice/cvspart.h +++ b/vcs/cvsservice/cvspart.h @@ -43,15 +43,15 @@ class CvsServicePart : public KDevVersionControl public: //! Standard constructor. - CvsServicePart( TQObject *tqparent, const char *name, const TQStringList & ); + CvsServicePart( TQObject *parent, const char *name, const TQStringList & ); //! Destructor. virtual ~CvsServicePart(); /** * Returns the configuration widget (for properly configuring the project to - * use CVS), child of @p tqparent. + * use CVS), child of @p parent. */ - virtual TQWidget *newProjectWidget( TQWidget *tqparent ); + virtual TQWidget *newProjectWidget( TQWidget *parent ); /** * Setup a directory tree for use with CVS. */ diff --git a/vcs/cvsservice/cvsprocesswidget.cpp b/vcs/cvsservice/cvsprocesswidget.cpp index 319fcfe6..0eeba29e 100644 --- a/vcs/cvsservice/cvsprocesswidget.cpp +++ b/vcs/cvsservice/cvsprocesswidget.cpp @@ -43,9 +43,9 @@ int g_dcopErrCounter = 0; #endif -CvsProcessWidget::CvsProcessWidget( CvsService_stub *service, CvsServicePart *part, TQWidget *tqparent, const char *name ) +CvsProcessWidget::CvsProcessWidget( CvsService_stub *service, CvsServicePart *part, TQWidget *parent, const char *name ) : DCOPObject( "CvsProcessWidgetDCOPIface" ), - TQTextEdit( tqparent, name ), + TQTextEdit( parent, name ), m_part( part ), m_service( service ), m_job( 0 ) { setReadOnly( true ); diff --git a/vcs/cvsservice/cvsprocesswidget.h b/vcs/cvsservice/cvsprocesswidget.h index 2377ee97..62f73668 100644 --- a/vcs/cvsservice/cvsprocesswidget.h +++ b/vcs/cvsservice/cvsprocesswidget.h @@ -30,7 +30,7 @@ class CvsProcessWidget : public TQTextEdit, virtual public CVSServiceDCOPIface TQ_OBJECT public: CvsProcessWidget( CvsService_stub *service, CvsServicePart *part, - TQWidget *tqparent, const char *name ); + TQWidget *parent, const char *name ); virtual ~CvsProcessWidget(); bool startJob( const DCOPRef &aJob ); diff --git a/vcs/cvsservice/diffdialog.cpp b/vcs/cvsservice/diffdialog.cpp index fd4ca8ef..a141d2a8 100644 --- a/vcs/cvsservice/diffdialog.cpp +++ b/vcs/cvsservice/diffdialog.cpp @@ -20,8 +20,8 @@ // class DiffDialog /////////////////////////////////////////////////////////////////////////////// -DiffDialog::DiffDialog( const CVSEntry &entry, TQWidget *tqparent, const char *name, WFlags f ) - : DiffDialogBase( tqparent, name, true, f) +DiffDialog::DiffDialog( const CVSEntry &entry, TQWidget *parent, const char *name, WFlags f ) + : DiffDialogBase( parent, name, true, f) { m_entry = entry; TQString currentRevision = entry.revision(); diff --git a/vcs/cvsservice/diffdialog.h b/vcs/cvsservice/diffdialog.h index 8870ff1e..c729f6cb 100644 --- a/vcs/cvsservice/diffdialog.h +++ b/vcs/cvsservice/diffdialog.h @@ -25,7 +25,7 @@ class DiffDialog : public DiffDialogBase Q_OBJECT TQ_OBJECT public: - DiffDialog(const CVSEntry &entry, TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 ); + DiffDialog(const CVSEntry &entry, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); virtual ~DiffDialog(); TQString revA() const; diff --git a/vcs/cvsservice/diffwidget.cpp b/vcs/cvsservice/diffwidget.cpp index 8c5c53c6..972d90d6 100644 --- a/vcs/cvsservice/diffwidget.cpp +++ b/vcs/cvsservice/diffwidget.cpp @@ -39,7 +39,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" ); @@ -174,8 +174,8 @@ void KDiffTextEdit::popupActivated( int id ) emit externalPartRequested( extParts[ id ] ); } -DiffWidget::DiffWidget( TQWidget *tqparent, const char *name, WFlags f ): - TQWidget( tqparent, name, f ), tempFile( 0 ) +DiffWidget::DiffWidget( TQWidget *parent, const char *name, WFlags f ): + TQWidget( parent, name, f ), tempFile( 0 ) { job = 0; extPart = 0; diff --git a/vcs/cvsservice/diffwidget.h b/vcs/cvsservice/diffwidget.h index 48b6447d..fe8c49a0 100644 --- a/vcs/cvsservice/diffwidget.h +++ b/vcs/cvsservice/diffwidget.h @@ -34,7 +34,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(); @@ -64,7 +64,7 @@ class DiffWidget : public TQWidget TQ_OBJECT public: - DiffWidget( TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 ); + DiffWidget( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); virtual ~DiffWidget(); public slots: diff --git a/vcs/cvsservice/editorsdialog.cpp b/vcs/cvsservice/editorsdialog.cpp index 9b796254..79695840 100644 --- a/vcs/cvsservice/editorsdialog.cpp +++ b/vcs/cvsservice/editorsdialog.cpp @@ -24,8 +24,8 @@ #include <cvsjob_stub.h> #include <cvsservice_stub.h> -EditorsDialog::EditorsDialog(CvsService_stub *cvsService, TQWidget *tqparent, const char *name) - : DCOPObject( "CvsEditorsDCOPIface"), EditorsDialogBase(tqparent, name, TRUE, TQt::WDestructiveClose), +EditorsDialog::EditorsDialog(CvsService_stub *cvsService, TQWidget *parent, const char *name) + : DCOPObject( "CvsEditorsDCOPIface"), EditorsDialogBase(parent, name, TRUE, TQt::WDestructiveClose), m_cvsService(cvsService), m_cvsJob(0) { } diff --git a/vcs/cvsservice/editorsdialog.h b/vcs/cvsservice/editorsdialog.h index ffb8b555..f02f47b8 100644 --- a/vcs/cvsservice/editorsdialog.h +++ b/vcs/cvsservice/editorsdialog.h @@ -24,7 +24,7 @@ class EditorsDialog: public EditorsDialogBase, virtual public CVSServiceDCOPIfac Q_OBJECT TQ_OBJECT public: - EditorsDialog(CvsService_stub *cvsService, TQWidget *tqparent = 0, const char *name = 0); + EditorsDialog(CvsService_stub *cvsService, TQWidget *parent = 0, const char *name = 0); virtual ~EditorsDialog(); void startjob(TQString strDir); diff --git a/vcs/cvsservice/integrator/cvsserviceintegrator.cpp b/vcs/cvsservice/integrator/cvsserviceintegrator.cpp index 13cc370e..1bbc3b11 100644 --- a/vcs/cvsservice/integrator/cvsserviceintegrator.cpp +++ b/vcs/cvsservice/integrator/cvsserviceintegrator.cpp @@ -28,9 +28,9 @@ static const KDevPluginInfo data("kdevcvsserviceintegrator"); typedef KDevGenericFactory<CVSServiceIntegrator> CVSIntegratorFactory; K_EXPORT_COMPONENT_FACTORY( libcvsserviceintegrator, CVSIntegratorFactory(data) ) -CVSServiceIntegrator::CVSServiceIntegrator(TQObject* tqparent, const char* name, +CVSServiceIntegrator::CVSServiceIntegrator(TQObject* parent, const char* name, const TQStringList args) - :KDevVCSIntegrator(tqparent, name) + :KDevVCSIntegrator(parent, name) { } @@ -38,14 +38,14 @@ CVSServiceIntegrator::~CVSServiceIntegrator( ) { } -VCSDialog* CVSServiceIntegrator::fetcher(TQWidget* tqparent) +VCSDialog* CVSServiceIntegrator::fetcher(TQWidget* parent) { return 0; } -VCSDialog* CVSServiceIntegrator::integrator(TQWidget* tqparent) +VCSDialog* CVSServiceIntegrator::integrator(TQWidget* parent) { - IntegratorDlg *dlg = new IntegratorDlg(this, tqparent); + IntegratorDlg *dlg = new IntegratorDlg(this, parent); return dlg; } diff --git a/vcs/cvsservice/integrator/cvsserviceintegrator.h b/vcs/cvsservice/integrator/cvsserviceintegrator.h index 02c94430..ea45a8a2 100644 --- a/vcs/cvsservice/integrator/cvsserviceintegrator.h +++ b/vcs/cvsservice/integrator/cvsserviceintegrator.h @@ -28,11 +28,11 @@ class CVSServiceIntegrator: public KDevVCSIntegrator { Q_OBJECT TQ_OBJECT public: - CVSServiceIntegrator(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + CVSServiceIntegrator(TQObject* parent, const char* name, const TQStringList args = TQStringList()); virtual ~CVSServiceIntegrator(); - virtual VCSDialog* fetcher(TQWidget* tqparent); - virtual VCSDialog* integrator(TQWidget* tqparent); + virtual VCSDialog* fetcher(TQWidget* parent); + virtual VCSDialog* integrator(TQWidget* parent); }; diff --git a/vcs/cvsservice/integrator/integratordlg.cpp b/vcs/cvsservice/integrator/integratordlg.cpp index 3561f7ad..4f833220 100644 --- a/vcs/cvsservice/integrator/integratordlg.cpp +++ b/vcs/cvsservice/integrator/integratordlg.cpp @@ -40,8 +40,8 @@ #include "initdlg.h" -IntegratorDlg::IntegratorDlg(CVSServiceIntegrator *integrator, TQWidget *tqparent, const char *name) - :IntegratorDlgBase(tqparent, name), m_integrator(integrator) +IntegratorDlg::IntegratorDlg(CVSServiceIntegrator *integrator, TQWidget *parent, const char *name) + :IntegratorDlgBase(parent, name), m_integrator(integrator) { TQFile cvspass(TQDir::homeDirPath() + "/.cvspass"); if (cvspass.open(IO_ReadOnly)) diff --git a/vcs/cvsservice/integrator/integratordlg.h b/vcs/cvsservice/integrator/integratordlg.h index 72ae30fd..711c972f 100644 --- a/vcs/cvsservice/integrator/integratordlg.h +++ b/vcs/cvsservice/integrator/integratordlg.h @@ -29,7 +29,7 @@ class IntegratorDlg: public IntegratorDlgBase, public VCSDialog { Q_OBJECT TQ_OBJECT public: - IntegratorDlg(CVSServiceIntegrator *integrator, TQWidget *tqparent = 0, const char *name = 0); + IntegratorDlg(CVSServiceIntegrator *integrator, TQWidget *parent = 0, const char *name = 0); virtual TQWidget *self(); virtual void init(const TQString &projectName, const TQString &projectLocation); diff --git a/vcs/cvsservice/releaseinputdialog.cpp b/vcs/cvsservice/releaseinputdialog.cpp index 83df254c..151c921b 100644 --- a/vcs/cvsservice/releaseinputdialog.cpp +++ b/vcs/cvsservice/releaseinputdialog.cpp @@ -20,8 +20,8 @@ // class ReleaseInputDialog /////////////////////////////////////////////////////////////////////////////// -ReleaseInputDialog::ReleaseInputDialog( TQWidget* tqparent) - : ReleaseInputDialogBase( tqparent, "releaseinputdialog", true, 0 ) +ReleaseInputDialog::ReleaseInputDialog( TQWidget* parent) + : ReleaseInputDialogBase( parent, "releaseinputdialog", true, 0 ) { } diff --git a/vcs/cvsservice/releaseinputdialog.h b/vcs/cvsservice/releaseinputdialog.h index ef8757bb..0d3c05c6 100644 --- a/vcs/cvsservice/releaseinputdialog.h +++ b/vcs/cvsservice/releaseinputdialog.h @@ -26,9 +26,9 @@ class ReleaseInputDialog : public ReleaseInputDialogBase public: /** * C-tor - * @param tqparent + * @param parent */ - ReleaseInputDialog( TQWidget* tqparent = 0 ); + ReleaseInputDialog( TQWidget* parent = 0 ); /** * Destructor */ diff --git a/vcs/cvsservice/tagdialog.cpp b/vcs/cvsservice/tagdialog.cpp index b3d3a42e..33aca057 100644 --- a/vcs/cvsservice/tagdialog.cpp +++ b/vcs/cvsservice/tagdialog.cpp @@ -18,8 +18,8 @@ // class TagDialog /////////////////////////////////////////////////////////////////////////////// -TagDialog::TagDialog( const TQString &caption, TQWidget *tqparent, const char *name ) - : TagDialogBase( tqparent, name ? name : "tagdialog", true ) +TagDialog::TagDialog( const TQString &caption, TQWidget *parent, const char *name ) + : TagDialogBase( parent, name ? name : "tagdialog", true ) { if (!caption.isEmpty()) { diff --git a/vcs/cvsservice/tagdialog.h b/vcs/cvsservice/tagdialog.h index e58b912d..54db2bb1 100644 --- a/vcs/cvsservice/tagdialog.h +++ b/vcs/cvsservice/tagdialog.h @@ -25,7 +25,7 @@ class TagDialog : public TagDialogBase Q_OBJECT TQ_OBJECT public: - TagDialog( const TQString &caption, TQWidget *tqparent = 0, const char *name = 0 ); + TagDialog( const TQString &caption, TQWidget *parent = 0, const char *name = 0 ); virtual ~TagDialog(); /** |