Example #1
0
	void Account::handleSharedFileUrl (const QUrl& url, const QDateTime& expiredDate)
	{
		Q_UNUSED (expiredDate)
		emit gotFileUrl (url, QByteArray ());
	}
Example #2
0
	void Account::handleSharedFileId (const QString& id)
	{
		emit gotFileUrl (QUrl (QString ("https://docs.google.com/uc?id=%1&export=download")
				.arg (id)), id.toUtf8 ());
	}