KDevelop API Documentation

checkoutdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Mario Scalas                                    *
00003  *   mario.scalas@libero.it                                                *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef CHECKOUTDIALOG_H
00013 #define CHECKOUTDIALOG_H
00014 
00015 #include <kdialogbase.h>
00016 #include "cvsservicedcopIface.h"
00017 
00018 class CvsService_stub;
00019 class CvsJob_stub;
00020 class CheckoutDialogBase;
00021 class QListViewItem;
00022 //class QStringList;
00023 
00030 class CheckoutDialog : public KDialogBase, virtual public CVSServiceDCOPIface
00031 {
00032     Q_OBJECT
00033 public:
00034     CheckoutDialog( CvsService_stub *cvsService, QWidget *parent = 0,
00035         const char *name = 0, WFlags f = 0 );
00036     virtual ~CheckoutDialog();
00037 
00038     virtual void slotOk();
00039 
00043     QString serverPath() const;
00047     void fillServerPaths( const QStringList &serverPaths );
00051     QString workDir() const;
00055     void setWorkDir( const QString &aDir );
00059     QString module() const;
00063     bool pruneDirs() const;
00067     QString tag() const;
00068 
00069 private slots:
00070     void slotModuleSelected( QListViewItem *item );
00071     void slotFetchModulesList();
00072     // DCOP Iface
00073     virtual void slotJobExited( bool normalExit, int exitStatus );
00074     virtual void slotReceivedOutput( QString someOutput );
00075     virtual void slotReceivedErrors( QString someErrors );
00076 
00077 private:
00082     void fetchUserCvsRepositories();
00083 
00084     CvsService_stub *m_service;
00085     CvsJob_stub *m_job;
00086 
00087     CheckoutDialogBase *m_base;
00088 };
00089 
00090 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:43 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003