From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- vcs/cvsservice/cvspart.cpp | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'vcs/cvsservice/cvspart.cpp') diff --git a/vcs/cvsservice/cvspart.cpp b/vcs/cvsservice/cvspart.cpp index 30a8a700..c95d5e2e 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 *parent, const char *name, const TQStringList & ) - : KDevVersionControl( &data, parent, +CvsServicePart::CvsServicePart( TQObject *tqparent, const char *name, const TQStringList & ) + : KDevVersionControl( &data, tqparent, 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 *parent ) +TQWidget* CvsServicePart::newProjectWidget( TQWidget *tqparent ) { - m_cvsConfigurationForm = new CvsForm( parent, "cvsform" ); + m_cvsConfigurationForm = new CvsForm( tqparent, "cvsform" ); return m_cvsConfigurationForm; } @@ -321,47 +321,47 @@ void CvsServicePart::contextMenu( TQPopupMenu *popup, const Context *context ) popup->insertSeparator(); int id = subMenu->insertItem( actionCommit->text(), this, TQT_SLOT(slotCommit()) ); - subMenu->setWhatsThis(id, i18n("Commit file(s)

Commits file to repository if modified.")); + subMenu->tqsetWhatsThis(id, i18n("Commit file(s)

Commits file to repository if modified.")); // CvsService let to do log and diff operations only on one file (or directory) at time if (m_urls.count() == 1) { id = subMenu->insertItem( actionDiff->text(), this, TQT_SLOT(slotDiff()) ); - subMenu->setWhatsThis(id, i18n("Build difference

Builds difference between releases.")); + subMenu->tqsetWhatsThis(id, i18n("Build difference

Builds difference between releases.")); id = subMenu->insertItem( actionLog->text(), this, TQT_SLOT(slotLog()) ); - subMenu->setWhatsThis(id, i18n("Generate log

Produces log for this file.")); + subMenu->tqsetWhatsThis(id, i18n("Generate log

Produces log for this file.")); id = subMenu->insertItem( actionAnnotate->text(), this, TQT_SLOT(slotAnnotate()) ); - subMenu->setWhatsThis(id, i18n("Generate Annotate

Produces annotation output for this file.")); + subMenu->tqsetWhatsThis(id, i18n("Generate Annotate

Produces annotation output for this file.")); } id = subMenu->insertItem( actionEditors->text(), this, TQT_SLOT(slotEditors()) ); - subMenu->setWhatsThis(id, i18n("Show editors

Shows the list of users who are editing files.")); + subMenu->tqsetWhatsThis(id, i18n("Show editors

Shows the list of users who are editing files.")); id = subMenu->insertItem( actionEdit->text(), this, TQT_SLOT(slotEdit()) ); - subMenu->setWhatsThis(id, i18n("Mark as beeing edited

Mark the files as beeing edited.")); + subMenu->tqsetWhatsThis(id, i18n("Mark as beeing edited

Mark the files as beeing edited.")); id = subMenu->insertItem( actionUnEdit->text(), this, TQT_SLOT(slotUnEdit()) ); - subMenu->setWhatsThis(id, i18n("Remove editing mark

Remove the editing mark from the files.")); + subMenu->tqsetWhatsThis(id, i18n("Remove editing mark

Remove the editing mark from the files.")); id = subMenu->insertItem( actionAdd->text(), this, TQT_SLOT(slotAdd()) ); - subMenu->setWhatsThis(id, i18n("Add to repository

Adds file to repository.")); + subMenu->tqsetWhatsThis(id, i18n("Add to repository

Adds file to repository.")); id = subMenu->insertItem( actionAddBinary->text(), this, TQT_SLOT(slotAddBinary()) ); - subMenu->setWhatsThis(id, i18n("Add to repository as binary

Adds file to repository as binary (-kb option).")); + subMenu->tqsetWhatsThis(id, i18n("Add to repository as binary

Adds file to repository as binary (-kb option).")); id = subMenu->insertItem( actionRemove->text(), this, TQT_SLOT(slotRemove()) ); - subMenu->setWhatsThis(id, i18n("Remove from repository

Removes file(s) from repository.")); + subMenu->tqsetWhatsThis(id, i18n("Remove from repository

Removes file(s) from repository.")); subMenu->insertSeparator(); id = subMenu->insertItem( actionTag->text(), this, TQT_SLOT(slotTag()) ); - subMenu->setWhatsThis(id, i18n("Make tag/branch

Tags/branches selected file(s).")); + subMenu->tqsetWhatsThis(id, i18n("Make tag/branch

Tags/branches selected file(s).")); id = subMenu->insertItem( actionUnTag->text(), this, TQT_SLOT(slotUnTag()) ); - subMenu->setWhatsThis(id, i18n("Delete tag

Delete tag from selected file(s).")); + subMenu->tqsetWhatsThis(id, i18n("Delete tag

Delete tag from selected file(s).")); id = subMenu->insertItem( actionUpdate->text(), this, TQT_SLOT(slotUpdate()) ); - subMenu->setWhatsThis(id, i18n("Update/revert to another release

Updates/reverts file(s) to another release.")); + subMenu->tqsetWhatsThis(id, i18n("Update/revert to another release

Updates/reverts file(s) to another release.")); id = subMenu->insertItem( actionRemoveSticky->text(), this, TQT_SLOT(slotRemoveSticky()) ); - subMenu->setWhatsThis(id, i18n("Remove sticky flag

Removes sticky flag from file(s).")); + subMenu->tqsetWhatsThis(id, i18n("Remove sticky flag

Removes sticky flag from file(s).")); subMenu->insertSeparator(); id = subMenu->insertItem( actionAddToIgnoreList->text(), this, TQT_SLOT(slotAddToIgnoreList()) ); - subMenu->setWhatsThis(id, i18n("Ignore in CVS operations

Ignore file(s) by adding it to .cvsignore file.")); + subMenu->tqsetWhatsThis(id, i18n("Ignore in CVS operations

Ignore file(s) by adding it to .cvsignore file.")); id = subMenu->insertItem( actionRemoveFromIgnoreList->text(), this, TQT_SLOT(slotRemoveFromIgnoreList()) ); - subMenu->setWhatsThis(id, i18n("Do not ignore in CVS operations

Do not ignore file(s) by removing\nit from .cvsignore file.")); + subMenu->tqsetWhatsThis(id, i18n("Do not ignore in CVS operations

Do not ignore file(s) by removing\nit from .cvsignore file.")); - // Now insert in parent menu + // Now insert in tqparent menu popup->insertItem( i18n("CvsService"), subMenu ); // If the current project doesn't support CVS, we don't -- cgit v1.2.1