summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/autodetailsview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /buildtools/autotools/autodetailsview.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-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 'buildtools/autotools/autodetailsview.cpp')
-rw-r--r--buildtools/autotools/autodetailsview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/buildtools/autotools/autodetailsview.cpp b/buildtools/autotools/autodetailsview.cpp
index 7002b7c8..6f1f56e8 100644
--- a/buildtools/autotools/autodetailsview.cpp
+++ b/buildtools/autotools/autodetailsview.cpp
@@ -587,7 +587,7 @@ void AutoDetailsView::slotDetailsContextMenu( KListView *, TQListViewItem *item,
popup.tqsetWhatsThis(idViewUIH, i18n("<b>Open ui.h file</b><p>Opens .ui.h file "
"associated with the selected .ui."));
- if (!fitem->name.tqcontains(TQRegExp("ui$")) || fitem->is_subst == true)
+ if (!fitem->name.contains(TQRegExp("ui$")) || fitem->is_subst == true)
{
popup.removeItem(idUISubclasses);
popup.removeItem(idViewUIH);
@@ -625,7 +625,7 @@ void AutoDetailsView::slotDetailsContextMenu( KListView *, TQListViewItem *item,
list << DomUtil::Pair(srcfile_relpath,uifile_relpath);
DomUtil::writePairListEntry(dom, "/kdevautoproject/subclassing",
"subclass", "sourcefile", "uifile", list);
- newFileNames[i] = newFileNames[i].tqreplace(TQRegExp(m_part->projectDirectory()+"/"),"");
+ newFileNames[i] = newFileNames[i].replace(TQRegExp(m_part->projectDirectory()+"/"),"");
}
m_subclasslist = DomUtil::readPairListEntry(dom,"/kdevautoproject/subclassing",
"subclass","sourcefile", "uifile");
@@ -636,13 +636,13 @@ void AutoDetailsView::slotDetailsContextMenu( KListView *, TQListViewItem *item,
{
TQString noext = m_widget->selectedSubproject()->path + "/" + fitem->name;
- if (noext.tqfindRev('.')>-1)
- noext = noext.left(noext.tqfindRev('.'));
+ if (noext.findRev('.')>-1)
+ noext = noext.left(noext.findRev('.'));
TQStringList dummy;
TQString uifile = fitem->uiFileLink;
- if (uifile.tqfindRev('/')>-1)
+ if (uifile.findRev('/')>-1)
{
TQStringList uisplit = TQStringList::split('/',uifile);
uifile=uisplit[uisplit.count()-1];