summaryrefslogtreecommitdiffstats
path: root/parts/quickopen
diff options
context:
space:
mode:
Diffstat (limited to 'parts/quickopen')
-rw-r--r--parts/quickopen/CMakeLists.txt8
-rw-r--r--parts/quickopen/Makefile.am14
-rw-r--r--parts/quickopen/quickopen_part.cpp28
-rw-r--r--parts/quickopen/quickopen_part.h6
-rw-r--r--parts/quickopen/quickopenclassdialog.cpp6
-rw-r--r--parts/quickopen/quickopenfiledialog.cpp4
-rw-r--r--parts/quickopen/quickopenfunctiondialog.cpp8
-rw-r--r--parts/quickopen/tdevpart_quickopen.rc (renamed from parts/quickopen/kdevpart_quickopen.rc)0
-rw-r--r--parts/quickopen/tdevquickopen.desktop (renamed from parts/quickopen/kdevquickopen.desktop)2
9 files changed, 38 insertions, 38 deletions
diff --git a/parts/quickopen/CMakeLists.txt b/parts/quickopen/CMakeLists.txt
index cb82433f..ad6fa926 100644
--- a/parts/quickopen/CMakeLists.txt
+++ b/parts/quickopen/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
-install( FILES kdevquickopen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_quickopen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevquickopen )
+install( FILES tdevquickopen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_quickopen.rc DESTINATION ${DATA_INSTALL_DIR}/tdevquickopen )
-##### libkdevquickopen (module) #################
+##### libtdevquickopen (module) #################
-tde_add_kpart( libkdevquickopen AUTOMOC
+tde_add_kpart( libtdevquickopen AUTOMOC
SOURCES
quickopen_part.cpp quickopendialog.cpp
quickopenclassdialog.cpp quickopenbase.ui
diff --git a/parts/quickopen/Makefile.am b/parts/quickopen/Makefile.am
index ca7ed3dd..cce44ae3 100644
--- a/parts/quickopen/Makefile.am
+++ b/parts/quickopen/Makefile.am
@@ -1,17 +1,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions \
-I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets $(all_includes)
-kde_module_LTLIBRARIES = libkdevquickopen.la
-libkdevquickopen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevquickopen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML)
+kde_module_LTLIBRARIES = libtdevquickopen.la
+libtdevquickopen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevquickopen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML)
-libkdevquickopen_la_SOURCES = quickopen_part.cpp quickopendialog.cpp quickopenclassdialog.cpp quickopenbase.ui quickopenfiledialog.cpp quickopenfunctiondialog.cpp quickopenfunctionchooseformbase.ui quickopenfunctionchooseform.cpp
+libtdevquickopen_la_SOURCES = quickopen_part.cpp quickopendialog.cpp quickopenclassdialog.cpp quickopenbase.ui quickopenfiledialog.cpp quickopenfunctiondialog.cpp quickopenfunctionchooseformbase.ui quickopenfunctionchooseform.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevquickopen.desktop
+service_DATA = tdevquickopen.desktop
-rcdir = $(kde_datadir)/kdevquickopen
-rc_DATA = kdevpart_quickopen.rc
+rcdir = $(kde_datadir)/tdevquickopen
+rc_DATA = tdevpart_quickopen.rc
noinst_HEADERS = quickopendialog.h quickopenclassdialog.h quickopenfiledialog.h quickopenfunctiondialog.h quickopenfunctionchooseform.h
diff --git a/parts/quickopen/quickopen_part.cpp b/parts/quickopen/quickopen_part.cpp
index 4d316e68..3a8a10c4 100644
--- a/parts/quickopen/quickopen_part.cpp
+++ b/parts/quickopen/quickopen_part.cpp
@@ -27,25 +27,25 @@
#include <kiconloader.h>
#include <tdelocale.h>
#include <klineedit.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <tdemainwindow.h>
#include <tdeparts/part.h>
#include <tdetexteditor/document.h>
-#include <kdevmainwindow.h>
-#include <kdevcore.h>
-#include <kdevpartcontroller.h>
-#include <kdevproject.h>
+#include <tdevmainwindow.h>
+#include <tdevcore.h>
+#include <tdevpartcontroller.h>
+#include <tdevproject.h>
#include <codebrowserfrontend.h>
-#include "kdeveditorutil.h"
+#include "tdeveditorutil.h"
-typedef KDevGenericFactory<QuickOpenPart> QuickOpenFactory;
-static const KDevPluginInfo data("kdevquickopen");
-K_EXPORT_COMPONENT_FACTORY( libkdevquickopen, QuickOpenFactory( data ) )
+typedef TDevGenericFactory<QuickOpenPart> QuickOpenFactory;
+static const TDevPluginInfo data("tdevquickopen");
+K_EXPORT_COMPONENT_FACTORY( libtdevquickopen, QuickOpenFactory( data ) )
using namespace KTextEditor;
@@ -53,7 +53,7 @@ QuickOpenPart::QuickOpenPart(TQObject *parent, const char *name, const TQStringL
: KDevQuickOpen(&data, parent, name ? name : "QuickOpenPart" )
{
setInstance(QuickOpenFactory::instance());
- setXMLFile("kdevpart_quickopen.rc");
+ setXMLFile("tdevpart_quickopen.rc");
m_actionQuickOpen = new TDEAction( i18n("Quick Open File..."), CTRL + ALT + Key_O,
this, TQT_SLOT(slotQuickFileOpen()),
@@ -100,14 +100,14 @@ void QuickOpenPart::slotQuickFileOpen( )
void QuickOpenPart::slotQuickOpenClass( )
{
QuickOpenClassDialog dlg( this, mainWindow()->main() );
- dlg.nameEdit->setText( KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
+ dlg.nameEdit->setText( TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
dlg.exec();
}
void QuickOpenPart::slotQuickOpenFunction()
{
QuickOpenFunctionDialog dlg( this, mainWindow()->main() );
- dlg.nameEdit->setText( KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
+ dlg.nameEdit->setText( TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
dlg.exec();
}
@@ -119,7 +119,7 @@ void QuickOpenPart::slotSwitchTo()
void QuickOpenPart::selectItem( ItemDom item )
{
- Extensions::KDevCodeBrowserFrontend* f = extension< Extensions::KDevCodeBrowserFrontend > ( "KDevelop/CodeBrowserFrontend" );
+ Extensions::TDevCodeBrowserFrontend* f = extension< Extensions::TDevCodeBrowserFrontend > ( "KDevelop/CodeBrowserFrontend" );
if(f != 0) {
ItemDom itemDom( &(*item) );
diff --git a/parts/quickopen/quickopen_part.h b/parts/quickopen/quickopen_part.h
index fa1d85e3..aff0d4f6 100644
--- a/parts/quickopen/quickopen_part.h
+++ b/parts/quickopen/quickopen_part.h
@@ -18,11 +18,11 @@
*
*/
-#ifndef __KDEVPART_QUICKOPEN_H__
-#define __KDEVPART_QUICKOPEN_H__
+#ifndef __TDEVPART_QUICKOPEN_H__
+#define __TDEVPART_QUICKOPEN_H__
#include <tqguardedptr.h>
-#include <kdevquickopen.h>
+#include <tdevquickopen.h>
#include <codemodel.h>
class TDEAction;
diff --git a/parts/quickopen/quickopenclassdialog.cpp b/parts/quickopen/quickopenclassdialog.cpp
index 37987166..7dcfd48b 100644
--- a/parts/quickopen/quickopenclassdialog.cpp
+++ b/parts/quickopen/quickopenclassdialog.cpp
@@ -18,9 +18,9 @@
*
*/
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
-#include <kdevlanguagesupport.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
+#include <tdevlanguagesupport.h>
#include <tdelistbox.h>
#include <tdelocale.h>
diff --git a/parts/quickopen/quickopenfiledialog.cpp b/parts/quickopen/quickopenfiledialog.cpp
index 18f15974..fc8da49a 100644
--- a/parts/quickopen/quickopenfiledialog.cpp
+++ b/parts/quickopen/quickopenfiledialog.cpp
@@ -18,8 +18,8 @@
*
*/
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
#include <tdelistbox.h>
diff --git a/parts/quickopen/quickopenfunctiondialog.cpp b/parts/quickopen/quickopenfunctiondialog.cpp
index bbcab7e4..14f7a984 100644
--- a/parts/quickopen/quickopenfunctiondialog.cpp
+++ b/parts/quickopen/quickopenfunctiondialog.cpp
@@ -28,11 +28,11 @@
#include <tdemessagebox.h>
#include <klineedit.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <codemodel_utils.h>
-#include <kdevpartcontroller.h>
-#include <kdevproject.h>
-#include <kdevlanguagesupport.h>
+#include <tdevpartcontroller.h>
+#include <tdevproject.h>
+#include <tdevlanguagesupport.h>
#include <tqregexp.h>
diff --git a/parts/quickopen/kdevpart_quickopen.rc b/parts/quickopen/tdevpart_quickopen.rc
index 6a50fc22..6a50fc22 100644
--- a/parts/quickopen/kdevpart_quickopen.rc
+++ b/parts/quickopen/tdevpart_quickopen.rc
diff --git a/parts/quickopen/kdevquickopen.desktop b/parts/quickopen/tdevquickopen.desktop
index 42a8e8ff..ed500ad4 100644
--- a/parts/quickopen/kdevquickopen.desktop
+++ b/parts/quickopen/tdevquickopen.desktop
@@ -75,6 +75,6 @@ GenericName[zh_TW]=快速開啟
Icon=tdevelop
ServiceTypes=TDevelop/QuickOpen
X-TDevelop-Scope=Project
-X-TDE-Library=libkdevquickopen
+X-TDE-Library=libtdevquickopen
X-TDevelop-Version=5
X-TDevelop-Properties=CodeNavigation