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 | 94ec53c96c3d5dc4a427e7dc4bbaa863add5cfa4 (patch) | |
tree | 0425f63afbe46c26d58a6bbcf8a7e6d026a1bb7e /kipi-plugins/picasawebexport | |
parent | f899c4c05f6b7578b8317ae8a1f71801e8d4b5d0 (diff) | |
download | kipi-plugins-94ec53c96c3d5dc4a427e7dc4bbaa863add5cfa4.tar.gz kipi-plugins-94ec53c96c3d5dc4a427e7dc4bbaa863add5cfa4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/kipi-plugins@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kipi-plugins/picasawebexport')
-rw-r--r-- | kipi-plugins/picasawebexport/picasawebtalker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kipi-plugins/picasawebexport/picasawebtalker.cpp b/kipi-plugins/picasawebexport/picasawebtalker.cpp index bc9afd6..dd5b3c7 100644 --- a/kipi-plugins/picasawebexport/picasawebtalker.cpp +++ b/kipi-plugins/picasawebexport/picasawebtalker.cpp @@ -456,7 +456,7 @@ bool PicasawebTalker::addPhoto(const TQString& photoPath, FPhotoInfo& info, TQString rawFilesExt(KDcrawIface::KDcraw::rawFiles()); #endif TQFileInfo fileInfo(photoPath); - if (rawFilesExt.upper().tqcontains(fileInfo.extension(false).upper())) + if (rawFilesExt.upper().contains(fileInfo.extension(false).upper())) KDcrawIface::KDcraw::loadDcrawPreview(image, photoPath); else image.load(photoPath); @@ -680,7 +680,7 @@ void PicasawebTalker::parseResponseGetToken(const TQByteArray &data) //if it is 403 handle the error mesg //figure out the auth string from this response - if (str.tqfind("Auth=")) + if (str.find("Auth=")) { TQStringList strList = TQStringList::split("Auth=", str); m_token = strList[1]; @@ -743,7 +743,7 @@ void PicasawebTalker::parseResponseListAlbums(const TQByteArray &data) // The node data is a URL of which album id is the string following the last / // like <id>http://www.picasaweb.google.com/.../AlbumID<id> TQString albumIdUrl = detailsNode.toElement().text(); - int index = albumIdUrl.tqfindRev("/"); + int index = albumIdUrl.findRev("/"); int length = albumIdUrl.length(); TQString album_id = albumIdUrl.right(length - index - 1); fps.id = album_id; |