summaryrefslogtreecommitdiffstats
path: root/parts/replace
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/replace
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/replace')
-rw-r--r--parts/replace/replace_part.cpp2
-rw-r--r--parts/replace/replace_part.h4
-rw-r--r--parts/replace/replaceview.cpp2
-rw-r--r--parts/replace/replaceview.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp
index 7a64cac8..857c6696 100644
--- a/parts/replace/replace_part.cpp
+++ b/parts/replace/replace_part.cpp
@@ -52,7 +52,7 @@ ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList&
mainWindow()->embedOutputView( m_widget, i18n("Replace"), i18n("Project wide string replacement") );
mainWindow()->setViewAvailable( m_widget, false );
- action = new KAction(i18n("Find-Select-Replace..."), 0,
+ action = new TDEAction(i18n("Find-Select-Replace..."), 0,
CTRL+SHIFT+Key_R, this, TQT_SLOT(slotReplace()), actionCollection(), "edit_replace_across");
action->setToolTip( i18n("Project wide string replacement") );
action->setWhatsThis( i18n("<b>Find-Select-Replace</b><p>"
diff --git a/parts/replace/replace_part.h b/parts/replace/replace_part.h
index d6f79d98..fbd0f2f7 100644
--- a/parts/replace/replace_part.h
+++ b/parts/replace/replace_part.h
@@ -19,7 +19,7 @@
class ReplaceWidget;
-class KAction;
+class TDEAction;
class Context;
class ReplacePart : public KDevPlugin
@@ -39,7 +39,7 @@ public slots:
private:
TQGuardedPtr<ReplaceWidget> m_widget;
TQString m_popupstr;
- KAction* action;
+ TDEAction* action;
};
diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp
index a7cc78ca..a85b0818 100644
--- a/parts/replace/replaceview.cpp
+++ b/parts/replace/replaceview.cpp
@@ -27,7 +27,7 @@ ReplaceItem * ReplaceView::firstChild() const
}
-ReplaceView::ReplaceView( TQWidget * parent ) : KListView( parent ), _latestfile( 0 )
+ReplaceView::ReplaceView( TQWidget * parent ) : TDEListView( parent ), _latestfile( 0 )
{
setSorting( -1 );
addColumn( "" );
diff --git a/parts/replace/replaceview.h b/parts/replace/replaceview.h
index 5ed706a6..f70e41c0 100644
--- a/parts/replace/replaceview.h
+++ b/parts/replace/replaceview.h
@@ -21,7 +21,7 @@ class TQTextStream;
class TQWidget;
class ReplaceItem;
-class ReplaceView : public KListView
+class ReplaceView : public TDEListView
{
Q_OBJECT