iamakulov icon

Untitled

iamakulov | PRO | 06/15/12 02:01:14 PM UTC | 0 ⭐ | 10529 👁️ | Never ⏰ | []
C++ (with Qt extensions) |

0 B

|

None

|

0 👍

/

0 👎

void API_VK::writeCookies() {
    QFile file(Consts::writePath() + "vk.cookie");
    qDebug() << 1;
    if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) {
        return;
    }
 
    qDebug() << 2;
    QTextStream out(&file);
    qDebug() << 3;
    for (QList<QNetworkCookie>::const_iterator i = cookies.begin(); i != cookies.end(); ++i) {
        qDebug() << 4.1;
        out << (*i).name() << ' ' << (*i).value() << '\n';
        qDebug() << 4.2;
    }
    qDebug() << 5;
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎