9 bool operator<(const YTRegion &other) const {
10 return name < other.name;
14 class YTRegions : public QObject {
17 static const QList<YTRegion> & list();
18 static const YTRegion & localRegion();
19 static const YTRegion & worldwideRegion();
20 static void setRegion(QString regionId);
21 static QString currentRegionId();
22 static YTRegion currentRegion();
23 static QIcon iconForRegionId(QString regionId);
26 static YTRegion r(QString name, QString id);
27 static YTRegion regionById(QString id);