~air-dex/librt/pebkacsupport

« back to all changes in this revision

Viewing changes to src/pebkacfr/requests/pebkacurls.cpp

  • Committer: Romain Ducher
  • Date: 2013-09-27 23:48:01 UTC
  • Revision ID: ducher.romain@gmail.com-20130927234801-9sk3o61qwy2rao2i
Fix base URL for PEBKAC.fr (api.pebkac.fr instead of api.pebkac.com)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
namespace PEBKAC = LibRT::Pebkac;
28
28
 
29
29
// Retrieving the latst PEBKACs.
30
 
QString PEBKAC::LATEST_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.com/latest");
 
30
QString PEBKAC::LATEST_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.fr/latest");
31
31
 
32
32
// Retrieving the best PEBKACs.
33
 
QString PEBKAC::TOP_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.com/top");
 
33
QString PEBKAC::TOP_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.fr/top");
34
34
 
35
35
// Retrieving the worst PEBKACs.
36
 
QString PEBKAC::FLOP_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.com/flop");
 
36
QString PEBKAC::FLOP_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.fr/flop");
37
37
 
38
38
// Getting random PEBKACs
39
 
QString PEBKAC::RANDOM_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.com/random");
 
39
QString PEBKAC::RANDOM_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.fr/random");
40
40
 
41
41
// Showing the list of PEBKAC.fr members.
42
 
QString PEBKAC::SHOW_PEBKACFR_USERS_URL = QString::fromUtf8("http://api.pebkac.com/userlist");
 
42
QString PEBKAC::SHOW_PEBKACFR_USERS_URL = QString::fromUtf8("http://api.pebkac.fr/userlist");
43
43
 
44
44
// Showing PEBKACs of a given PEBKAC.fr member.
45
 
QString PEBKAC::SHOW_USER_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.com/user");
 
45
QString PEBKAC::SHOW_USER_PEBKACS_URL = QString::fromUtf8("http://api.pebkac.fr/user");
46
46
 
47
47
// Showing all the tags used for PEBKACs
48
 
QString PEBKAC::SHOW_TAGS_URL = QString::fromUtf8("http://api.pebkac.com/taglist");
 
48
QString PEBKAC::SHOW_TAGS_URL = QString::fromUtf8("http://api.pebkac.fr/taglist");
49
49
 
50
50
// Showing PEBKACs related to a tag.
51
 
QString PEBKAC::SHOW_PEBTAG_URL = QString::fromUtf8("http://api.pebkac.com/tag");
 
51
QString PEBKAC::SHOW_PEBTAG_URL = QString::fromUtf8("http://api.pebkac.fr/tag");
52
52
 
53
53
// Retrieving a given PEBKAC.
54
 
QString PEBKAC::SHOW_PEBKAC_URL = QString::fromUtf8("http://api.pebkac.com/pebkac");
 
54
QString PEBKAC::SHOW_PEBKAC_URL = QString::fromUtf8("http://api.pebkac.fr/pebkac");
55
55
 
56
56
// Retrieving the comments of a given PEBKAC.
57
 
QString PEBKAC::SHOW_PEBKAC_COMMENTS_URL = QString::fromUtf8("http://api.pebkac.com/pebkacComments");
 
57
QString PEBKAC::SHOW_PEBKAC_COMMENTS_URL = QString::fromUtf8("http://api.pebkac.fr/pebkacComments");