summaryrefslogtreecommitdiffstats
path: root/parts/replace/replace_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/replace/replace_part.cpp')
-rw-r--r--parts/replace/replace_part.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp
index 7a64cac8..ebeeb311 100644
--- a/parts/replace/replace_part.cpp
+++ b/parts/replace/replace_part.cpp
@@ -24,24 +24,24 @@
#include "replace_widget.h"
-static const KDevPluginInfo data("kdevreplace");
+static const KDevPluginInfo data("kdevtqreplace");
typedef KDevGenericFactory<ReplacePart> ReplaceFactory;
-K_EXPORT_COMPONENT_FACTORY(libkdevreplace, ReplaceFactory(data))
+K_EXPORT_COMPONENT_FACTORY(libkdevtqreplace, ReplaceFactory(data))
-ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin( &data, parent, name ? name : "ReplacePart" )
+ReplacePart::ReplacePart(TQObject *tqparent, const char *name, const TQStringList& )
+ : KDevPlugin( &data, tqparent, name ? name : "ReplacePart" )
{
setInstance(ReplaceFactory::instance());
- setXMLFile("kdevpart_replace.rc");
+ setXMLFile("kdevpart_tqreplace.rc");
m_widget = new ReplaceWidget(this);
- m_widget->setIcon( SmallIcon("filefind") );
+ m_widget->setIcon( SmallIcon("filetqfind") );
m_widget->setCaption(i18n("Replace"));
TQWhatsThis::add
(m_widget, i18n("<b>Replace</b><p>"
- "This window shows a preview of a string replace "
+ "This window shows a preview of a string tqreplace "
"operation. Uncheck a line to exclude that replacement. "
"Uncheck a file to exclude the whole file from the "
"operation. "
@@ -60,7 +60,7 @@ ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList&
"can enter a string or a regular expression which is then "
"searched for within all files in the locations "
"you specify. Matches will be displayed in the <b>Replace</b> window, you "
- "can replace them with the specified string, exclude them from replace operation or cancel the whole replace.") );
+ "can replace them with the specified string, exclude them from replace operation or cancel the whole tqreplace.") );
connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(enableAction()));
@@ -99,9 +99,9 @@ void ReplacePart::contextMenu(TQPopupMenu *popup, const Context *context)
if (!ident.isEmpty()) {
m_popupstr = ident;
TQString squeezed = KStringHandler::csqueeze(ident, 30);
- int id = popup->insertItem( i18n("Replace Project Wide: %1").arg(squeezed),
+ int id = popup->insertItem( i18n("Replace Project Wide: %1").tqarg(squeezed),
this, TQT_SLOT(slotReplace()) );
- popup->setWhatsThis(id, i18n("<b>Replace Project Wide</b><p>Opens the find in files dialog "
+ popup->tqsetWhatsThis(id, i18n("<b>Replace Project Wide</b><p>Opens the find in files dialog "
"and sets the pattern to the text under the cursor."));
popup->insertSeparator();
}