[Kde-imaging] extragear/graphics/kipi-plugins/picasawebexport
Vardhman Jain
vardhman at gmail.com
Mon Jul 14 21:02:49 CEST 2008
SVN commit 832472 by jaiva:
Minor change to port the listAllAlbums functionality to KDE4. Along with this change and changes by others, I verified that uploading functionality works completely on KDE 4. The plugin also looks great thanks to everyone who helped in porting it.
CCMAIL=kde-imaging at kde.org
M +1 -5 picasawebtalker.cpp
--- trunk/extragear/graphics/kipi-plugins/picasawebexport/picasawebtalker.cpp #832471:832472
@@ -245,8 +245,6 @@
* which is not returned for an unauthorised request as done without the Authorization header.
*/
void PicasawebTalker::listAllAlbums() {
- //PORT TO KDE4
-#if 0
if (m_job)
{
m_job->kill();
@@ -254,9 +252,8 @@
}
QString url = "http://picasaweb.google.com/data/feed/api/user/" + m_username + "?kind=album";
- QByteArray tmp;
QString auth_string = "GoogleLogin auth=" + m_token;
- KIO::TransferJob* job = KIO::get(url, tmp, false);
+ KIO::TransferJob* job = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded" );
job->addMetaData("customHTTPHeader", "Authorization: " + auth_string );
@@ -270,7 +267,6 @@
m_job = job;
m_buffer.resize(0);
emit signalBusy( true );
-#endif
}
void PicasawebTalker::getPhotoProperty(const QString& method,const QString& argList)
More information about the Kde-imaging
mailing list