From 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 2 Mar 2014 20:05:33 +0100 Subject: Finish renaming tdevelop components --- buildtools/lib/base/CMakeLists.txt | 8 +++---- buildtools/lib/base/Mainpage.dox | 4 ++-- buildtools/lib/base/Makefile.am | 16 +++++++------- buildtools/lib/base/kdevbuildtool.cpp | 38 -------------------------------- buildtools/lib/base/kdevbuildtool.h | 41 ----------------------------------- buildtools/lib/base/tdevbuildtool.cpp | 38 ++++++++++++++++++++++++++++++++ buildtools/lib/base/tdevbuildtool.h | 41 +++++++++++++++++++++++++++++++++++ 7 files changed, 93 insertions(+), 93 deletions(-) delete mode 100644 buildtools/lib/base/kdevbuildtool.cpp delete mode 100644 buildtools/lib/base/kdevbuildtool.h create mode 100644 buildtools/lib/base/tdevbuildtool.cpp create mode 100644 buildtools/lib/base/tdevbuildtool.h (limited to 'buildtools/lib/base') diff --git a/buildtools/lib/base/CMakeLists.txt b/buildtools/lib/base/CMakeLists.txt index f3585669..a429be6c 100644 --- a/buildtools/lib/base/CMakeLists.txt +++ b/buildtools/lib/base/CMakeLists.txt @@ -26,14 +26,14 @@ link_directories( ##### headers ################################### install( FILES - kdevbuildtool.h + tdevbuildtool.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/base ) -##### kdevbuildbase (shared) #################### +##### tdevbuildbase (shared) #################### -tde_add_library( kdevbuildbase SHARED AUTOMOC - SOURCES kdevbuildtool.cpp +tde_add_library( tdevbuildbase SHARED AUTOMOC + SOURCES tdevbuildtool.cpp VERSION 0.0.0 LINK tdevelop-shared DESTINATION ${LIB_INSTALL_DIR} diff --git a/buildtools/lib/base/Mainpage.dox b/buildtools/lib/base/Mainpage.dox index 3e16d2d8..8a85d338 100644 --- a/buildtools/lib/base/Mainpage.dox +++ b/buildtools/lib/base/Mainpage.dox @@ -8,8 +8,8 @@ This library contains base classes for KDevelop builtool support plugins. Include path: -I\$(kde_includes)/tdevelop/buildtools/base \section btbaseoverview Overview -This library is created to provide KDevBuildTool compat class which can be used -as drop-in replacement of KDevProject class for buildtool support plugins +This library is created to provide TDevBuildTool compat class which can be used +as drop-in replacement of TDevProject class for buildtool support plugins written for old KDevelop architecture (before version 3.2). Nevertheless, it can be useful for new buildtool plugins as well because it provides diff --git a/buildtools/lib/base/Makefile.am b/buildtools/lib/base/Makefile.am index 7e1083ef..6532398d 100644 --- a/buildtools/lib/base/Makefile.am +++ b/buildtools/lib/base/Makefile.am @@ -2,14 +2,14 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \ $(all_includes) METASOURCES = AUTO -lib_LTLIBRARIES = libkdevbuildbase.la -libkdevbuildbase_la_LDFLAGS = $(all_libraries) -libkdevbuildbase_la_LIBADD = $(top_builddir)/lib/interfaces/libkdevinterfaces.la $(LIB_QT) $(LIB_TDEUI) -libkdevbuildbase_la_SOURCES = kdevbuildtool.cpp +lib_LTLIBRARIES = libtdevbuildbase.la +libtdevbuildbase_la_LDFLAGS = $(all_libraries) +libtdevbuildbase_la_LIBADD = $(top_builddir)/lib/interfaces/libtdevinterfaces.la $(LIB_QT) $(LIB_TDEUI) +libtdevbuildbase_la_SOURCES = tdevbuildtool.cpp tdevelopbuildtoolsincludedir = $(includedir)/tdevelop/buildtools/base -tdevelopbuildtoolsinclude_HEADERS = kdevbuildtool.h +tdevelopbuildtoolsinclude_HEADERS = tdevbuildtool.h -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces kdevextensions -DOXYGEN_PROJECTNAME = KDevelop Buildtool Base Library -DOXYGEN_DOCDIRPREFIX = kdevbt +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces tdevextensions +DOXYGEN_PROJECTNAME = TDevelop Buildtool Base Library +DOXYGEN_DOCDIRPREFIX = tdevbt include ../../../Doxyfile.am diff --git a/buildtools/lib/base/kdevbuildtool.cpp b/buildtools/lib/base/kdevbuildtool.cpp deleted file mode 100644 index 618f02d9..00000000 --- a/buildtools/lib/base/kdevbuildtool.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2004 Alexander Dymo - - 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 "kdevbuildtool.h" - -#include -#include - -KDevBuildTool::KDevBuildTool(const KDevPluginInfo* info, TQObject* parent, const char* name) - :KDevProject(info, parent, name) -{ -} - -KDevMakeFrontend * KDevBuildTool::makeFrontend() -{ - return extension("TDevelop/MakeFrontend"); -} - -KDevAppFrontend * KDevBuildTool::appFrontend() -{ - return extension("TDevelop/AppFrontend"); -} - diff --git a/buildtools/lib/base/kdevbuildtool.h b/buildtools/lib/base/kdevbuildtool.h deleted file mode 100644 index ff1abcc0..00000000 --- a/buildtools/lib/base/kdevbuildtool.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 1999-2001 Bernd Gehrmann - Copyright (C) 2004 Alexander Dymo - - 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 KDEVBUILDTOOL_H -#define KDEVBUILDTOOL_H - -#include - -class KDevMakeFrontend; -class KDevAppFrontend; - -/**Base class for KDevelop build tool support plugins.*/ -class KDevBuildTool: public KDevProject -{ -public: - KDevBuildTool(const KDevPluginInfo* info, TQObject* parent, const char* name); - - /**@return The make frontend.*/ - KDevMakeFrontend *makeFrontend(); - /**@return The application frontend.*/ - KDevAppFrontend *appFrontend(); - -}; - -#endif diff --git a/buildtools/lib/base/tdevbuildtool.cpp b/buildtools/lib/base/tdevbuildtool.cpp new file mode 100644 index 00000000..aa901bb7 --- /dev/null +++ b/buildtools/lib/base/tdevbuildtool.cpp @@ -0,0 +1,38 @@ +/* This file is part of the KDE project + Copyright (C) 2004 Alexander Dymo + + 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 "tdevbuildtool.h" + +#include +#include + +TDevBuildTool::TDevBuildTool(const TDevPluginInfo* info, TQObject* parent, const char* name) + :TDevProject(info, parent, name) +{ +} + +TDevMakeFrontend * TDevBuildTool::makeFrontend() +{ + return extension("TDevelop/MakeFrontend"); +} + +TDevAppFrontend * TDevBuildTool::appFrontend() +{ + return extension("TDevelop/AppFrontend"); +} + diff --git a/buildtools/lib/base/tdevbuildtool.h b/buildtools/lib/base/tdevbuildtool.h new file mode 100644 index 00000000..b6899f9b --- /dev/null +++ b/buildtools/lib/base/tdevbuildtool.h @@ -0,0 +1,41 @@ +/* This file is part of the KDE project + Copyright (C) 1999-2001 Bernd Gehrmann + Copyright (C) 2004 Alexander Dymo + + 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 TDEVBUILDTOOL_H +#define TDEVBUILDTOOL_H + +#include + +class TDevMakeFrontend; +class TDevAppFrontend; + +/**Base class for KDevelop build tool support plugins.*/ +class TDevBuildTool: public TDevProject +{ +public: + TDevBuildTool(const TDevPluginInfo* info, TQObject* parent, const char* name); + + /**@return The make frontend.*/ + TDevMakeFrontend *makeFrontend(); + /**@return The application frontend.*/ + TDevAppFrontend *appFrontend(); + +}; + +#endif -- cgit v1.2.3