summaryrefslogtreecommitdiffstats
path: root/cervisia/updateview_items.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
commit0813b39aed2cf4c84157a22c4c9594336d93d412 (patch)
tree0f6157f9c9ecc6ed26cb98f058219a8021d3f4a6 /cervisia/updateview_items.cpp
parent35dc58791106d7a1864264063df5f3ee3f1f0f15 (diff)
downloadtdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.tar.gz
tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/updateview_items.cpp')
-rw-r--r--cervisia/updateview_items.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/updateview_items.cpp b/cervisia/updateview_items.cpp
index 44f81853..a29ca153 100644
--- a/cervisia/updateview_items.cpp
+++ b/cervisia/updateview_items.cpp
@@ -245,7 +245,7 @@ UpdateItem* UpdateDirItem::insertItem(UpdateItem* item)
UpdateItem* UpdateDirItem::findItem(const TQString& name) const
{
- const TMapItemsByName::const_iterator it = m_itemsByName.tqfind(name);
+ const TMapItemsByName::const_iterator it = m_itemsByName.find(name);
return (it != m_itemsByName.end()) ? *it : 0;
}
@@ -288,7 +288,7 @@ TQDateTime parseDateTime(const TQString &s)
TQDate date( year, month, day );
TQTime time;
int hour, minute, second;
- int pivot = s.tqfind( TQRegExp(TQString::tqfromLatin1("[0-9][0-9]:[0-9][0-9]:[0-9][0-9]")) );
+ int pivot = s.find( TQRegExp(TQString::tqfromLatin1("[0-9][0-9]:[0-9][0-9]:[0-9][0-9]")) );
if ( pivot != -1 ) {
hour = s.mid( pivot, 2 ).toInt();
minute = s.mid( pivot+3, 2 ).toInt();
@@ -337,7 +337,7 @@ void UpdateDirItem::syncWithEntries()
const TQString options(line.section('/', 4, 4));
entry.m_tag = line.section('/', 5, 5);
- const bool isBinary(options.tqfind("-kb") >= 0);
+ const bool isBinary(options.find("-kb") >= 0);
// file date in local time
entry.m_dateTime = TQFileInfo(path + entry.m_name).lastModified();
@@ -349,7 +349,7 @@ void UpdateDirItem::syncWithEntries()
entry.m_status = Cervisia::LocallyRemoved;
rev.remove(0, 1);
}
- else if (timestamp.tqfind('+') >= 0)
+ else if (timestamp.find('+') >= 0)
{
entry.m_status = Cervisia::Conflict;
}