KDevelop API Documentation

lib/interfaces/kdevversioncontrol.cpp

Go to the documentation of this file.
00001 /* This file is part of the KDE project 00002 Copyright (C) 2001 Matthias Hoelzer-Kluepfel <hoelzer@kde.org> 00003 Copyright (C) 2002-2003 Roberto Raggi <roberto@kdevelop.org> 00004 Copyright (C) 2002 Simon Hausmann <hausmann@kde.org> 00005 Copyright (C) 2003 Mario Scalas <mario.scalas@libero.it> 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00020 Boston, MA 02111-1307, USA. 00021 */ 00022 00023 #include <kmessagebox.h> 00024 #include <klocale.h> 00025 #include <kdebug.h> 00026 00027 #include <kdevmainwindow.h> 00028 #include <kmainwindow.h> 00029 00030 #include "kdevversioncontrol.h" 00031 00032 KDevVersionControl::KDevVersionControl( const QString& pluginName, 00033 const QString& icon, QObject *parent, const char *name ) 00034 : KDevPlugin( pluginName, icon, parent, name ) 00035 { 00036 kdDebug( 9000 ) << "Registering Version Control System: " << uid() << endl; 00037 00038 registerVersionControl( this ); 00039 } 00040 00042 00043 KDevVersionControl::~KDevVersionControl() 00044 { 00045 unregisterVersionControl( this ); 00046 } 00047 00049 00050 QString KDevVersionControl::uid() const 00051 { 00052 return this->name(); 00053 // return this->pluginName(); 00054 } 00055 00057 00058 QWidget* KDevVersionControl::newProjectWidget( QWidget */*parent*/ ) 00059 { 00060 KMessageBox::sorry( mainWindow()->main(), i18n( "Not implemented." ) ); 00061 00062 return 0; 00063 } 00064 00066 00067 void KDevVersionControl::createNewProject( const QString&/* dir*/ ) 00068 { 00069 KMessageBox::sorry( mainWindow()->main(), i18n( "Not implemented." ) ); 00070 00071 return; 00072 } 00073 00075 00076 bool KDevVersionControl::fetchFromRepository() 00077 { 00078 KMessageBox::sorry( mainWindow()->main(), i18n( "Not implemented." ) ); 00079 00080 return false; 00081 } 00082 00084 00085 bool KDevVersionControl::isValidDirectory( const QString &/*dirPath*/ ) const 00086 { 00087 return false; 00088 } 00089 00091 00092 KDevVCSFileInfoProvider *KDevVersionControl::fileInfoProvider() const 00093 { 00094 return 0; 00095 } 00096 00097 #include "kdevversioncontrol.moc"
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:01:48 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003