lib/interfaces/kdevlanguagesupport.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) 2001-2002 Bernd Gehrmann <bernd@kdevelop.org> 00004 Copyright (C) 2002-2003 Roberto Raggi <roberto@kdevelop.org> 00005 Copyright (C) 2002 Simon Hausmann <hausmann@kde.org> 00006 Copyright (C) 2002 F@lk Brettschneider <falkbr@kdevelop.org> 00007 Copyright (C) 2003 Alexander Dymo <cloudtemple@mksat.net> 00008 Copyright (C) 2003 Amilcar do Carmo Lucas <amilcar@ida.ing.tu-bs.de> 00009 00010 This library is free software; you can redistribute it and/or 00011 modify it under the terms of the GNU Library General Public 00012 License as published by the Free Software Foundation; either 00013 version 2 of the License, or (at your option) any later version. 00014 00015 This library is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 Library General Public License for more details. 00019 00020 You should have received a copy of the GNU Library General Public License 00021 along with this library; see the file COPYING.LIB. If not, write to 00022 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00023 Boston, MA 02111-1307, USA. 00024 */ 00025 #include "codemodel.h" 00026 00027 #include "kdevlanguagesupport.h" 00028 00029 KDevLanguageSupport::KDevLanguageSupport( const QString& pluginName, const QString& icon, QObject *parent, const char *name) 00030 : KDevPlugin( pluginName, icon, parent, name ? name : "KDevLanguageSupport" ) 00031 { 00032 } 00033 00034 KDevLanguageSupport::~KDevLanguageSupport() 00035 { 00036 } 00037 00038 KDevLanguageSupport::Features KDevLanguageSupport::features() 00039 { 00040 return Features(0); 00041 } 00042 00043 KMimeType::List KDevLanguageSupport::mimeTypes() 00044 { 00045 return KMimeType::List(); 00046 } 00047 00048 QString KDevLanguageSupport::formatTag( const Tag& /*tag*/ ) 00049 { 00050 return QString::null; 00051 } 00052 00053 QString KDevLanguageSupport::formatClassName(const QString &name) 00054 { 00055 return name; 00056 } 00057 00058 QString KDevLanguageSupport::unformatClassName(const QString &name) 00059 { 00060 return name; 00061 } 00062 00063 void KDevLanguageSupport::addClass() 00064 { 00065 } 00066 00067 void KDevLanguageSupport::addMethod( ClassDom /*klass*/ ) 00068 { 00069 } 00070 00071 void KDevLanguageSupport::implementVirtualMethods( ClassDom /*klass*/ ) 00072 { 00073 } 00074 00075 void KDevLanguageSupport::addAttribute( ClassDom /*klass*/ ) 00076 { 00077 } 00078 00079 QStringList KDevLanguageSupport::subclassWidget(const QString& /*formName*/) 00080 { 00081 return QStringList(); 00082 } 00083 00084 QStringList KDevLanguageSupport::updateWidget(const QString& /*formName*/, const QString& /*fileName*/) 00085 { 00086 return QStringList(); 00087 } 00088 00089 QString KDevLanguageSupport::formatModelItem( const CodeModelItem *item, bool /*shortDescription*/ ) 00090 { 00091 return item->name(); 00092 } 00093 00094 #include "kdevlanguagesupport.moc"