diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 114a878c64ce6f8223cfd22d76a20eb16d177e5e (patch) | |
tree | acaf47eb0fa12142d3896416a69e74cbf5a72242 /languages/lib/interfaces | |
download | tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.tar.gz tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/lib/interfaces')
-rw-r--r-- | languages/lib/interfaces/Mainpage.dox | 10 | ||||
-rw-r--r-- | languages/lib/interfaces/Makefile.am | 16 | ||||
-rw-r--r-- | languages/lib/interfaces/kdeveloppcsimporter.desktop | 39 | ||||
-rw-r--r-- | languages/lib/interfaces/kdevpcsimporter.cpp | 36 | ||||
-rw-r--r-- | languages/lib/interfaces/kdevpcsimporter.h | 49 |
5 files changed, 150 insertions, 0 deletions
diff --git a/languages/lib/interfaces/Mainpage.dox b/languages/lib/interfaces/Mainpage.dox new file mode 100644 index 00000000..f31c4bfc --- /dev/null +++ b/languages/lib/interfaces/Mainpage.dox @@ -0,0 +1,10 @@ +/** +@mainpage The KDevelop Language Support Interfaces Library + +This library contains interfaces for KDevelop language support facilities. + +<b>Link with</b>: -llang_interfaces + +<b>Include path</b>: -I\$(kde_includes)/kdevelop/languages/interfaces +*/ + diff --git a/languages/lib/interfaces/Makefile.am b/languages/lib/interfaces/Makefile.am new file mode 100644 index 00000000..2ccbac75 --- /dev/null +++ b/languages/lib/interfaces/Makefile.am @@ -0,0 +1,16 @@ + +METASOURCES = AUTO +langincludedirdir = $(includedir)/kdevelop/languages/interfaces +lib_LTLIBRARIES = liblang_interfaces.la +liblang_interfaces_la_LDFLAGS = $(all_libraries) +liblang_interfaces_la_SOURCES = kdevpcsimporter.cpp +liblang_interfaces_la_LIBADD = $(LIB_QT) +langincludedir_HEADERS = kdevpcsimporter.h +INCLUDES = $(all_includes) +servicetypedir = $(kde_servicetypesdir) +servicetype_DATA = kdeveloppcsimporter.desktop + +DOXYGEN_REFERENCES = dcop interfaces kdecore kdefx kdeui khtml kmdi kio kjs kparts kutils kdevinterfaces kdevutil +DOXYGEN_PROJECTNAME = KDevelop Language Support Interfaces Library +DOXYGEN_DOCDIRPREFIX = kdevlang +include ../../../Doxyfile.am diff --git a/languages/lib/interfaces/kdeveloppcsimporter.desktop b/languages/lib/interfaces/kdeveloppcsimporter.desktop new file mode 100644 index 00000000..bbf0f490 --- /dev/null +++ b/languages/lib/interfaces/kdeveloppcsimporter.desktop @@ -0,0 +1,39 @@ +[Desktop Entry] +Type=ServiceType +X-KDE-ServiceType=KDevelop/PCSImporter +X-KDE-Derived=KDevelop/Plugin +Name=KDevelop PCS Importer +Name[ca]=Importador PCS per a KDevelop +Name[da]=KDevelop PCS importør +Name[de]=PCS-Importierer (KDevelop) +Name[el]=Εισαγωγέας PCS KDevelop +Name[es]=Importación PCS de KDevelop +Name[et]=KDevelopi PCS importija +Name[eu]=KDevelop PCS inportatzailea +Name[fa]=واردکنندۀ KDevelop PCS +Name[fr]=Importation PCS pour KDevelop +Name[ga]=Iompórtálaí PCS KDevelop +Name[gl]=Importador PCS de KDevelop +Name[hi]=के-डेवलप पीसीएस आयातक +Name[hu]=KDevelop PCS-importáló +Name[ja]=KDevelop PCS インポータ +Name[nds]=PCS-Import (KDevelop) +Name[ne]=केडीई विकास PCS आयातकर्ता +Name[nl]=KDevelop PCS importeren +Name[pl]=KDevelop: import PCS +Name[pt]=Importador de PCS do KDevelop +Name[pt_BR]=Importador PCS para o KDevelop +Name[ru]=Загрузчик в хранилище классов +Name[sk]=KDevelop PCS import +Name[sl]=Uvažanje PCS za KDevelop +Name[sr]=KDevelop-ов PCS увозник +Name[sr@Latn]=KDevelop-ov PCS uvoznik +Name[sv]=KDevelop PCS-import +Name[ta]=KDevelop pcs ஏற்றுமதியாளர் +Name[tg]=Пурборкунанда дар анбори синфӣ +Name[tr]=KDevelop PCS Aktarıcısı +Name[zh_CN]=KDevelop PCS导入器 +Name[zh_TW]=KDevelop PCS 匯入器 + +[PropertyDef::X-KDevelop-PCSImporter] +Type=QString diff --git a/languages/lib/interfaces/kdevpcsimporter.cpp b/languages/lib/interfaces/kdevpcsimporter.cpp new file mode 100644 index 00000000..de8a8632 --- /dev/null +++ b/languages/lib/interfaces/kdevpcsimporter.cpp @@ -0,0 +1,36 @@ +/* This file is part of KDevelop + Copyright (C) 2003 Roberto Raggi <roberto@kdevelop.org> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +#include "kdevpcsimporter.h" +#include "kdevpcsimporter.moc" + +KDevPCSImporter::KDevPCSImporter( QObject * parent, const char * name ) + : QObject( parent, name ) +{ +} + +KDevPCSImporter::~ KDevPCSImporter( ) +{ +} + +QWidget * KDevPCSImporter::createSettingsPage( QWidget * /*parent*/, const char * /*name*/ ) +{ + return 0; +} + diff --git a/languages/lib/interfaces/kdevpcsimporter.h b/languages/lib/interfaces/kdevpcsimporter.h new file mode 100644 index 00000000..8493b9e3 --- /dev/null +++ b/languages/lib/interfaces/kdevpcsimporter.h @@ -0,0 +1,49 @@ +/* This file is part of KDevelop + Copyright (C) 2003 Roberto Raggi <roberto@kdevelop.org> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +#ifndef KDEVPCSIMPORTER_H +#define KDEVPCSIMPORTER_H + +#include <qobject.h> +#include <qstringlist.h> + +class QWidget; + +/** +KDevelop persistent class store importer plugin. + +These plugins are used by language support plugins to fill symbol stores +with symbol information from certain files. The purpose of the importer +is to provide file selection wizard. +*/ +class KDevPCSImporter: public QObject +{ + Q_OBJECT +public: + KDevPCSImporter( QObject* parent=0, const char* name=0 ); + virtual ~KDevPCSImporter(); + + virtual QString dbName() const = 0; + virtual QStringList includePaths() = 0; + virtual QStringList fileList() = 0; + + virtual QWidget* createSettingsPage( QWidget* parent, const char* name=0 ); +}; + +#endif // KDEVPCSIMPORTER_H |