diff options
Diffstat (limited to 'kipi-plugins/galleryexport')
-rw-r--r-- | kipi-plugins/galleryexport/gallerytalker.cpp | 6 | ||||
-rw-r--r-- | kipi-plugins/galleryexport/gallerywindow.cpp | 4 |
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 ); |