equal
deleted
inserted
replaced
32 static const QString kAPIVersion = "1.0"; |
32 static const QString kAPIVersion = "1.0"; |
33 static const QString kAPIFormat = "XML"; |
33 static const QString kAPIFormat = "XML"; |
34 static const char kUserAgent[] = "FacebookConnect"; |
34 static const char kUserAgent[] = "FacebookConnect"; |
35 static const QString kStringBoundary = "3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f"; |
35 static const QString kStringBoundary = "3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f"; |
36 |
36 |
37 static const double kTimeoutInterval = 180.0; |
|
38 |
|
39 |
37 |
40 /////////////////////////////////////////////////////////////////////////////////////////////////// |
38 /////////////////////////////////////////////////////////////////////////////////////////////////// |
41 |
39 |
42 static bool caseInsensitiveLessThan(const QString &s1, const QString &s2) |
40 static bool caseInsensitiveLessThan(const QString &s1, const QString &s2) |
43 { |
41 { |
133 || iMethod.compare("facebook.auth.createToken", Qt::CaseInsensitive) == 0 ); |
131 || iMethod.compare("facebook.auth.createToken", Qt::CaseInsensitive) == 0 ); |
134 } |
132 } |
135 |
133 |
136 QString FBRequest::urlForMethod (const QString& aMethod) const { |
134 QString FBRequest::urlForMethod (const QString& aMethod) const { |
137 |
135 |
|
136 Q_UNUSED(aMethod) |
138 return iSession->apiURL(); |
137 return iSession->apiURL(); |
139 } |
138 } |
140 |
139 |
141 QString FBRequest::generateGetURL() const |
140 QString FBRequest::generateGetURL() const |
142 { |
141 { |