[Digikam-devel] query regarding a TODO

Saurabh Patel saurabhpatel7717 at gmail.com
Mon Mar 4 11:17:13 GMT 2013


Hello,
    I was going through kipi-plugins in digikam.In kipi-plugin for
picasawebexport I found a TODO on line 320 in picasawebwindow.cpp.I am
pasting the whole method here.

void PicasawebWindow::slotLoginDone(int errCode, const QString& errMsg)
{
    m_widget->progressBar()->hide();

   * if (errCode == 0 /*TODO&& m_talker->loggedIn()*/)*
    {
        buttonStateChange(true);
        m_token = m_talker->token();
        m_widget->m_albumsCoB->clear();
        m_talker->listAlbums(m_talker->getUserName());
    }
    else
    {
        KMessageBox::error(this, i18n("Picasaweb Call Failed: %1\n",
errMsg));
    }
}


I have a question that the method loggedIn is not defined in
picasawebtalker so is it to be implemented there.Also is it necessary since
signallogindone signal in picasawebtalker is emitted after checking success
to get username and password

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20130304/c6673aca/attachment.html>


More information about the Digikam-devel mailing list