summaryrefslogtreecommitdiffstats
path: root/parts/grepview
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/grepview
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/grepview')
-rw-r--r--parts/grepview/grepviewpart.cpp4
-rw-r--r--parts/grepview/grepviewwidget.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/parts/grepview/grepviewpart.cpp b/parts/grepview/grepviewpart.cpp
index 7b2822ec..627d7447 100644
--- a/parts/grepview/grepviewpart.cpp
+++ b/parts/grepview/grepviewpart.cpp
@@ -60,9 +60,9 @@ GrepViewPart::GrepViewPart( TQObject *parent, const char *name, const TQStringLi
mainWindow()->embedOutputView(m_widget, i18n("Find in Files"), i18n("Output of the grep command"));
- KAction *action;
+ TDEAction *action;
- action = new KAction(i18n("Find in Fi&les..."), "grep", CTRL+ALT+Key_F,
+ action = new TDEAction(i18n("Find in Fi&les..."), "grep", CTRL+ALT+Key_F,
this, TQT_SLOT(slotGrep()),
actionCollection(), "edit_grep");
action->setToolTip( i18n("Search for expressions over several files") );
diff --git a/parts/grepview/grepviewwidget.cpp b/parts/grepview/grepviewwidget.cpp
index 65ddf9e3..acace1b7 100644
--- a/parts/grepview/grepviewwidget.cpp
+++ b/parts/grepview/grepviewwidget.cpp
@@ -440,9 +440,9 @@ void GrepViewWidget::popupMenu(TQListBoxItem*, const TQPoint& p)
{
if(m_curOutput->isRunning()) return;
- KPopupMenu rmbMenu;
+ TDEPopupMenu rmbMenu;
- if(KAction *findAction = m_part->actionCollection()->action("edit_grep"))
+ if(TDEAction *findAction = m_part->actionCollection()->action("edit_grep"))
{
rmbMenu.insertTitle(i18n("Find in Files"));
findAction->plug(&rmbMenu);