Home
last modified time | relevance | path

Searched refs:QLatin1String (Results 1 – 25 of 93) sorted by relevance

1234

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqgeoroutingmanagerenginemapbox.cpp76 query.addQueryItem(QLatin1String("access_token"), m_accessToken); in updateQuery()
78 …query.addQueryItem(QLatin1String("annotations"), QLatin1String("duration,distance,speed,congestion… in updateQuery()
80 query.addQueryItem(QLatin1String("voice_instructions"), QLatin1String("true")); in updateQuery()
81 query.addQueryItem(QLatin1String("banner_instructions"), QLatin1String("true")); in updateQuery()
82 query.addQueryItem(QLatin1String("roundabout_exits"), QLatin1String("true")); in updateQuery()
85 …query.addQueryItem(QLatin1String("voice_units"), unit == QLocale::MetricSystem ? QLatin1String("me… in updateQuery()
92 if (voiceInstruction.value(QLatin1String("distanceAlongGeometry")).isDouble()) in parseMapboxVoiceInstruction()
93 …map.insert(QLatin1String("distance_along_geometry"), voiceInstruction.value(QLatin1String("distanc… in parseMapboxVoiceInstruction()
95 if (voiceInstruction.value(QLatin1String("announcement")).isString()) in parseMapboxVoiceInstruction()
96 …map.insert(QLatin1String("announcement"), voiceInstruction.value(QLatin1String("announcement")).to… in parseMapboxVoiceInstruction()
[all …]
H A Dqgeofiletilecachemapbox.cpp59 filename += QLatin1String("-"); in tileSpecToFilename()
61 filename += QLatin1String("-"); in tileSpecToFilename()
63 filename += QLatin1String("-"); in tileSpecToFilename()
65 filename += QLatin1String("-"); in tileSpecToFilename()
70 filename += QLatin1String("-"); in tileSpecToFilename()
74 filename += QLatin1String("-@"); in tileSpecToFilename()
78 filename += QLatin1String("."); in tileSpecToFilename()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/placesv2/
H A Dqplacedetailsreplyimpl.cpp82 if (countryCode == QLatin1String(COUNTRY_TABLE_string + COUNTRY_TABLE_indices[i])) in countryTableContains()
134 place.setPlaceId(object.value(QLatin1String("placeId")).toString()); in replyFinished()
138 place.setName(object.value(QLatin1String("name")).toString()); in replyFinished()
149 QJsonObject locationObject = object.value(QLatin1String("location")).toObject(); in replyFinished()
154 QJsonArray position = locationObject.value(QLatin1String("position")).toArray(); in replyFinished()
159 QJsonObject addressObject = locationObject.value(QLatin1String("address")).toObject(); in replyFinished()
161 address.setText(addressObject.value(QLatin1String("text")).toString()); in replyFinished()
163 address.setCountry(addressObject.value(QLatin1String("country")).toString()); in replyFinished()
164 address.setCountryCode(addressObject.value(QLatin1String("countryCode")).toString()); in replyFinished()
169 if (addressObject.contains(QLatin1String("house"))) in replyFinished()
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/browser/
H A Dsettings.cpp67 …standardLabel->setText(QString(QLatin1String("%1 %2")).arg(standardFont.family()).arg(standardFont… in loadDefaults()
72 …fixedLabel->setText(QString(QLatin1String("%1 %2")).arg(fixedFont.family()).arg(fixedFont.pointSiz… in loadDefaults()
83 settings.beginGroup(QLatin1String("MainWindow")); in loadFromSettings()
84 QString defaultHome = QLatin1String("http://qt-project.org/"); in loadFromSettings()
85 homeLineEdit->setText(settings.value(QLatin1String("home"), defaultHome).toString()); in loadFromSettings()
88 settings.beginGroup(QLatin1String("history")); in loadFromSettings()
89 int historyExpire = settings.value(QLatin1String("historyExpire")).toInt(); in loadFromSettings()
104 settings.beginGroup(QLatin1String("downloadmanager")); in loadFromSettings()
105 …QString downloadDirectory = settings.value(QLatin1String("downloadDirectory"), downloadsLocation->… in loadFromSettings()
109 settings.beginGroup(QLatin1String("general")); in loadFromSettings()
[all …]
H A Dxbel.cpp129 QString version = attributes().value(QLatin1String("version")).toString(); in read()
130 if (name() == QLatin1String("xbel") in read()
131 && (version.isEmpty() || version == QLatin1String("1.0"))) { in read()
142 Q_ASSERT(isStartElement() && name() == QLatin1String("xbel")); in readXBEL()
145 if (name() == QLatin1String("folder")) in readXBEL()
147 else if (name() == QLatin1String("bookmark")) in readXBEL()
149 else if (name() == QLatin1String("separator")) in readXBEL()
158 Q_ASSERT(isStartElement() && name() == QLatin1String("folder")); in readFolder()
161 folder->expanded = (attributes().value(QLatin1String("folded")) == QLatin1String("no")); in readFolder()
164 if (name() == QLatin1String("title")) in readFolder()
[all …]
H A Dtoolbarsearch.cpp78 settings.beginGroup(QLatin1String("toolbarsearch")); in save()
79 settings.setValue(QLatin1String("recentSearches"), m_stringListModel->stringList()); in save()
80 settings.setValue(QLatin1String("maximumSaved"), m_maxSavedSearches); in save()
87 settings.beginGroup(QLatin1String("toolbarsearch")); in load()
88 QStringList list = settings.value(QLatin1String("recentSearches")).toStringList(); in load()
89 m_maxSavedSearches = settings.value(QLatin1String("maximumSaved"), m_maxSavedSearches).toInt(); in load()
110 QUrl url(QLatin1String("http://www.google.com/search")); in searchNow()
112 urlQuery.addQueryItem(QLatin1String("q"), searchText); in searchNow()
113 urlQuery.addQueryItem(QLatin1String("ie"), QLatin1String("UTF-8")); in searchNow()
114 urlQuery.addQueryItem(QLatin1String("oe"), QLatin1String("UTF-8")); in searchNow()
[all …]
H A Ddownloadmanager.cpp113 settings.beginGroup(QLatin1String("downloadmanager")); in getFileName()
115 …QString downloadDirectory = settings.value(QLatin1String("downloadDirectory"), defaultLocation).to… in getFileName()
144 baseName = QLatin1String("unnamed_download"); in saveFileName()
305 return QString(QLatin1String("%1 %2")).arg(size).arg(unit); in dataString()
455 settings.beginGroup(QLatin1String("downloadmanager")); in save()
457 …settings.setValue(QLatin1String("removeDownloadsPolicy"), QLatin1String(removePolicyEnum.valueToKe… in save()
458 settings.setValue(QLatin1String("size"), size()); in save()
463 QString key = QString(QLatin1String("download_%1_")).arg(i); in save()
464 settings.setValue(key + QLatin1String("url"), m_downloads[i]->m_url); in save()
465 …settings.setValue(key + QLatin1String("location"), QFileInfo(m_downloads[i]->m_output).filePath()); in save()
[all …]
H A Dbrowserapplication.cpp91 QCoreApplication::setOrganizationName(QLatin1String("Qt")); in BrowserApplication()
92 QCoreApplication::setApplicationName(QLatin1String("demobrowser")); in BrowserApplication()
93 QCoreApplication::setApplicationVersion(QLatin1String("0.1")); in BrowserApplication()
119 + QString::fromLatin1(QT_VERSION_STR).remove('.') + QLatin1String("webkit"); in BrowserApplication()
154 QDesktopServices::setUrlHandler(QLatin1String("http"), this, "openUrl"); in BrowserApplication()
157 installTranslator(QLatin1String("qt_") + localSysName); in BrowserApplication()
160 settings.beginGroup(QLatin1String("sessions")); in BrowserApplication()
161 m_lastSession = settings.value(QLatin1String("lastSession")).toByteArray(); in BrowserApplication()
229 directory = QDir::homePath() + QLatin1String("/.") + QCoreApplication::applicationName(); in postLaunch()
233 setWindowIcon(QIcon(QLatin1String(":browser.svg"))); in postLaunch()
[all …]
H A Dcookiejar.cpp127 …ings(QStandardPaths::writableLocation(QStandardPaths::DataLocation) + QLatin1String("/cookies.ini"… in load()
128 …setAllCookies(qvariant_cast<QList<QNetworkCookie> >(cookieSettings.value(QLatin1String("cookies"))… in load()
129 cookieSettings.beginGroup(QLatin1String("Exceptions")); in load()
130 m_exceptions_block = cookieSettings.value(QLatin1String("block")).toStringList(); in load()
131 m_exceptions_allow = cookieSettings.value(QLatin1String("allow")).toStringList(); in load()
132 …m_exceptions_allowForSession = cookieSettings.value(QLatin1String("allowForSession")).toStringList… in load()
143 settings.beginGroup(QLatin1String("cookies")); in loadSettings()
144 QByteArray value = settings.value(QLatin1String("acceptCookies"), in loadSettings()
145 QLatin1String("AcceptOnlyFromSitesNavigatedTo")).toByteArray(); in loadSettings()
151 …value = settings.value(QLatin1String("keepCookiesUntil"), QLatin1String("KeepUntilExpire")).toByte… in loadSettings()
[all …]
H A Dnetworkaccessmanager.cpp120 settings.beginGroup(QLatin1String("proxy")); in loadSettings()
122 if (settings.value(QLatin1String("enabled"), false).toBool()) { in loadSettings()
123 if (settings.value(QLatin1String("type"), 0).toInt() == 0) in loadSettings()
127 proxy.setHostName(settings.value(QLatin1String("hostName")).toString()); in loadSettings()
128 proxy.setPort(settings.value(QLatin1String("port"), 1080).toInt()); in loadSettings()
129 proxy.setUser(settings.value(QLatin1String("userName")).toString()); in loadSettings()
130 proxy.setPassword(settings.value(QLatin1String("password")).toString()); in loadSettings()
194 QString errors = errorStrings.join(QLatin1String("\n")); in sslErrors()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqgeocodejsonparser.cpp112 QJsonObject::const_iterator ait = loc.constFind(QLatin1String("Address")); in checkLocation()
114 *errorString = QLatin1String("Expected Address element within Location object"); in checkLocation()
117 *errorString = QLatin1String("Expected Address object within Location object"); in checkLocation()
121 QJsonObject::const_iterator dpit = loc.constFind(QLatin1String("DisplayPosition")); in checkLocation()
123 *errorString = QLatin1String("Expected DisplayPosition element within Location object"); in checkLocation()
126 *errorString = QLatin1String("Expected DisplayPosition object within Location object"); in checkLocation()
130 QJsonObject::const_iterator latit = displayPosition.constFind(QLatin1String("Latitude")); in checkLocation()
132 … *errorString = QLatin1String("Expected Latitude element within Location.DisplayPosition object"); in checkLocation()
135 … *errorString = QLatin1String("Expected Latitude double within Location.DisplayPosition object"); in checkLocation()
138 QJsonObject::const_iterator lonit = displayPosition.constFind(QLatin1String("Longitude")); in checkLocation()
[all …]
H A Duri_constants.cpp40 const QString ROUTING_HOST = QLatin1String("route.api.here.com");
41 const QString GEOCODING_HOST = QLatin1String("geocoder.api.here.com");
42 const QString REVERSE_GEOCODING_HOST = QLatin1String("reverse.geocoder.api.here.com");
43 const QString PLACES_HOST = QLatin1String("places.api.here.com");
44 const QString MAP_TILES_HOST = QLatin1String("1-4.base.maps.api.here.com");
45 const QString MAP_TILES_HOST_AERIAL = QLatin1String("1-4.aerial.maps.api.here.com");
H A Dqgeofiletilecachenokia.cpp46 m_ppi = QString::number(ppi) + QLatin1String("p"); in QGeoFileTileCacheNokia()
57 filename += QLatin1String("-"); in tileSpecToFilename()
59 filename += QLatin1String("-"); in tileSpecToFilename()
61 filename += QLatin1String("-"); in tileSpecToFilename()
63 filename += QLatin1String("-"); in tileSpecToFilename()
68 filename += QLatin1String("-"); in tileSpecToFilename()
72 filename += QLatin1String("-"); in tileSpecToFilename()
75 filename += QLatin1String("."); in tileSpecToFilename()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/database/
H A Dinitdb.h96 …if (!q.exec(QLatin1String("create table books(id integer primary key, title varchar, author intege… in initDb()
98 …if (!q.exec(QLatin1String("create table authors(id integer primary key, name varchar, birthdate da… in initDb()
100 if (!q.exec(QLatin1String("create table genres(id integer primary key, name varchar)"))) in initDb()
103 if (!q.prepare(QLatin1String("insert into authors(name, birthdate) values(?, ?)"))) in initDb()
105 QVariant asimovId = addAuthor(q, QLatin1String("Isaac Asimov"), QDate(1920, 2, 1)); in initDb()
106 QVariant greeneId = addAuthor(q, QLatin1String("Graham Greene"), QDate(1904, 10, 2)); in initDb()
107 QVariant pratchettId = addAuthor(q, QLatin1String("Terry Pratchett"), QDate(1948, 4, 28)); in initDb()
109 if (!q.prepare(QLatin1String("insert into genres(name) values(?)"))) in initDb()
111 QVariant sfiction = addGenre(q, QLatin1String("Science Fiction")); in initDb()
112 QVariant fiction = addGenre(q, QLatin1String("Fiction")); in initDb()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeorouteparserosrmv5.cpp121 ordinals.append(QLatin1String("")); in exitOrdinal()
238 double bearing = maneuver.value(QLatin1String("bearing_after")).toDouble(-1.0); in instructionDepart()
295 instruction += QLatin1String(" [") + wayName + QLatin1Char(']'); in instructionFerry()
534 QString rotaryName = step.value(QLatin1String("rotary_name")).toString(); in instructionRotary()
536 int exit = maneuver.value(QLatin1String("exit")).toInt(0); in instructionRotary()
550 int exit = maneuver.value(QLatin1String("exit")).toInt(0); in instructionRoundabout()
651 QString laneTypes = maneuver.value(QLatin1String("laneTypes")).toString(); in instructionUseLane()
653 …if (laneTypes == QLatin1String("xo") || laneTypes == QLatin1String("xoo") || laneTypes == QLatin1S… in instructionUseLane()
655 laneInstruction = QLatin1String("Keep right"); in instructionUseLane()
656 …else if (laneTypes == QLatin1String("ox") || laneTypes == QLatin1String("oox") || laneTypes == QLa… in instructionUseLane()
[all …]
H A Dqgeorouteparserosrmv4.cpp91 if (instructionCode == QLatin1String("0")) in osrmInstructionDirection()
93 else if (instructionCode == QLatin1String("1")) in osrmInstructionDirection()
95 else if (instructionCode == QLatin1String("2")) in osrmInstructionDirection()
97 else if (instructionCode == QLatin1String("3")) in osrmInstructionDirection()
99 else if (instructionCode == QLatin1String("4")) in osrmInstructionDirection()
101 else if (instructionCode == QLatin1String("5")) { in osrmInstructionDirection()
109 } else if (instructionCode == QLatin1String("6")) in osrmInstructionDirection()
111 else if (instructionCode == QLatin1String("7")) in osrmInstructionDirection()
113 else if (instructionCode == QLatin1String("8")) in osrmInstructionDirection()
115 else if (instructionCode == QLatin1String("9")) in osrmInstructionDirection()
[all …]
H A Dqgeofiletilecache.cpp98 const QString basePath = baseCacheDirectory() + QLatin1String("QtLocation/"); in init()
153 formats << QLatin1String("*.*"); in loadTiles()
310 dir.setNameFilters(QStringList() << QLatin1String("*-*-*-*.*")); in clearAll()
334 formats << QLatin1String("*.*"); in clearMapId()
408 filename += QLatin1String("-"); in tileSpecToFilenameDefault()
410 filename += QLatin1String("-"); in tileSpecToFilenameDefault()
412 filename += QLatin1String("-"); in tileSpecToFilenameDefault()
414 filename += QLatin1String("-"); in tileSpecToFilenameDefault()
419 filename += QLatin1String("-"); in tileSpecToFilenameDefault()
423 filename += QLatin1String("."); in tileSpecToFilenameDefault()
[all …]
/OK3568_Linux_fs/app/QLauncher/
H A Dxdgdesktopfile.cpp57 << QLatin1String("pkexec");
60 static const QLatin1String nameKey("Name");
61 static const QLatin1String typeKey("Type");
62 static const QLatin1String ApplicationStr("Application");
63 static const QLatin1String LinkStr("Link");
64 static const QLatin1String DirectoryStr("Directory");
65 static const QLatin1String execKey("Exec");
66 static const QLatin1String iconKey("Icon");
69 QLatin1String("Desktop"),
70 QLatin1String("Download"),
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeoaddress.cpp104 const QString &newLine = QLatin1String("<br/>")) in formattedAddress()
112 if (address.countryCode() == QLatin1String("ALB") in formattedAddress()
113 || address.countryCode() == QLatin1String("MTQ")) { in formattedAddress()
118 } else if (address.countryCode() == QLatin1String("AND") in formattedAddress()
119 || address.countryCode() == QLatin1String("AUT") in formattedAddress()
120 || address.countryCode() == QLatin1String("FRA") in formattedAddress()
121 || address.countryCode() == QLatin1String("GLP") in formattedAddress()
122 || address.countryCode() == QLatin1String("GUF") in formattedAddress()
123 || address.countryCode() == QLatin1String("ITA") in formattedAddress()
124 || address.countryCode() == QLatin1String("LUX") in formattedAddress()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqplacemanagerengineosm.cpp61 if (tagKey == QLatin1String("aeroway")) in nameForTagKey()
63 else if (tagKey == QLatin1String("amenity")) in nameForTagKey()
65 else if (tagKey == QLatin1String("building")) in nameForTagKey()
67 else if (tagKey == QLatin1String("highway")) in nameForTagKey()
69 else if (tagKey == QLatin1String("historic")) in nameForTagKey()
71 else if (tagKey == QLatin1String("landuse")) in nameForTagKey()
73 else if (tagKey == QLatin1String("leisure")) in nameForTagKey()
75 else if (tagKey == QLatin1String("man_made")) in nameForTagKey()
77 else if (tagKey == QLatin1String("natural")) in nameForTagKey()
79 else if (tagKey == QLatin1String("place")) in nameForTagKey()
[all …]
H A Dqgeofiletilecacheosm.cpp128 formats << QLatin1String("*.*"); in init()
169 handleError(spec, QLatin1String("Problem with tile image")); in getFromOfflineStorage()
199 formats << QLatin1String("*.*"); in loadTiles()
226 filename += QLatin1String("-"); in tileSpecToFilename()
228 filename += QLatin1String("-"); in tileSpecToFilename()
230 filename += QLatin1String("-"); in tileSpecToFilename()
232 filename += QLatin1String("-"); in tileSpecToFilename()
234 filename += QLatin1String("-"); in tileSpecToFilename()
239 filename += QLatin1String("-"); in tileSpecToFilename()
243 filename += QLatin1String("."); in tileSpecToFilename()
H A Dqgeotileproviderosm.cpp453 const QJsonValue urlTemplate = json.value(QLatin1String("UrlTemplate")); in onNetworkReplyFinished()
454 const QJsonValue imageFormat = json.value(QLatin1String("ImageFormat")); in onNetworkReplyFinished()
455 const QJsonValue copyRightMap = json.value(QLatin1String("MapCopyRight")); in onNetworkReplyFinished()
456 const QJsonValue copyRightData = json.value(QLatin1String("DataCopyRight")); in onNetworkReplyFinished()
474 const QJsonValue enabled = json.value(QLatin1String("Enabled")); in onNetworkReplyFinished()
480 const QJsonValue copyRightStyle = json.value(QLatin1String("StyleCopyRight")); in onNetworkReplyFinished()
486 const QJsonValue minZoom = json.value(QLatin1String("MinimumZoomLevel")); in onNetworkReplyFinished()
489 const QJsonValue maxZoom = json.value(QLatin1String("MaximumZoomLevel")); in onNetworkReplyFinished()
493 const QJsonValue ts = json.value(QLatin1String("Timestamp")); in onNetworkReplyFinished()
530 offset[0] = m_urlTemplate.indexOf(QLatin1String("%x")); in setupProvider()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dgeomapsource.cpp80 if (!format.contains(QLatin1String("${"))) in toFormat()
83 format.replace(QLatin1String("${z}"), QLatin1String("%1")); in toFormat()
84 format.replace(QLatin1String("${x}"), QLatin1String("%2")); in toFormat()
85 format.replace(QLatin1String("${y}"), QLatin1String("%3")); in toFormat()
86 format.replace(QLatin1String("${token}"), QLatin1String("%4")); in toFormat()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/places/
H A Dqplacecontactdetail.cpp92 const QString QPlaceContactDetail::Phone(QLatin1String("phone"));
98 const QString QPlaceContactDetail::Email(QLatin1String("email"));
104 const QString QPlaceContactDetail::Website(QLatin1String("website"));
110 const QString QPlaceContactDetail::Fax(QLatin1String("fax"));
/OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtbase/
H A D0016-tst_qpainter-FE_-macros-are-not-defined-for-every-pl.patch54 return QLatin1String("Inexact result");
58 return QLatin1String("Underflow");
61 return QLatin1String("Overflow");
64 return QLatin1String("Divide by zero");
67 return QLatin1String("Invalid operation");
68 return QLatin1String("No exception");

1234