src/facebook/facebookphotointerface.cpp
bool FacebookPhotoInterface::uploadComment(const QString &message)
{
// <<< uploadComment
    Q_D(FacebookPhotoInterface);
    QVariantMap postData;
    postData.insert("message", message);

    bool requestMade = d->request(IdentifiableContentItemInterfacePrivate::Post,
                                  identifier(), QLatin1String("comments"),
                                  QStringList(), postData);

    if (!requestMade)
        return false;

    d->action = FacebookInterfacePrivate::UploadCommentAction;
    d->connectFinishedAndErrors();
    return true;
// >>> uploadComment
}
/*!
    \qmlmethod bool FacebookPhoto::uploadComment(const QString &message)
    Initiates a "post comment" operation on the photo.  The comment
    will contain the specified \a message.
    
    If the network request was started successfully, the function
    will return true and the status of the photo will change to
    \c SocialNetwork::Busy.  Otherwise, the function will return
    false.
    
    Once the network request completes, the \c responseReceived()
    signal will be emitted.  The \c data parameter of the signal
    will contain the \c id of the newly uploaded comment.*/
\qmlmethod bool FacebookPhoto::uploadComment(const QString &message)
Initiates a "post comment" operation on the photo.  The comment
will contain the specified \a message.

If the network request was started successfully, the function
will return true and the status of the photo will change to
\c SocialNetwork::Busy.  Otherwise, the function will return
false.

Once the network request completes, the \c responseReceived()
signal will be emitted.  The \c data parameter of the signal
will contain the \c id of the newly uploaded comment.
\ qmlmethod bool FacebookPhoto :: uploadComment ( const QString &message ) Initiates a " post comment " operation on the photo . The comment will contain the specified \ a message . If the network request was started successfully the function will return true and the status of the photo will change to \ c SocialNetwork :: Busy . Otherwise the function will return false . Once the network request completes the \ c responseReceived () signal will be emitted . The \ c data parameter of the signal will contain the \ c id of the newly uploaded comment .
bool FacebookPhotoInterface::uploadComment(const QString &message)
{
    Q_D(FacebookPhotoInterface);
    QVariantMap postData;
    postData.insert("message", message);
    bool requestMade = d->request(IdentifiableContentItemInterfacePrivate::Post,
                                  identifier(), QLatin1String("comments"),
                                  QStringList(), postData);
    if (!requestMade)
        return false;
    d->action = FacebookInterfacePrivate::UploadCommentAction;
    d->connectFinishedAndErrors();
    return true;
}
bool FacebookPhotoInterface :: uploadComment ( const QString & message ) { Q_D ( FacebookPhotoInterface ) ; QVariantMap postData ; postData . insert ( " " , message ) ; bool requestMade = d -> request ( IdentifiableContentItemInterfacePrivate :: Post , identifier ( ) , QLatin1String ( " " ) , QStringList ( ) , postData ) ; if ( ! requestMade ) return false ; d -> action = FacebookInterfacePrivate :: UploadCommentAction ; d -> connectFinishedAndErrors ( ) ; return true ; }
\qmlmethod bool FacebookPhoto::uploadComment(const QString &message)
Initiates a "post comment" operation on the photo.
\ qmlmethod bool FacebookPhoto :: uploadComment ( const QString &message ) Initiates a " post comment " operation on the photo .
// <<< uploadComment // >>> uploadComment