summaryrefslogtreecommitdiffstats
path: root/languages/cpp/pcsimporter/customimporter
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 /languages/cpp/pcsimporter/customimporter
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'languages/cpp/pcsimporter/customimporter')
-rw-r--r--languages/cpp/pcsimporter/customimporter/CMakeLists.txt8
-rw-r--r--languages/cpp/pcsimporter/customimporter/Makefile.am12
-rw-r--r--languages/cpp/pcsimporter/customimporter/kdevcustomimporter.cpp (renamed from languages/cpp/pcsimporter/customimporter/tdevcustomimporter.cpp)24
-rw-r--r--languages/cpp/pcsimporter/customimporter/kdevcustomimporter.h (renamed from languages/cpp/pcsimporter/customimporter/tdevcustomimporter.h)12
-rw-r--r--languages/cpp/pcsimporter/customimporter/kdevpcscustomimporter.desktop (renamed from languages/cpp/pcsimporter/customimporter/tdevpcscustomimporter.desktop)4
5 files changed, 30 insertions, 30 deletions
diff --git a/languages/cpp/pcsimporter/customimporter/CMakeLists.txt b/languages/cpp/pcsimporter/customimporter/CMakeLists.txt
index 90652509..c2e07bdb 100644
--- a/languages/cpp/pcsimporter/customimporter/CMakeLists.txt
+++ b/languages/cpp/pcsimporter/customimporter/CMakeLists.txt
@@ -24,14 +24,14 @@ link_directories(
##### other data ################################
-install( FILES tdevpcscustomimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevpcscustomimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libtdevcustompcsimporter (module) #########
+##### libkdevcustompcsimporter (module) #########
-tde_add_kpart( libtdevcustompcsimporter AUTOMOC
+tde_add_kpart( libkdevcustompcsimporter AUTOMOC
SOURCES
- tdevcustomimporter.cpp settingsdialog.cpp
+ kdevcustomimporter.cpp settingsdialog.cpp
settingsdialogbase.ui
LINK lang_interfaces-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/languages/cpp/pcsimporter/customimporter/Makefile.am b/languages/cpp/pcsimporter/customimporter/Makefile.am
index 1a6c1f1d..7e6a7093 100644
--- a/languages/cpp/pcsimporter/customimporter/Makefile.am
+++ b/languages/cpp/pcsimporter/customimporter/Makefile.am
@@ -1,12 +1,12 @@
INCLUDES = -I$(top_srcdir)/languages/lib/interfaces \
-I$(top_srcdir)/lib/interfaces $(all_includes)
METASOURCES = AUTO
-kde_module_LTLIBRARIES = libtdevcustompcsimporter.la
+kde_module_LTLIBRARIES = libkdevcustompcsimporter.la
-noinst_HEADERS = tdevcustomimporter.h
-libtdevcustompcsimporter_la_SOURCES = tdevcustomimporter.cpp settingsdialog.cpp settingsdialogbase.ui
-libtdevcustompcsimporter_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+noinst_HEADERS = kdevcustomimporter.h
+libkdevcustompcsimporter_la_SOURCES = kdevcustomimporter.cpp settingsdialog.cpp settingsdialogbase.ui
+libkdevcustompcsimporter_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/languages/lib/interfaces/liblang_interfaces.la
-libtdevcustompcsimporter_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
-kde_services_DATA = tdevpcscustomimporter.desktop
+libkdevcustompcsimporter_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
+kde_services_DATA = kdevpcscustomimporter.desktop
diff --git a/languages/cpp/pcsimporter/customimporter/tdevcustomimporter.cpp b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.cpp
index 33a2bf40..38a41eb8 100644
--- a/languages/cpp/pcsimporter/customimporter/tdevcustomimporter.cpp
+++ b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.cpp
@@ -7,7 +7,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
-#include "tdevcustomimporter.h"
+#include "kdevcustomimporter.h"
#include "settingsdialog.h"
@@ -17,24 +17,24 @@
#include <kdebug.h>
#include <kgenericfactory.h>
-K_EXPORT_COMPONENT_FACTORY( libtdevcustompcsimporter, KGenericFactory<TDevCustomImporter>( "tdevcustompcsimporter" ) )
+K_EXPORT_COMPONENT_FACTORY( libkdevcustompcsimporter, KGenericFactory<KDevCustomImporter>( "kdevcustompcsimporter" ) )
-TDevCustomImporter::TDevCustomImporter( TQObject* parent, const char* name, const TQStringList & // args
+KDevCustomImporter::KDevCustomImporter( TQObject* parent, const char* name, const TQStringList & // args
)
- : TDevPCSImporter( parent, name )
+ : KDevPCSImporter( parent, name )
{}
-TDevCustomImporter::~TDevCustomImporter()
+KDevCustomImporter::~KDevCustomImporter()
{}
-TQString TDevCustomImporter::dbName() const
+TQString KDevCustomImporter::dbName() const
{
return m_settings->dbName();
}
-TQStringList TDevCustomImporter::fileList( const TQString& path )
+TQStringList KDevCustomImporter::fileList( const TQString& path )
{
TQDir dir( path );
if ( !dir.exists() )
@@ -49,7 +49,7 @@ TQStringList TDevCustomImporter::fileList( const TQString& path )
return fileList;
}
-TQStringList TDevCustomImporter::fileList()
+TQStringList KDevCustomImporter::fileList()
{
if ( !m_settings )
return TQStringList();
@@ -67,7 +67,7 @@ TQStringList TDevCustomImporter::fileList()
return files;
}
-TQStringList TDevCustomImporter::includePaths()
+TQStringList KDevCustomImporter::includePaths()
{
if ( !m_settings )
return TQStringList();
@@ -75,13 +75,13 @@ TQStringList TDevCustomImporter::includePaths()
return m_settings->dirs();
}
-TQWidget* TDevCustomImporter::createSettingsPage( TQWidget* parent, const char* name )
+TQWidget* KDevCustomImporter::createSettingsPage( TQWidget* parent, const char* name )
{
m_settings = new SettingsDialog( parent, name );
return m_settings;
}
-void TDevCustomImporter::processDir( const TQString path, TQStringList & files )
+void KDevCustomImporter::processDir( const TQString path, TQStringList & files )
{
TQValueStack<TQString> s;
s.push( path );
@@ -114,5 +114,5 @@ void TDevCustomImporter::processDir( const TQString path, TQStringList & files )
while ( !s.isEmpty() );
}
-#include "tdevcustomimporter.moc"
+#include "kdevcustomimporter.moc"
//kate: indent-mode csands; tab-width 4; space-indent off;
diff --git a/languages/cpp/pcsimporter/customimporter/tdevcustomimporter.h b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.h
index 925e42f9..884a033d 100644
--- a/languages/cpp/pcsimporter/customimporter/tdevcustomimporter.h
+++ b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.h
@@ -7,23 +7,23 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
-#ifndef TDEVCUSTOMIMPORTER_H
-#define TDEVCUSTOMIMPORTER_H
+#ifndef KDEVCUSTOMIMPORTER_H
+#define KDEVCUSTOMIMPORTER_H
-#include "tdevpcsimporter.h"
+#include "kdevpcsimporter.h"
#include <tqguardedptr.h>
class SettingsDialog;
-class TDevCustomImporter : public TDevPCSImporter
+class KDevCustomImporter : public KDevPCSImporter
{
Q_OBJECT
public:
- TDevCustomImporter(TQObject* parent = 0, const char* name = 0, const TQStringList &args = TQStringList());
+ KDevCustomImporter(TQObject* parent = 0, const char* name = 0, const TQStringList &args = TQStringList());
- ~TDevCustomImporter();
+ ~KDevCustomImporter();
virtual TQString dbName() const;
virtual TQStringList fileList();
diff --git a/languages/cpp/pcsimporter/customimporter/tdevpcscustomimporter.desktop b/languages/cpp/pcsimporter/customimporter/kdevpcscustomimporter.desktop
index 50530ef8..b351a8e3 100644
--- a/languages/cpp/pcsimporter/customimporter/tdevpcscustomimporter.desktop
+++ b/languages/cpp/pcsimporter/customimporter/kdevpcscustomimporter.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
-Name=TDevPCSCustomImporter
+Name=KDevPCSCustomImporter
Name[da]=TDevelop brugerdefineret PCS-importør
Name[nds]=EgenPCS-Import för TDevelop
Name[pl]=KDevWłasnyImportPCS
@@ -40,5 +40,5 @@ Comment[zh_CN]=TDevelop 自定义目录的 PCS 导入器
Comment[zh_TW]=TDevelop 自訂目錄 PCS 匯入器
Icon=gear
ServiceTypes=TDevelop/PCSImporter
-X-TDE-Library=libtdevcustompcsimporter
+X-TDE-Library=libkdevcustompcsimporter
X-TDevelop-PCSImporter=