summaryrefslogtreecommitdiffstats
path: root/parts/grepview/grepviewpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/grepview/grepviewpart.cpp')
-rw-r--r--parts/grepview/grepviewpart.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/parts/grepview/grepviewpart.cpp b/parts/grepview/grepviewpart.cpp
index 92f4ebb6..9d6b08c5 100644
--- a/parts/grepview/grepviewpart.cpp
+++ b/parts/grepview/grepviewpart.cpp
@@ -23,26 +23,26 @@
#include <kstringhandler.h>
#include <tdetexteditor/document.h>
-#include "kdevcore.h"
-#include "kdevpartcontroller.h"
-#include "kdevmainwindow.h"
-#include "kdevplugininfo.h"
-#include "kdeveditorutil.h"
+#include "tdevcore.h"
+#include "tdevpartcontroller.h"
+#include "tdevmainwindow.h"
+#include "tdevplugininfo.h"
+#include "tdeveditorutil.h"
#include "grepviewwidget.h"
-static const KDevPluginInfo data("kdevgrepview");
+static const TDevPluginInfo data("tdevgrepview");
-K_EXPORT_COMPONENT_FACTORY(libkdevgrepview, GrepViewFactory(data))
+K_EXPORT_COMPONENT_FACTORY(libtdevgrepview, GrepViewFactory(data))
GrepViewPart::GrepViewPart( TQObject *parent, const char *name, const TQStringList & )
- : KDevPlugin( &data, parent, name ? name : "GrepViewPart" )
+ : TDevPlugin( &data, parent, name ? name : "GrepViewPart" )
{
setInstance(GrepViewFactory::instance());
- setXMLFile("kdevgrepview.rc");
+ setXMLFile("tdevgrepview.rc");
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(stopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)),
+ this, TQT_SLOT(stopButtonClicked(TDevPlugin*)) );
connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) );
connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) );
connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
@@ -83,7 +83,7 @@ GrepViewPart::~GrepViewPart()
}
-void GrepViewPart::stopButtonClicked(KDevPlugin* which)
+void GrepViewPart::stopButtonClicked(TDevPlugin* which)
{
if ( which != 0 && which != this )
return;
@@ -129,10 +129,10 @@ void GrepViewPart::slotGrep()
{
if ( !m_widget->isRunning() )
{
- TQString contextString = KDevEditorUtil::currentSelection( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ TQString contextString = TDevEditorUtil::currentSelection( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( contextString.isEmpty() )
{
- contextString = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ contextString = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
}
m_widget->showDialogWithPattern( contextString );
}