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 | 6bb0f6dafc28bba6a75f17f947f7fef051a87c5a (patch) | |
tree | 6d0c7a85124cbd70533b3727f6dcb6a12f82f789 /kdpkg | |
parent | 48371ee0afa4611d75357d7343cb739bde898582 (diff) | |
download | kdpkg-6bb0f6dafc28bba6a75f17f947f7fef051a87c5a.tar.gz kdpkg-6bb0f6dafc28bba6a75f17f947f7fef051a87c5a.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdpkg@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdpkg')
-rw-r--r-- | kdpkg/kdpkg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdpkg/kdpkg.cpp b/kdpkg/kdpkg.cpp index a8ecd01..fb5f594 100644 --- a/kdpkg/kdpkg.cpp +++ b/kdpkg/kdpkg.cpp @@ -173,16 +173,16 @@ TQStringList kdpkg::getVersions(TQString package) TQStringList input = TQStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() ); TQString sysVersion = input[1]; - sysVersion = TQStringList::split( ":", sysVersion)[1].tqreplace(" ",""); + sysVersion = TQStringList::split( ":", sysVersion)[1].replace(" ",""); - if( sysVersion.tqcontains("(") || sysVersion == "" ) + if( sysVersion.contains("(") || sysVersion == "" ) sysVersion = i18n("not installed"); TQString repVersion = input[2]; - repVersion = TQStringList::split( ":", repVersion)[1].tqreplace(" ",""); + repVersion = TQStringList::split( ":", repVersion)[1].replace(" ",""); - if( repVersion.tqcontains("(") || repVersion == "" ) + if( repVersion.contains("(") || repVersion == "" ) repVersion = i18n("not available"); |