KDevelop API Documentation

CheckoutDialog Class Reference

This dialog widget will collect all useful informazion about the module the user want to to check-out from a remote repository. More...

#include <checkoutdialog.h>

Inheritance diagram for CheckoutDialog:

KDialogBase CVSServiceDCOPIface KDialog DCOPObject QDialog List of all members.

Public Member Functions

 CheckoutDialog (CvsService_stub *cvsService, QWidget *parent=0, const char *name=0, WFlags f=0)
virtual ~CheckoutDialog ()
QString cvsRsh () const
QString serverPath () const
void setServerPath (const QString &aPath)
QString workDir () const
void setWorkDir (const QString &aDir)
QString module () const
bool pruneDirs () const
QString tag () const

Private Slots

void slotModuleSelected (QListViewItem *item)
void slotFetchModulesList ()
virtual void slotJobExited (bool normalExit, int exitStatus)
virtual void slotReceivedOutput (QString someOutput)
virtual void slotReceivedErrors (QString someErrors)

Private Attributes

CvsService_stub * m_service
CvsJob_stub * m_job
CheckoutDialogBasem_base

Detailed Description

This dialog widget will collect all useful informazion about the module the user want to to check-out from a remote repository.

Author:
Mario Scalas

Definition at line 29 of file checkoutdialog.h.


Constructor & Destructor Documentation

CheckoutDialog::CheckoutDialog CvsService_stub *  cvsService,
QWidget parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Definition at line 67 of file checkoutdialog.cpp.

References CheckoutDialog(), CheckoutDialogBase::fetchModulesButton, m_base, CheckoutDialogBase::modulesListView, KURLRequester::setMode(), KURLRequester::setShowLocalProtocol(), slotFetchModulesList(), slotModuleSelected(), and CheckoutDialogBase::workURLRequester.

Referenced by CheckoutDialog().

CheckoutDialog::~CheckoutDialog  )  [virtual]
 

Definition at line 89 of file checkoutdialog.cpp.

References m_job.


Member Function Documentation

QString CheckoutDialog::cvsRsh  )  const
 

Returns:
the value which will be used for setting $CVS_RSH env variable

Definition at line 96 of file checkoutdialog.cpp.

References CheckoutDialogBase::cvsRshEdit, and m_base.

QString CheckoutDialog::module  )  const
 

Returns:
the module the user has chosen to check-out from repository

Definition at line 145 of file checkoutdialog.cpp.

References m_base, and CheckoutDialogBase::moduleEdit.

Referenced by CvsServicePartImpl::checkout().

bool CheckoutDialog::pruneDirs  )  const
 

Returns:

Definition at line 131 of file checkoutdialog.cpp.

References m_base, and CheckoutDialogBase::pruneDirsCheck.

Referenced by CvsServicePartImpl::checkout().

QString CheckoutDialog::serverPath  )  const
 

Returns:
a server path string (i.e. :pserver:marios@cvs.kde.org:/home/kde)

Definition at line 103 of file checkoutdialog.cpp.

References m_base, and CheckoutDialogBase::serverPathLineEdit.

Referenced by CvsServicePartImpl::checkout(), and slotFetchModulesList().

void CheckoutDialog::setServerPath const QString aPath  ) 
 

Parameters:
aPath a valid path string for "cvs -d" option

Definition at line 110 of file checkoutdialog.cpp.

References m_base, CheckoutDialogBase::serverPathLineEdit, and setServerPath().

Referenced by setServerPath().

void CheckoutDialog::setWorkDir const QString aDir  ) 
 

Parameters:
aDir directory which fetched modules will be put in

Definition at line 124 of file checkoutdialog.cpp.

References m_base, KURLRequester::setURL(), setWorkDir(), and CheckoutDialogBase::workURLRequester.

Referenced by setWorkDir().

void CheckoutDialog::slotFetchModulesList  )  [private, slot]
 

Definition at line 152 of file checkoutdialog.cpp.

References DCOPRef::app(), endl(), kdDebug(), m_job, m_service, DCOPRef::obj(), serverPath(), and workDir().

Referenced by CheckoutDialog().

void CheckoutDialog::slotJobExited bool  normalExit,
int  exitStatus
[private, virtual, slot]
 

Implements CVSServiceDCOPIface.

Definition at line 175 of file checkoutdialog.cpp.

References endl(), kdDebug(), m_job, and slotJobExited().

Referenced by slotJobExited().

void CheckoutDialog::slotModuleSelected QListViewItem item  )  [private, slot]
 

Definition at line 214 of file checkoutdialog.cpp.

References ModuleListViewItem::alias(), m_base, CheckoutDialogBase::moduleEdit, CheckoutDialogBase::modulesListView, and slotModuleSelected().

Referenced by CheckoutDialog(), and slotModuleSelected().

void CheckoutDialog::slotReceivedErrors QString  someErrors  )  [private, virtual, slot]
 

Implements CVSServiceDCOPIface.

Definition at line 207 of file checkoutdialog.cpp.

References endl(), kdDebug(), and slotReceivedErrors().

Referenced by slotReceivedErrors().

void CheckoutDialog::slotReceivedOutput QString  someOutput  )  [private, virtual, slot]
 

Implements CVSServiceDCOPIface.

Definition at line 186 of file checkoutdialog.cpp.

References endl(), kdDebug(), m_base, CheckoutDialogBase::modulesListView, and slotReceivedOutput().

Referenced by slotReceivedOutput().

QString CheckoutDialog::tag  )  const
 

Returns:

Definition at line 138 of file checkoutdialog.cpp.

References m_base, and CheckoutDialogBase::tagEdit.

Referenced by CvsServicePartImpl::checkout().

QString CheckoutDialog::workDir  )  const
 

Returns:
the directory which the user has fetched the module in

Definition at line 117 of file checkoutdialog.cpp.

References m_base, KURLRequester::url, and CheckoutDialogBase::workURLRequester.

Referenced by CvsServicePartImpl::checkout(), and slotFetchModulesList().


Member Data Documentation

CheckoutDialogBase* CheckoutDialog::m_base [private]
 

Definition at line 82 of file checkoutdialog.h.

Referenced by CheckoutDialog(), cvsRsh(), module(), pruneDirs(), serverPath(), setServerPath(), setWorkDir(), slotModuleSelected(), slotReceivedOutput(), tag(), and workDir().

CvsJob_stub* CheckoutDialog::m_job [private]
 

Definition at line 80 of file checkoutdialog.h.

Referenced by slotFetchModulesList(), slotJobExited(), and ~CheckoutDialog().

CvsService_stub* CheckoutDialog::m_service [private]
 

Definition at line 79 of file checkoutdialog.h.

Referenced by slotFetchModulesList().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:20 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003