KDevelop API Documentation

subversion_core.h

Go to the documentation of this file.
00001 /* Copyright (C) 2003
00002      Mickael Marchand <marchand@kde.org>
00003 
00004      This program is free software; you can redistribute it and/or
00005      modify it under the terms of the GNU General Public
00006      License as published by the Free Software Foundation; either
00007      version 2 of the License, or (at your option) any later version.
00008 
00009      This program is distributed in the hope that it will be useful,
00010      but WITHOUT ANY WARRANTY; without even the implied warranty of
00011      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012      General Public License for more details.
00013 
00014      You should have received a copy of the GNU General Public License
00015      along with this program; see the file COPYING.  If not, write to
00016      the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017      Boston, MA 02111-1307, USA.
00018      */
00019 
00020 #ifndef __SUBVERSION_CORE_H__
00021 #define __SUBVERSION_CORE_H__
00022 
00023 #include <qobject.h>
00024 #include <qwidget.h>
00025 #include <kio/job.h>
00026 #include <kurl.h>
00027 
00028 class KDevProject;
00029 class subversionPart;
00030 class subversionWidget;
00031 
00032 class subversionCore : public QObject
00033 {
00034   Q_OBJECT
00035 public:
00036           
00037   subversionCore(subversionPart *part);
00038   ~subversionCore();
00039     subversionWidget *processWidget() const;
00040     void update( const KURL::List&);
00041     void commit( const KURL::List&);
00042     void checkout();
00043     void createNewProject( const QString& dirName, const KURL& importURL, bool init );
00044 
00045 private slots:
00046     void slotEndCheckout( KIO::Job * job );
00047     void slotResult( KIO::Job * job );
00048 
00049 signals:
00050     void checkoutFinished( QString dir );
00051     
00052 private:
00053 
00054     QGuardedPtr<subversionWidget> m_widget;
00055     subversionPart *m_part;
00056     QString wcPath;
00057 
00058 };
00059 
00060 #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 Wed Mar 23 00:03:59 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003