From 6392f5a9dfce2bf83617d49bb7f332181ec6004e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 May 2014 15:37:31 +0900 Subject: Revert "Finish renaming tdevelop components" This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73. --- languages/lib/interfaces/CMakeLists.txt | 4 +-- languages/lib/interfaces/Makefile.am | 10 +++--- languages/lib/interfaces/kdevpcsimporter.cpp | 35 +++++++++++++++++++ languages/lib/interfaces/kdevpcsimporter.h | 50 ++++++++++++++++++++++++++++ languages/lib/interfaces/tdevpcsimporter.cpp | 35 ------------------- languages/lib/interfaces/tdevpcsimporter.h | 50 ---------------------------- 6 files changed, 92 insertions(+), 92 deletions(-) create mode 100644 languages/lib/interfaces/kdevpcsimporter.cpp create mode 100644 languages/lib/interfaces/kdevpcsimporter.h delete mode 100644 languages/lib/interfaces/tdevpcsimporter.cpp delete mode 100644 languages/lib/interfaces/tdevpcsimporter.h (limited to 'languages/lib/interfaces') diff --git a/languages/lib/interfaces/CMakeLists.txt b/languages/lib/interfaces/CMakeLists.txt index e8af2f36..370eece3 100644 --- a/languages/lib/interfaces/CMakeLists.txt +++ b/languages/lib/interfaces/CMakeLists.txt @@ -22,7 +22,7 @@ link_directories( ##### headers ################################### -install( FILES tdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/languages/interfaces ) +install( FILES kdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/languages/interfaces ) ##### other data ################################ @@ -33,7 +33,7 @@ install( FILES tdeveloppcsimporter.desktop DESTINATION ${SERVICETYPES_INSTALL_DI ##### lang_interfaces (shared) ################## tde_add_library( lang_interfaces SHARED AUTOMOC - SOURCES tdevpcsimporter.cpp + SOURCES kdevpcsimporter.cpp VERSION 0.0.0 LINK ${TQT_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} diff --git a/languages/lib/interfaces/Makefile.am b/languages/lib/interfaces/Makefile.am index 127999e6..c3ed3d00 100644 --- a/languages/lib/interfaces/Makefile.am +++ b/languages/lib/interfaces/Makefile.am @@ -3,14 +3,14 @@ METASOURCES = AUTO langincludedirdir = $(includedir)/tdevelop/languages/interfaces lib_LTLIBRARIES = liblang_interfaces.la liblang_interfaces_la_LDFLAGS = $(all_libraries) -liblang_interfaces_la_SOURCES = tdevpcsimporter.cpp +liblang_interfaces_la_SOURCES = kdevpcsimporter.cpp liblang_interfaces_la_LIBADD = $(LIB_QT) -langincludedir_HEADERS = tdevpcsimporter.h +langincludedir_HEADERS = kdevpcsimporter.h INCLUDES = $(all_includes) servicetypedir = $(kde_servicetypesdir) servicetype_DATA = tdeveloppcsimporter.desktop -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevinterfaces tdevutil -DOXYGEN_PROJECTNAME = TDevelop Language Support Interfaces Library -DOXYGEN_DOCDIRPREFIX = tdevlang +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevinterfaces kdevutil +DOXYGEN_PROJECTNAME = KDevelop Language Support Interfaces Library +DOXYGEN_DOCDIRPREFIX = kdevlang include ../../../Doxyfile.am diff --git a/languages/lib/interfaces/kdevpcsimporter.cpp b/languages/lib/interfaces/kdevpcsimporter.cpp new file mode 100644 index 00000000..166cc862 --- /dev/null +++ b/languages/lib/interfaces/kdevpcsimporter.cpp @@ -0,0 +1,35 @@ +/* This file is part of TDevelop + Copyright (C) 2003 Roberto Raggi + + 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., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include "kdevpcsimporter.h" +#include "kdevpcsimporter.moc" + +KDevPCSImporter::KDevPCSImporter( TQObject * parent, const char * name ) + : TQObject( parent, name ) +{ +} + +KDevPCSImporter::~ KDevPCSImporter( ) +{ +} + +TQWidget * KDevPCSImporter::createSettingsPage( TQWidget * /*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..870865cb --- /dev/null +++ b/languages/lib/interfaces/kdevpcsimporter.h @@ -0,0 +1,50 @@ +/* This file is part of TDevelop + Copyright (C) 2003 Roberto Raggi + + 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., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef KDEVPCSIMPORTER_H +#define KDEVPCSIMPORTER_H + +#include +#include + +class TQWidget; + +/** +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 TQObject +{ + Q_OBJECT + +public: + KDevPCSImporter( TQObject* parent=0, const char* name=0 ); + virtual ~KDevPCSImporter(); + + virtual TQString dbName() const = 0; + virtual TQStringList includePaths() = 0; + virtual TQStringList fileList() = 0; + + virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 ); +}; + +#endif // KDEVPCSIMPORTER_H diff --git a/languages/lib/interfaces/tdevpcsimporter.cpp b/languages/lib/interfaces/tdevpcsimporter.cpp deleted file mode 100644 index 66e29c13..00000000 --- a/languages/lib/interfaces/tdevpcsimporter.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/* This file is part of TDevelop - Copyright (C) 2003 Roberto Raggi - - 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., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "tdevpcsimporter.h" -#include "tdevpcsimporter.moc" - -TDevPCSImporter::TDevPCSImporter( TQObject * parent, const char * name ) - : TQObject( parent, name ) -{ -} - -TDevPCSImporter::~ TDevPCSImporter( ) -{ -} - -TQWidget * TDevPCSImporter::createSettingsPage( TQWidget * /*parent*/, const char * /*name*/ ) -{ - return 0; -} diff --git a/languages/lib/interfaces/tdevpcsimporter.h b/languages/lib/interfaces/tdevpcsimporter.h deleted file mode 100644 index 62878973..00000000 --- a/languages/lib/interfaces/tdevpcsimporter.h +++ /dev/null @@ -1,50 +0,0 @@ -/* This file is part of TDevelop - Copyright (C) 2003 Roberto Raggi - - 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., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef TDEVPCSIMPORTER_H -#define TDEVPCSIMPORTER_H - -#include -#include - -class TQWidget; - -/** -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 TDevPCSImporter: public TQObject -{ - Q_OBJECT - -public: - TDevPCSImporter( TQObject* parent=0, const char* name=0 ); - virtual ~TDevPCSImporter(); - - virtual TQString dbName() const = 0; - virtual TQStringList includePaths() = 0; - virtual TQStringList fileList() = 0; - - virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 ); -}; - -#endif // TDEVPCSIMPORTER_H -- cgit v1.2.1