PerforcePart Class Reference
Integrates the perforce version managment system into KDevelop. More...
#include <perforcepart.h>
Inheritance diagram for PerforcePart:

Public Member Functions | |
PerforcePart (QObject *parent, const char *name, const QStringList &) | |
~PerforcePart () | |
virtual QString | shortDescription () const |
Returns the short description. | |
Private Slots | |
void | contextMenu (QPopupMenu *popup, const Context *context) |
void | slotCommit () |
void | slotUpdate () |
void | slotAdd () |
void | slotRemove () |
void | slotEdit () |
void | slotRevert () |
void | slotDiff () |
void | slotActionCommit () |
void | slotActionUpdate () |
void | slotActionAdd () |
void | slotActionRemove () |
void | slotActionEdit () |
void | slotActionRevert () |
void | slotActionDiff () |
void | slotDiffFinished (const QString &, const QString &) |
Private Member Functions | |
void | commit (const QString &filename) |
void | update (const QString &filename) |
void | add (const QString &filename) |
void | remove (const QString &filename) |
void | edit (const QString &filename) |
void | revert (const QString &filename) |
void | diff (const QString &filename) |
QString | currentFile () |
void | execCommand (const QString &cmd, const QString &filename) |
calls p4 with the command cmd and appends the filename | |
void | setupActions () |
Private Attributes | |
QString | popupfile |
KAction * | actionEdit |
KAction * | actionRevert |
KAction * | actionSubmit |
KAction * | actionSync |
KAction * | actionDiff |
KAction * | actionAdd |
KAction * | actionRemove |
Detailed Description
Integrates the perforce version managment system into KDevelop.
- Author(s):
- Bernd Gehrmann Copyright (C) 1999-2001
Harald Fernengel Copyright (C) 2002-2003
- Feature(s):
- edit, revert and submit
use the diff frontend (also removes the crappy perforce diff headers)
Uses KAction, so you can assign your favourite shortcuts to the commands.
- Requirement(s):
- Perforce 2003.1 http://www.perforce.com/perforce/products.html
Definition at line 22 of file perforcepart.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 54 of file perforcepart.cpp. |
Member Function Documentation
|
Definition at line 215 of file perforcepart.cpp. References add(), and execCommand(). Referenced by add(), slotActionAdd(), and slotAdd(). |
|
Definition at line 162 of file perforcepart.cpp. References CommitDialog::changeList(), commit(), KDevPlugin::makeFrontend(), message(), KDevMakeFrontend::queueCommand(), and CommitDialog::setFiles(). Referenced by commit(), slotActionCommit(), and slotCommit(). |
|
Definition at line 89 of file perforcepart.cpp. References contextMenu(), FileContext::fileName(), Context::hasType(), KPopupMenu::insertTitle(), popupfile, slotAdd(), slotCommit(), slotDiff(), slotEdit(), slotRemove(), slotRevert(), and slotUpdate(). Referenced by contextMenu(). |
|
Definition at line 282 of file perforcepart.cpp. References KParts::PartManager::activePart(), KURL::isLocalFile(), KDevPlugin::partController(), KURL::path(), and KParts::ReadOnlyPart::url(). Referenced by slotActionAdd(), slotActionCommit(), slotActionDiff(), slotActionEdit(), slotActionRemove(), slotActionRevert(), and slotActionUpdate(). |
|
Definition at line 226 of file perforcepart.cpp. References diff(), and slotDiffFinished(). Referenced by diff(), slotActionDiff(), and slotDiff(). |
|
Definition at line 148 of file perforcepart.cpp. References edit(), and execCommand(). Referenced by edit(), slotActionEdit(), and slotEdit(). |
|
calls p4 with the command cmd and appends the filename
Definition at line 127 of file perforcepart.cpp. References execCommand(), KDevPlugin::makeFrontend(), and KDevMakeFrontend::queueCommand(). Referenced by add(), edit(), execCommand(), remove(), and revert(). |
|
Definition at line 221 of file perforcepart.cpp. References execCommand(), and remove(). Referenced by remove(), slotActionRemove(), and slotRemove(). |
|
Definition at line 153 of file perforcepart.cpp. References execCommand(), and revert(). Referenced by revert(), slotActionRevert(), and slotRevert(). |
|
Definition at line 57 of file perforcepart.cpp. References actionAdd, KXMLGUIClient::actionCollection(), actionDiff, actionEdit, actionRemove, actionRevert, actionSubmit, actionSync, KAction::setToolTip(), KAction::setWhatsThis(), slotActionAdd(), slotActionCommit(), slotActionDiff(), slotActionEdit(), slotActionRemove(), slotActionRevert(), and slotActionUpdate(). |
|
Returns the short description.
Reimplemented from KDevPlugin. Definition at line 30 of file perforcepart.h. |
|
Definition at line 302 of file perforcepart.cpp. References add(), and currentFile(). Referenced by setupActions(). |
|
Definition at line 293 of file perforcepart.cpp. References commit(), and currentFile(). Referenced by setupActions(). |
|
Definition at line 322 of file perforcepart.cpp. References currentFile(), and diff(). Referenced by setupActions(). |
|
Definition at line 312 of file perforcepart.cpp. References currentFile(), and edit(). Referenced by setupActions(). |
|
Definition at line 307 of file perforcepart.cpp. References currentFile(), and remove(). Referenced by setupActions(). |
|
Definition at line 317 of file perforcepart.cpp. References currentFile(), and revert(). Referenced by setupActions(). |
|
Definition at line 298 of file perforcepart.cpp. References currentFile(), and update(). Referenced by setupActions(). |
|
Definition at line 337 of file perforcepart.cpp. References add(), and popupfile. Referenced by contextMenu(). |
|
Definition at line 327 of file perforcepart.cpp. References commit(), and popupfile. Referenced by contextMenu(). |
|
Definition at line 357 of file perforcepart.cpp. References diff(), and popupfile. Referenced by contextMenu(). |
|
Definition at line 248 of file perforcepart.cpp. References KDevPlugin::diffFrontend(), endl(), kdDebug(), KDevDiffFrontend::showDiff(), and slotDiffFinished(). Referenced by diff(), and slotDiffFinished(). |
|
Definition at line 347 of file perforcepart.cpp. References edit(), and popupfile. Referenced by contextMenu(). |
|
Definition at line 342 of file perforcepart.cpp. References popupfile, and remove(). Referenced by contextMenu(). |
|
Definition at line 352 of file perforcepart.cpp. References popupfile, and revert(). Referenced by contextMenu(). |
|
Definition at line 332 of file perforcepart.cpp. References popupfile, and update(). Referenced by contextMenu(). |
|
Definition at line 191 of file perforcepart.cpp. References KDevPlugin::makeFrontend(), KDevMakeFrontend::queueCommand(), and update(). Referenced by slotActionUpdate(), slotUpdate(), and update(). |
Member Data Documentation
|
Definition at line 67 of file perforcepart.h. Referenced by setupActions(). |
|
Definition at line 67 of file perforcepart.h. Referenced by setupActions(). |
|
Definition at line 67 of file perforcepart.h. Referenced by setupActions(). |
|
Definition at line 67 of file perforcepart.h. Referenced by setupActions(). |
|
Definition at line 67 of file perforcepart.h. Referenced by setupActions(). |
|
Definition at line 67 of file perforcepart.h. Referenced by setupActions(). |
|
Definition at line 67 of file perforcepart.h. Referenced by setupActions(). |
|
Definition at line 66 of file perforcepart.h. Referenced by contextMenu(), slotAdd(), slotCommit(), slotDiff(), slotEdit(), slotRemove(), slotRevert(), and slotUpdate(). |
The documentation for this class was generated from the following files:
- vcs/perforce/perforcepart.h
- vcs/perforce/perforcepart.cpp