ClearcasePart Class Reference
Integrates Clearcase configuration management system into KDevelop. More...
#include <clearcasepart.h>
Inheritance diagram for ClearcasePart:


Public Member Functions | |
ClearcasePart (QObject *parent, const char *name, const QStringList &) | |
~ClearcasePart () | |
Public Attributes | |
const QString | default_checkin |
const QString | default_checkout |
const QString | default_uncheckout |
const QString | default_create |
const QString | default_remove |
const QString | default_diff |
Private Slots | |
void | contextMenu (QPopupMenu *popup, const Context *context) |
void | slotCheckin () |
void | slotCheckout () |
void | slotUncheckout () |
void | slotCreate () |
void | slotRemove () |
void | slotDiff () |
void | slotDiffFinished (const QString &diff, const QString &err) |
Private Attributes | |
QString | popupfile |
QString | viewname |
Detailed Description
Integrates Clearcase configuration management system into KDevelop.Based on Perforce (PerforcePart) implementation by Harald Fernengel <harry AT kdevelop.org>
To use clearcase functions, you need to:
- Create a view in which you will keep your project files
- Start the view and open project as a view extended directory.
IMPORTANT: If you have a view test_vu and your project is located under /vobs/source/project1 you should open the project from /view/test_vu/vobs/source/project1 rather than inside the view from /vobs/source/project1. File open dialog does not show any files if you do otherwise. Who knows, maybe it will work for you. If so, let me know. - Clearcase functions appear in the popup menu for an open file just like cvs or perforce.
- Functions supported so far are: checkout, checkin, uncheckout, diff, mkelem, and rmname (not rmelem).
- For mkelem or rmname, you need to make sure that current directory is checked out or the operation will fail.
- No support for snapshot views yet. I haven't worked with them.
- To checkout a directory, select directory in file selector part and use popup-menu.
- Feature(s):
- Integrates Clearcase configuration management system into KDevelop.
Provided a dialog for checkout and checkin comments.
If selected file is not a clearcase file, "ClearCase" menu does not appear in the popup. A filename must start with /view or /vobs to qualify as a clearcase filename.
Definition at line 20 of file clearcasepart.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 50 of file clearcasepart.cpp. |
Member Function Documentation
|
Definition at line 54 of file clearcasepart.cpp. References FileContext::fileName(), Context::hasType(), KPopupMenu::insertTitle(), popupfile, slotCheckin(), slotCheckout(), slotCreate(), slotDiff(), slotRemove(), slotUncheckout(), and viewname. |
|
Definition at line 95 of file clearcasepart.cpp. References default_checkin, CcaseCommentDlg::logMessage(), KDevPlugin::makeFrontend(), message(), popupfile, KDevPlugin::projectDom(), KDevMakeFrontend::queueCommand(), KShellProcess::quote(), and DomUtil::readEntry(). Referenced by contextMenu(). |
|
Definition at line 130 of file clearcasepart.cpp. References default_checkout, CcaseCommentDlg::isReserved(), CcaseCommentDlg::logMessage(), KDevPlugin::makeFrontend(), message(), popupfile, KDevPlugin::projectDom(), KDevMakeFrontend::queueCommand(), KShellProcess::quote(), and DomUtil::readEntry(). Referenced by contextMenu(). |
|
Definition at line 190 of file clearcasepart.cpp. References default_create, KDevPlugin::makeFrontend(), popupfile, KDevPlugin::projectDom(), KDevMakeFrontend::queueCommand(), KShellProcess::quote(), and DomUtil::readEntry(). Referenced by contextMenu(). |
|
Definition at line 241 of file clearcasepart.cpp. References default_diff, popupfile, KDevPlugin::projectDom(), DomUtil::readEntry(), and slotDiffFinished(). Referenced by contextMenu(). |
|
Definition at line 265 of file clearcasepart.cpp. References KMessageBox::detailedError(), KDevPlugin::diffFrontend(), KMessageBox::information(), kdDebug(), KDevDiffFrontend::showDiff(), and KMessageBox::warningContinueCancelList(). Referenced by slotDiff(). |
|
Definition at line 217 of file clearcasepart.cpp. References default_remove, KDevPlugin::makeFrontend(), popupfile, KDevPlugin::projectDom(), KDevMakeFrontend::queueCommand(), KShellProcess::quote(), and DomUtil::readEntry(). Referenced by contextMenu(). |
|
Definition at line 166 of file clearcasepart.cpp. References default_uncheckout, KDevPlugin::makeFrontend(), popupfile, KDevPlugin::projectDom(), KDevMakeFrontend::queueCommand(), KShellProcess::quote(), and DomUtil::readEntry(). Referenced by contextMenu(). |
Member Data Documentation
|
Definition at line 27 of file clearcasepart.h. Referenced by slotCheckin(). |
|
Definition at line 28 of file clearcasepart.h. Referenced by slotCheckout(). |
|
Definition at line 30 of file clearcasepart.h. Referenced by slotCreate(). |
|
Definition at line 32 of file clearcasepart.h. Referenced by slotDiff(). |
|
Definition at line 31 of file clearcasepart.h. Referenced by slotRemove(). |
|
Definition at line 29 of file clearcasepart.h. Referenced by slotUncheckout(). |
|
Definition at line 50 of file clearcasepart.h. Referenced by contextMenu(), slotCheckin(), slotCheckout(), slotCreate(), slotDiff(), slotRemove(), and slotUncheckout(). |
|
Definition at line 51 of file clearcasepart.h. Referenced by contextMenu(). |
The documentation for this class was generated from the following files:
- vcs/clearcase/clearcasepart.h
- vcs/clearcase/clearcasepart.cpp