diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 | 
| commit | 330c33ab6f97b279737bf9527c9add7bb1475450 (patch) | |
| tree | 85cb998d3077ae295d65944ebb4d0189fc660ead /parts/replace/replace_part.cpp | |
| parent | 093de0db4fea89b3f94a2359c6981f353d035eb7 (diff) | |
| download | tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip | |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/replace/replace_part.cpp')
| -rw-r--r-- | parts/replace/replace_part.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp index ebeeb311..3e8242e8 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("kdevtqreplace"); +static const KDevPluginInfo data("kdevreplace");  typedef KDevGenericFactory<ReplacePart> ReplaceFactory; -K_EXPORT_COMPONENT_FACTORY(libkdevtqreplace, ReplaceFactory(data)) +K_EXPORT_COMPONENT_FACTORY(libkdevreplace, ReplaceFactory(data))  ReplacePart::ReplacePart(TQObject *tqparent, const char *name, const TQStringList& )          : KDevPlugin( &data, tqparent, name ? name : "ReplacePart" )  {      setInstance(ReplaceFactory::instance()); -    setXMLFile("kdevpart_tqreplace.rc"); +    setXMLFile("kdevpart_replace.rc");      m_widget = new ReplaceWidget(this); -    m_widget->setIcon( SmallIcon("filetqfind") ); +    m_widget->setIcon( SmallIcon("filefind") );      m_widget->setCaption(i18n("Replace"));      TQWhatsThis::add          (m_widget, i18n("<b>Replace</b><p>" -                        "This window shows a preview of a string tqreplace " +                        "This window shows a preview of a string replace "                          "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 *tqparent, const char *name, const TQStringLis                                 "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 tqreplace.") ); +                               "can replace them with the specified string, exclude them from replace operation or cancel the whole replace.") );  	connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );      connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(enableAction())); | 
