summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/picasawebexport
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/picasawebexport')
-rw-r--r--kipi-plugins/picasawebexport/picasawebtalker.cpp6
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;