From 1623fe64102c18ab098b79656b80f28cef840756 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 10:00:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04. --- vcs/perforce/perforcepart.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'vcs/perforce/perforcepart.cpp') diff --git a/vcs/perforce/perforcepart.cpp b/vcs/perforce/perforcepart.cpp index dd501e37..ca81a8d4 100644 --- a/vcs/perforce/perforcepart.cpp +++ b/vcs/perforce/perforcepart.cpp @@ -94,30 +94,30 @@ void PerforcePart::contextMenu(TQPopupMenu *popup, const Context *context) KPopupMenu *sub = new KPopupMenu(popup); TQString name = fi.fileName(); - sub->insertTitle( i18n("Actions for %1").arg(name) ); + sub->insertTitle( i18n("Actions for %1").tqarg(name) ); int id = sub->insertItem( i18n("Edit"), this, TQT_SLOT(slotEdit()) ); - sub->setWhatsThis(id, i18n("Edit

Opens file(s) in a client workspace for edit.")); + sub->tqsetWhatsThis(id, i18n("Edit

Opens file(s) in a client workspace for edit.")); id = sub->insertItem( i18n("Revert"), this, TQT_SLOT(slotRevert()) ); - sub->setWhatsThis(id, i18n("Revert

Discards changes made to open files.")); + sub->tqsetWhatsThis(id, i18n("Revert

Discards changes made to open files.")); id = sub->insertItem( i18n("Submit"), this, TQT_SLOT(slotCommit()) ); - sub->setWhatsThis(id, i18n("Submit

Sends changes made to open files to the depot.")); + sub->tqsetWhatsThis(id, i18n("Submit

Sends changes made to open files to the depot.")); id = sub->insertItem( i18n("Sync"), this, TQT_SLOT(slotUpdate()) ); - sub->setWhatsThis(id, i18n("Sync

Copies files from the depot into the workspace.")); + sub->tqsetWhatsThis(id, i18n("Sync

Copies files from the depot into the workspace.")); sub->insertSeparator(); id = sub->insertItem( i18n("Diff Against Repository"), this, TQT_SLOT(slotDiff()) ); - sub->setWhatsThis(id, i18n("Diff against repository

Compares a client workspace file to a revision in the depot.")); + sub->tqsetWhatsThis(id, i18n("Diff against repository

Compares a client workspace file to a revision in the depot.")); id = sub->insertItem( i18n("Add to Repository"), this, TQT_SLOT(slotAdd()) ); - sub->setWhatsThis(id, i18n("Add to repository

Open file(s) in a client workspace for addition to the depot.")); + sub->tqsetWhatsThis(id, i18n("Add to repository

Open file(s) in a client workspace for addition to the depot.")); id = sub->insertItem( i18n("Remove From Repository"), this, TQT_SLOT(slotRemove()) ); - sub->setWhatsThis(id, i18n("Remove from repository

Open file(s) in a client workspace for deletion from the depot.")); + sub->tqsetWhatsThis(id, i18n("Remove from repository

Open file(s) in a client workspace for deletion from the depot.")); id = popup->insertItem(i18n("Perforce"), sub); } } @@ -153,7 +153,7 @@ void PerforcePart::revert( const TQString& filename ) { if ( KMessageBox::questionYesNo( 0, i18n("Do you really want to revert " - "the file %1 and lose all your changes?").arg( filename ), TQString(), i18n("Revert"), i18n("Do Not Revert") ) == KMessageBox::Yes ) { + "the file %1 and lose all your changes?").tqarg( filename ), TQString(), i18n("Revert"), i18n("Do Not Revert") ) == KMessageBox::Yes ) { execCommand( "revert", filename ); } } -- cgit v1.2.3