summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extras
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /lib/interfaces/extras
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'lib/interfaces/extras')
-rw-r--r--lib/interfaces/extras/CMakeLists.txt8
-rw-r--r--lib/interfaces/extras/Makefile.am14
-rw-r--r--lib/interfaces/extras/kdevcompileroptions.cpp8
-rw-r--r--lib/interfaces/extras/kdevcompileroptions.h (renamed from lib/interfaces/extras/tdevcompileroptions.h)20
-rw-r--r--lib/interfaces/extras/kdevvcsintegrator.cpp (renamed from lib/interfaces/extras/tdevvcsintegrator.cpp)6
-rw-r--r--lib/interfaces/extras/kdevvcsintegrator.h (renamed from lib/interfaces/extras/tdevvcsintegrator.h)10
-rw-r--r--lib/interfaces/extras/tdevcompileroptions.cpp8
7 files changed, 37 insertions, 37 deletions
diff --git a/lib/interfaces/extras/CMakeLists.txt b/lib/interfaces/extras/CMakeLists.txt
index afe233aa..eb4cdb75 100644
--- a/lib/interfaces/extras/CMakeLists.txt
+++ b/lib/interfaces/extras/CMakeLists.txt
@@ -22,7 +22,7 @@ link_directories(
##### headers ###################################
install( FILES
- tdevcompileroptions.h tdevvcsintegrator.h
+ kdevcompileroptions.h kdevvcsintegrator.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/interfaces/extras )
install( FILES
@@ -30,10 +30,10 @@ install( FILES
DESTINATION ${SERVICETYPES_INSTALL_DIR} )
-##### tdevextras (shared) #######################
+##### kdevextras (shared) #######################
-tde_add_library( tdevextras SHARED AUTOMOC
- SOURCES tdevcompileroptions.cpp tdevvcsintegrator.cpp
+tde_add_library( kdevextras SHARED AUTOMOC
+ SOURCES kdevcompileroptions.cpp kdevvcsintegrator.cpp
VERSION 0.0.0
LINK ${TQT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
diff --git a/lib/interfaces/extras/Makefile.am b/lib/interfaces/extras/Makefile.am
index c504621e..67615223 100644
--- a/lib/interfaces/extras/Makefile.am
+++ b/lib/interfaces/extras/Makefile.am
@@ -1,18 +1,18 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util \
$(all_includes)
METASOURCES = AUTO
-libtdevextras_la_LIBADD = $(LIB_QT)
-libtdevextras_la_LDFLAGS = $(all_libraries)
-lib_LTLIBRARIES = libtdevextras.la
+libkdevextras_la_LIBADD = $(LIB_QT)
+libkdevextras_la_LDFLAGS = $(all_libraries)
+lib_LTLIBRARIES = libkdevextras.la
tdevelopincludedir = $(includedir)/tdevelop/interfaces/extras
servicetypedir = $(kde_servicetypesdir)
-tdevelopinclude_HEADERS = tdevcompileroptions.h tdevvcsintegrator.h
-libtdevextras_la_SOURCES = tdevcompileroptions.cpp tdevvcsintegrator.cpp
+tdevelopinclude_HEADERS = kdevcompileroptions.h kdevvcsintegrator.h
+libkdevextras_la_SOURCES = kdevcompileroptions.cpp kdevvcsintegrator.cpp
servicetype_DATA = tdevelopcompileroptions.desktop \
tdevelopvcsintegrator.desktop
-DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevinterfaces
+DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevinterfaces
DOXYGEN_PROJECTNAME = TDevelop Extra Interfaces Library
-DOXYGEN_DOCDIRPREFIX = tdev
+DOXYGEN_DOCDIRPREFIX = kdev
include ../../../Doxyfile.am
diff --git a/lib/interfaces/extras/kdevcompileroptions.cpp b/lib/interfaces/extras/kdevcompileroptions.cpp
new file mode 100644
index 00000000..22c701f1
--- /dev/null
+++ b/lib/interfaces/extras/kdevcompileroptions.cpp
@@ -0,0 +1,8 @@
+#include "kdevcompileroptions.h"
+
+KDevCompilerOptions::KDevCompilerOptions( TQObject * parent, const char * name )
+ :TQObject(parent, name)
+{
+}
+
+#include "kdevcompileroptions.moc"
diff --git a/lib/interfaces/extras/tdevcompileroptions.h b/lib/interfaces/extras/kdevcompileroptions.h
index b8509a99..6544c5d0 100644
--- a/lib/interfaces/extras/tdevcompileroptions.h
+++ b/lib/interfaces/extras/kdevcompileroptions.h
@@ -19,12 +19,12 @@
*/
/**
-@file tdevcompileroptions.h
+@file kdevcompileroptions.h
The interface to compiler options configuration.
*/
-#ifndef _TDEVCOMPILEROPTIONS_H_
-#define _TDEVCOMPILEROPTIONS_H_
+#ifndef _KDEVCOMPILEROPTIONS_H_
+#define _KDEVCOMPILEROPTIONS_H_
#include <tqobject.h>
@@ -34,7 +34,7 @@ Used by build systems to give users a compiler options configuration dialog.
Common use case:
@code
-static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent )
+static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent )
{
KService::Ptr service = KService::serviceByDesktopName( name );
if ( !service )
@@ -50,17 +50,17 @@ static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(parent, service->name().latin1(),
- "TDevCompilerOptions", args);
+ "KDevCompilerOptions", args);
- if (!obj->inherits("TDevCompilerOptions"))
+ if (!obj->inherits("KDevCompilerOptions"))
return 0;
- TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj;
+ KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg;
}
...
-TDevCompilerOptions *plugin = createCompilerOptions(compilerName, parent);
+KDevCompilerOptions *plugin = createCompilerOptions(compilerName, parent);
TQString flags = ""; //old compiler flags
if ( plugin )
{
@@ -69,13 +69,13 @@ if ( plugin )
}
@endcode
*/
-class TDevCompilerOptions : public TQObject
+class KDevCompilerOptions : public TQObject
{
Q_OBJECT
public:
- TDevCompilerOptions( TQObject *parent=0, const char *name=0 );
+ KDevCompilerOptions( TQObject *parent=0, const char *name=0 );
/**
* Opens a dialog which allows the user to configure the
diff --git a/lib/interfaces/extras/tdevvcsintegrator.cpp b/lib/interfaces/extras/kdevvcsintegrator.cpp
index 26bf915d..5a6ab429 100644
--- a/lib/interfaces/extras/tdevvcsintegrator.cpp
+++ b/lib/interfaces/extras/kdevvcsintegrator.cpp
@@ -16,11 +16,11 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#include "tdevvcsintegrator.h"
+#include "kdevvcsintegrator.h"
-TDevVCSIntegrator::TDevVCSIntegrator(TQObject *parent, const char *name)
+KDevVCSIntegrator::KDevVCSIntegrator(TQObject *parent, const char *name)
:TQObject(parent, name)
{
}
-#include "tdevvcsintegrator.moc"
+#include "kdevvcsintegrator.moc"
diff --git a/lib/interfaces/extras/tdevvcsintegrator.h b/lib/interfaces/extras/kdevvcsintegrator.h
index 23ee6c22..793070b3 100644
--- a/lib/interfaces/extras/tdevvcsintegrator.h
+++ b/lib/interfaces/extras/kdevvcsintegrator.h
@@ -16,13 +16,13 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#ifndef TDEVVCSINTEGRATOR_H
-#define TDEVVCSINTEGRATOR_H
+#ifndef KDEVVCSINTEGRATOR_H
+#define KDEVVCSINTEGRATOR_H
#include <tqobject.h>
/**
-@file tdevvcsintegrator.h
+@file kdevvcsintegrator.h
The interface to VCS integrators.
*/
@@ -62,11 +62,11 @@ The interface to VCS integrators.
VCS integrator takes care about setting up VCS for new and existing projects.
It can, for example, perform checkout or import operations.
*/
-class TDevVCSIntegrator: public TQObject {
+class KDevVCSIntegrator: public TQObject {
Q_OBJECT
public:
- TDevVCSIntegrator(TQObject *parent = 0, const char *name = 0);
+ KDevVCSIntegrator(TQObject *parent = 0, const char *name = 0);
/**Reimplement to return a dialog to fetch the project from VCS.*/
virtual VCSDialog *fetcher(TQWidget *parent) = 0;
diff --git a/lib/interfaces/extras/tdevcompileroptions.cpp b/lib/interfaces/extras/tdevcompileroptions.cpp
deleted file mode 100644
index 9eead32f..00000000
--- a/lib/interfaces/extras/tdevcompileroptions.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "tdevcompileroptions.h"
-
-TDevCompilerOptions::TDevCompilerOptions( TQObject * parent, const char * name )
- :TQObject(parent, name)
-{
-}
-
-#include "tdevcompileroptions.moc"