summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/galleryexport
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
commit94ec53c96c3d5dc4a427e7dc4bbaa863add5cfa4 (patch)
tree0425f63afbe46c26d58a6bbcf8a7e6d026a1bb7e /kipi-plugins/galleryexport
parentf899c4c05f6b7578b8317ae8a1f71801e8d4b5d0 (diff)
downloadkipi-plugins-94ec53c9.tar.gz
kipi-plugins-94ec53c9.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/galleryexport')
-rw-r--r--kipi-plugins/galleryexport/gallerytalker.cpp6
-rw-r--r--kipi-plugins/galleryexport/gallerywindow.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/kipi-plugins/galleryexport/gallerytalker.cpp b/kipi-plugins/galleryexport/gallerytalker.cpp
index 4b2fda8..8a36c19 100644
--- a/kipi-plugins/galleryexport/gallerytalker.cpp
+++ b/kipi-plugins/galleryexport/gallerytalker.cpp
@@ -509,9 +509,9 @@ void GalleryTalker::parseResponseListPhotos(const TQByteArray &data)
}
else
{
- // Boris the Gallery default URL tqcontains "=" char. So we will split the string only from the first "=" char
+ // Boris the Gallery default URL contains "=" char. So we will split the string only from the first "=" char
TQStringList strlist = TQStringList();
- strlist << line.left(line.tqfind('=')) << line.mid(line.tqfind('=')+1);
+ strlist << line.left(line.find('=')) << line.mid(line.find('=')+1);
if (strlist.count() >= 2)
{
TQString key = strlist[0];
@@ -540,7 +540,7 @@ void GalleryTalker::parseResponseListPhotos(const TQByteArray &data)
}
else if (key.startsWith("baseurl"))
{
- albumURL = value.tqreplace("\\","");
+ albumURL = value.replace("\\","");
}
}
}
diff --git a/kipi-plugins/galleryexport/gallerywindow.cpp b/kipi-plugins/galleryexport/gallerywindow.cpp
index 8d17753..ea6a4b0 100644
--- a/kipi-plugins/galleryexport/gallerywindow.cpp
+++ b/kipi-plugins/galleryexport/gallerywindow.cpp
@@ -300,7 +300,7 @@ void GalleryWindow::slotAlbums( const TQValueList<GAlbum>& albumList )
}
else
{
- TQListViewItem* tqparent = m_albumDict.tqfind( album.parent_ref_num );
+ TQListViewItem* tqparent = m_albumDict.find( album.parent_ref_num );
if ( tqparent )
{
GAlbumViewItem* item = new GAlbumViewItem( tqparent, album.title,
@@ -331,7 +331,7 @@ void GalleryWindow::slotAlbums( const TQValueList<GAlbum>& albumList )
if (lastSelectedID > 0)
{
- GAlbumViewItem* lastSelectedItem = m_albumDict.tqfind( lastSelectedID );
+ GAlbumViewItem* lastSelectedItem = m_albumDict.find( lastSelectedID );
if (lastSelectedItem)
{
m_albumView->setSelected( lastSelectedItem, true );