summaryrefslogtreecommitdiffstats
path: root/cervisia/cervisiapart.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/cervisiapart.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/cervisiapart.cpp')
-rw-r--r--cervisia/cervisiapart.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/cervisiapart.cpp b/cervisia/cervisiapart.cpp
index 6fccdae6..108a4fda 100644
--- a/cervisia/cervisiapart.cpp
+++ b/cervisia/cervisiapart.cpp
@@ -649,7 +649,7 @@ void CervisiaPart::popupRequested(KListView*, TQListViewItem* item, const TQPoin
if( isFileItem(item) )
{
// remove old 'Edit with...' menu
- if( m_editWithId && popup->tqfindItem(m_editWithId) != 0 )
+ if( m_editWithId && popup->findItem(m_editWithId) != 0 )
{
popup->removeItem(m_editWithId);
delete m_currentEditMenu;
@@ -969,7 +969,7 @@ void CervisiaPart::slotCommit()
return;
TQString msg = dlg.logMessage();
- if( !recentCommits.tqcontains( msg ) )
+ if( !recentCommits.contains( msg ) )
{
recentCommits.prepend( msg );
while (recentCommits.count() > 50)
@@ -1504,7 +1504,7 @@ void CervisiaPart::slotLastChange()
int pos, lastnumber;
bool ok;
- if ( (pos = revA.tqfindRev('.')) == -1
+ if ( (pos = revA.findRev('.')) == -1
|| (lastnumber=revA.right(revA.length()-pos-1).toUInt(&ok), !ok) )
{
KMessageBox::sorry(widget(),
@@ -1757,7 +1757,7 @@ bool CervisiaPart::openSandbox(const TQString &dirname)
KConfig *conf = config();
conf->setGroup("General");
- bool dostatus = conf->readBoolEntry(repository.tqcontains(":")?
+ bool dostatus = conf->readBoolEntry(repository.contains(":")?
"StatusForRemoteRepos" :
"StatusForLocalRepos",
false);