Home
last modified time | relevance | path

Searched refs:QL1S (Results 1 – 25 of 166) sorted by relevance

1234567

/dports/sysutils/lxqt-powermanagement/lxqt-powermanagement-1.0.0/src/
H A Diconproducer.cpp88 if (QIcon::themeName() == QL1S("oxygen")) in themeChanged()
129 mLevelNameMapCharging[3] = QL1S("battery-empty"); in themeChanged()
153 static QString svg_template = QL1S( in buildCircleIcon()
204 QString largeArgFlag = chargeLevel > 50 ? QL1S("1") : QL1S("0"); in buildCircleIcon()
208 svg.replace(QL1S("LARGE_ARC_FLAG"), largeArgFlag); in buildCircleIcon()
209 svg.replace(QL1S("SWEEP_FLAG"), sweepFlag); in buildCircleIcon()
214 svg.replace(QL1S("STATE_MARKER"), filledCircle); in buildCircleIcon()
217 svg.replace(QL1S("STATE_MARKER"), plus); in buildCircleIcon()
220 svg.replace(QL1S("STATE_MARKER"), minus); in buildCircleIcon()
229 svg.replace(QL1S("RED_OPACITY"), QL1S("1")); in buildCircleIcon()
[all …]
H A Dpowerbutton.cpp54 mFdPower = manager.call(QL1S("Inhibit"), QL1S("handle-power-key"), QL1S("lxqt-powermanager"), in PowerButton()
55 QL1S("lxqt-powermanager controls power key"), QL1S("block")); in PowerButton()
59 … mFdSuspend = manager.call(QL1S("Inhibit"), QL1S("handle-suspend-key"), QL1S("lxqt-powermanager"), in PowerButton()
60 QL1S("lxqt-powermanager controls suspend key"), QL1S("block")); in PowerButton()
64 …mFdHibernate = manager.call(QL1S("Inhibit"), QL1S("handle-hibernate-key"), QL1S("lxqt-powermanager… in PowerButton()
65 QL1S("lxqt-powermanager controls hibernate key"), QL1S("block")); in PowerButton()
H A Dlid.cpp39 mUPowerInterface = new QDBusInterface(QL1S("org.freedesktop.UPower"), in Lid()
40 QL1S("/org/freedesktop/UPower"), in Lid()
41 QL1S("org.freedesktop.UPower"), in Lid()
44 mUPowerPropertiesInterface = new QDBusInterface(QL1S("org.freedesktop.UPower"), in Lid()
45 QL1S("/org/freedesktop/UPower"), in Lid()
46 QL1S("org.freedesktop.DBus.Properties"), in Lid()
49 if (!QDBusConnection::systemBus().connect(QL1S("org.freedesktop.UPower"), in Lid()
50 QL1S("/org/freedesktop/UPower"), in Lid()
51 QL1S("org.freedesktop.DBus.Properties"), in Lid()
52 QL1S("PropertiesChanged"), in Lid()
/dports/devel/liblxqt/liblxqt-1.0.0/lxqtpower/
H A Dlxqtpowerproviders.cpp164 return response == QL1S("yes") || response == QL1S("challenge"); in dbusCallSystemd()
255 QL1S(UPOWER_PATH), in canAction()
263 QL1S(UPOWER_PATH), in canAction()
286 command = QL1S("Suspend"); in doAction()
295 QL1S(UPOWER_PATH), in doAction()
360 command = QL1S("Reboot"); in doAction()
450 command = QL1S("Reboot"); in doAction()
470 QL1S(SYSTEMD_PATH), in doAction()
510 return dbusCall(QL1S(LXQT_SERVICE), QL1S(LXQT_PATH), QL1S(LXQT_INTERFACE), in canAction()
535 QL1S(LXQT_PATH), in doAction()
[all …]
/dports/www/falkon/falkon-3.2.0/src/lib/tools/
H A Dscripts.cpp28 QString source = QL1S("(function() {" in setupWebChannel()
76 QString source = QL1S("(function() {" in setupFormObserver()
140 QString source = QL1S("(function() {" in setupWindowObject()
155 source += QL1S("})()"); in setupWindowObject()
170 QString source = QL1S("(function() {" in setCss()
180 style.replace(QL1S("'"), QL1S("\\'")); in setCss()
181 style.replace(QL1S("\n"), QL1S("\\n")); in setCss()
187 QString source = QL1S("(function() {" in sendPostData()
210 value.replace(QL1S("'"), QL1S("\\'")); in sendPostData()
211 key.replace(QL1S("'"), QL1S("\\'")); in sendPostData()
[all …]
/dports/deskutils/lxqt-notificationd/lxqt-notificationd-1.0.0/config/
H A Dbasicsettings.cpp90 if (QL1S("top-left") == placement) in restoreSettings()
92 else if (QL1S("top-center") == placement) in restoreSettings()
94 else if (QL1S("top-right") == placement) in restoreSettings()
112 align = QL1S("top-left"); in updateNotification()
114 align = QL1S("top-center"); in updateNotification()
116 align = QL1S("top-right"); in updateNotification()
118 align = QL1S("center-left"); in updateNotification()
120 align = QL1S("center-right"); in updateNotification()
122 align = QL1S("bottom-left"); in updateNotification()
124 align = QL1S("bottom-center"); in updateNotification()
[all …]
H A Dadvancedsettings.cpp54 int serverDecides = mSettings->value(QL1S("server_decides"), 10).toInt(); in restoreSettings()
59 spacingBox->setValue(mSettings->value(QL1S("spacing"), 6).toInt()); in restoreSettings()
60 widthBox->setValue(mSettings->value(QL1S("width"), 300).toInt()); in restoreSettings()
62 blackListEdit->setText(mSettings->value(QL1S("blackList")).toStringList().join (QL1S(","))); in restoreSettings()
73 mSettings->setValue(QL1S("server_decides"), serverDecidesBox->value()); in save()
74 mSettings->setValue(QL1S("spacing"), spacingBox->value()); in save()
75 mSettings->setValue(QL1S("width"), widthBox->value()); in save()
76 mSettings->setValue(QL1S("unattendedMaxNum"), unattendedBox->value()); in save()
84 QStringList l = blackList.split(QL1S(","), Qt::SkipEmptyParts); in save()
86 mSettings->setValue(QL1S("blackList"), l); in save()
[all …]
/dports/x11-fm/konqueror/konqueror-21.12.3/webenginepart/src/
H A Dwebengineparterrorschemehandler.cpp45 data += QL1S("data:"); in readWarningIconData()
106 doc += QL1S("</h1><h2>"); in writeErrorPage()
108 doc += QL1S("</h2>"); in writeErrorPage()
111 doc += QL1S("<h2>"); in writeErrorPage()
113 doc += QL1S("</h2>"); in writeErrorPage()
116 doc += QL1S("<h3>"); in writeErrorPage()
121 doc += QL1S("</li><li>"); in writeErrorPage()
137 doc += QL1S("</h3><p>"); in writeErrorPage()
139 doc += QL1S("</p>"); in writeErrorPage()
142 doc += QL1S("<h3>"); in writeErrorPage()
[all …]
H A Dwebengineview.cpp43 #define QL1S(x) QLatin1String(x) macro
46 #define ALTERNATE_DEFAULT_WEB_SHORTCUT QL1S("google")
47 …ATE_WEB_SHORTCUTS QStringList() << QL1S("google") << QL1S("wikipedia") << QL1S("webster"…
114 pmt.inherits(QL1S("application/x-perl")) || in extractMimeTypeFor()
115 pmt.inherits(QL1S("application/x-perl-module")) || in extractMimeTypeFor()
116 pmt.inherits(QL1S("application/x-php")) || in extractMimeTypeFor()
117 pmt.inherits(QL1S("application/x-python-bytecode")) || in extractMimeTypeFor()
118 pmt.inherits(QL1S("application/x-python")) || in extractMimeTypeFor()
119 pmt.inherits(QL1S("application/x-shellscript"))) in extractMimeTypeFor()
134 QString mimeType (QL1S("text/html")); in contextMenuEvent()
[all …]
/dports/net/kget/kget-21.12.3/extensions/konqueror/
H A Dkget_plug_in.cpp42 #define QL1S(x) QLatin1String(x) macro
140 actionCollection()->action(QL1S("show_drop"))->setEnabled(false); in showPopup()
199 if (element.hasAttribute(QL1S("href"))) in getLinks()
200 attr = QL1S("href"); in getLinks()
201 else if (element.hasAttribute(QL1S("src"))) in getLinks()
202 attr = QL1S("src"); in getLinks()
203 else if (element.hasAttribute(QL1S("data"))) in getLinks()
204 attr = QL1S("data"); in getLinks()
208 if (element.hasAttribute(QL1S("type"))) in getLinks()
209 …m_linkList << QString(QL1S("url ") + resolvedUrl.url() + QL1S(" type ") + element.attribute(QL1S("… in getLinks()
[all …]
/dports/sysutils/lxqt-powermanagement/lxqt-powermanagement-1.0.0/config/
H A Dpowermanagementsettings.cpp42 const QString LID_CLOSED_ACTION_KEY { QL1S("lidClosedAction") };
47 const QString POWER_LOW_ACTION_KEY { QL1S("powerLowAction") };
49 const QString POWER_LOW_LEVEL_KEY { QL1S("powerLowLevel") };
50 const QString SHOW_ICON_KEY { QL1S("showIcon") };
51 const QString USE_THEME_ICONS_KEY { QL1S("useThemeIcons") };
53 const QString IDLENESS_AC_TIME { QL1S("idlenessACTime") };
56 const QString IDLENESS_BACKLIGHT_TIME { QL1S("idlenessTime") };
60 const QString POWER_KEY_ACTION { QL1S("powerKeyAction") };
61 const QString SUSPEND_KEY_ACTION { QL1S("suspendKeyAction") };
219 int oldValue = value(QL1S("idlenessAction"), -1).toInt(); in getIdlenessACAction()
[all …]
/dports/www/falkon/falkon-3.2.0/src/plugins/FlashCookieManager/
H A Dfcm_plugin.cpp187 return QLatin1String(QL1S("/#SharedObjects/")); in sharedObjectDirName()
190 return QLatin1String(QL1S("/SharedObjects/")); in sharedObjectDirName()
209 settings.beginGroup(QL1S("FlashCookieManager")); in readSettings()
226 QSettings settings(m_settingsPath + QL1S(QL1S("/extensions.ini")), QSettings::IniFormat); in writeSettings()
227 settings.beginGroup(QL1S("FlashCookieManager")); in writeSettings()
378 entryList.removeAll(QL1S(".")); in loadFlashCookies()
379 entryList.removeAll(QL1S("..")); in loadFlashCookies()
382 if (path.endsWith(QL1S("#SharedObjects")) && entry == QL1S("#AppContainer")) { in loadFlashCookies()
440 if (origin == QL1S("settings.sol")) { in extractOriginFrom()
456 if (origin == QL1S("localhost") || origin == QL1S("local")) { in extractOriginFrom()
[all …]
/dports/databases/akonadi/akonadi-21.12.3/autotests/private/
H A Dakstandarddirstest.cpp13 #define QL1S(x) QStringLiteral(x) macro
24 QVERIFY(StandardDirs::agentsConfigFile(StandardDirs::ReadOnly).endsWith(QL1S("agentsrc"))); in testCondigFile()
25 QVERIFY(StandardDirs::agentsConfigFile(StandardDirs::ReadWrite).endsWith(QL1S("agentsrc"))); in testCondigFile()
26 … QVERIFY(!StandardDirs::agentsConfigFile(StandardDirs::ReadWrite).endsWith(QL1S("foo/agentsrc"))); in testCondigFile()
28 akTestSetInstanceIdentifier(QL1S("foo")); in testCondigFile()
29 QVERIFY(StandardDirs::agentsConfigFile(StandardDirs::ReadOnly).endsWith(QL1S("agentsrc"))); in testCondigFile()
30 …QVERIFY(StandardDirs::agentsConfigFile(StandardDirs::ReadWrite).endsWith(QL1S("instance/foo/agents… in testCondigFile()
36 QVERIFY(StandardDirs::saveDir("data").endsWith(QL1S("/akonadi"))); in testSaveDir()
37 QVERIFY(!StandardDirs::saveDir("data").endsWith(QL1S("foo/akonadi"))); in testSaveDir()
39 akTestSetInstanceIdentifier(QL1S("foo")); in testSaveDir()
[all …]
/dports/devel/libqtxdg/libqtxdg-3.8.0/src/qtxdg/
H A Dxdgdefaultapps.cpp41 if (cats.contains(QL1S("TerminalEmulator"))) { in getTerminal()
42 if (t->contains(QL1S("TryExec"))) { in getTerminal()
60 QL1S("text/html"), in getWebBrowserProtocolsGet()
61 QL1S("x-scheme-handler/http"), in getWebBrowserProtocolsGet()
62 QL1S("x-scheme-handler/https") in getWebBrowserProtocolsGet()
72 QL1S("x-scheme-handler/about"), in getWebBrowserProtocolsSet()
73 QL1S("x-scheme-handler/unknown") in getWebBrowserProtocolsSet()
130 return defaultApp(QL1S("x-scheme-handler/mailto")); in emailClient()
140 return defaultApp(QL1S("inode/directory")); in fileManager()
150 return setDefaultApp(QL1S("x-scheme-handler/mailto"), app); in setEmailClient()
[all …]
/dports/x11/lxqt-runner/lxqt-runner-1.0.0/configuredialog/
H A Dconfiguredialog.cpp84 …bstractButton::toggled, this, [this] (bool checked) { mSettings->setValue(QL1S("dialog/history_use… in ConfigureDialog()
85 …bstractButton::toggled, this, [this] (bool checked) { mSettings->setValue(QL1S("dialog/history_fir… in ConfigureDialog()
95 if (mSettings->value(QL1S("dialog/show_on_top"), true).toBool()) in settingsChanged()
100 ui->monitorCbx->setCurrentIndex(mSettings->value(QL1S("dialog/monitor"), -1).toInt() + 1); in settingsChanged()
101 ui->shortcutEd->setText(mSettings->value(QL1S("dialog/shortcut"), QL1S("Alt+F2")).toString()); in settingsChanged()
102 const bool history_use = mSettings->value(QL1S("dialog/history_use"), true).toBool(); in settingsChanged()
104 ui->historyFirstCb->setChecked(mSettings->value(QL1S("dialog/history_first"), true).toBool()); in settingsChanged()
106 ui->listShownItemsSB->setValue(mSettings->value(QL1S("dialog/list_shown_items"), 4).toInt()); in settingsChanged()
126 mSettings->setValue(QL1S("dialog/shortcut"), text); in shortcutChanged()
144 mSettings->setValue(QL1S("dialog/show_on_top"), index == 0); in positionCbxChanged()
[all …]
/dports/www/falkon/falkon-3.2.0/src/lib/plugins/
H A Docssupport.cpp44 return DesktopFile(tempDir + QL1S("/metadata.desktop")); in Q_GLOBAL_STATIC()
54 if (url.host() != QL1S("install")) { in handleUrl()
64 if (item.first == QL1S("url")) { in handleUrl()
66 } else if (item.first == QL1S("type")) { in handleUrl()
68 } else if (item.first == QL1S("filename")) { in handleUrl()
73 if (!fileType.startsWith(QL1S("falkon_"))) { in handleUrl()
77 if (fileType != QL1S("falkon_themes") && fileType != QL1S("falkon_extensions")) { in handleUrl()
104 if (fileType == QL1S("falkon_themes")) { in handleUrl()
106 } else if (fileType == QL1S("falkon_extensions")) { in handleUrl()
186 if (extensionType == QL1S("Extension/Python")) { in installExtension()
[all …]
/dports/www/kf5-kdewebkit/kdewebkit-5.89.0/src/
H A Dkwebpluginfactory.cpp46 #define QL1S(x) QLatin1String(x) macro
88 if (page && (QString::compare(scheme, QL1S("https"), Qt::CaseInsensitive) == 0 || in create()
89 QString::compare(scheme, QL1S("webdavs"), Qt::CaseInsensitive) == 0)) { in create()
116 return (scheme.startsWith(QL1S("http"), Qt::CaseInsensitive) in isHttpProtocol()
117 || scheme.startsWith(QL1S("webdav"), Qt::CaseInsensitive)); in isHttpProtocol()
126 if (!mime.isDefault() && !mime.name().startsWith(QL1S("inode/"))) { in extractGuessedMimeType()
146 … arguments << QString(argumentNames.at(i) + QL1S("=\"") + argumentValues.at(i) + QL1C('\"')); in createPartInstanceFrom()
156 if (mimeType.startsWith(QL1S("inode/"), Qt::CaseInsensitive)) { in excludedMimeType()
160 if (mimeType.startsWith(QL1S("application/x-java"), Qt::CaseInsensitive)) { in excludedMimeType()
164 if (mimeType == QL1S("application/x-shockwave-flash") || in excludedMimeType()
[all …]
H A Dkwebpage.cpp63 #define QL1S(x) QLatin1String(x) macro
94 if (appName == QL1S("konqueror") && offer->exec().trimmed().startsWith(QL1S("kfmclient"))) { in isMimeTypeAssociatedWithSelf()
105 if (metaData.contains(QL1S("content-type"))) { in extractMimeType()
106 mimeType = metaData.value(QL1S("content-type")); in extractMimeType()
139 job->addMetaData(QL1S("MaxCacheSize"), QL1S("0")); // Don't store in http cache. in downloadResource()
140 job->addMetaData(QL1S("cache"), QL1S("cache")); // Use entry from cache if available. in downloadResource()
347 job->addMetaData(QL1S("MaxCacheSize"), QL1S("0")); // Don't store in http cache. in downloadRequest()
348 job->addMetaData(QL1S("cache"), QL1S("cache")); // Use entry from cache if available. in downloadRequest()
477 setSessionMetaData(QL1S("no-cache"), QL1S("true")); in acceptNavigationRequest()
483 removeSessionMetaData(QL1S("no-cache")); in acceptNavigationRequest()
[all …]
/dports/databases/akonadi/akonadi-21.12.3/autotests/server/
H A Dparthelpertest.cpp15 #define QL1S(x) QString::fromLatin1(x) macro
32 QVERIFY(fileName.endsWith(QL1S("42")));
40 QTest::newRow("multi-instance") << QL1S("foo"); in testRemoveFile_data()
61 QTest::newRow("relative") << QL1S("foo");
62 QTest::newRow("absolute") << QL1S("/foo");
64 akTestSetInstanceIdentifier(QL1S("foo"));
93 akTestSetInstanceIdentifier(QL1S("foo"));
106 …QVERIFY(!PartHelper::resolveAbsolutePath("foo").contains(QL1S("//"))); // no double separa…
H A Ddbintrospectortest.cpp15 #define QL1S(x) QLatin1String(x) macro
46 QCOMPARE(introspector->hasIndexQuery(QL1S("myTable"), QL1S("myIndex")), indexQuery); in testHasIndexQuery()
66 QSqlDatabase db = QSqlDatabase::addDatabase(driverName, driverName + QL1S("hasIndex")); in testHasIndex()
72 QVERIFY(introspector->hasIndex(QL1S("myTable"), QL1S("myIndex"))); in testHasIndex()
/dports/net/quiterss/quiterss-0.19.4_1/src/adblock/
H A Dadblockrule.cpp397 encodedUrl.endsWith(QL1S(".jpg")) || in matchImage()
398 encodedUrl.endsWith(QL1S(".gif")) || in matchImage()
399 encodedUrl.endsWith(QL1S(".jpeg")); in matchImage()
419 if (parsedLine.contains(QL1S("##")) || parsedLine.contains(QL1S("#@#"))) { in parseFilter()
424 if (!parsedLine.startsWith(QL1S("##"))) { in parseFilter()
437 if (parsedLine.startsWith(QL1S("@@"))) { in parseFilter()
449 if (option.startsWith(QL1S("domain="))) { in parseFilter()
453 else if (option == QL1S("match-case")) { in parseFilter()
477 else if (option.endsWith(QL1S("image"))) { in parseFilter()
490 else if (option == QL1S("collapse")) { in parseFilter()
[all …]
/dports/www/falkon/falkon-3.2.0/src/lib/adblock/
H A Dadblockrule.cpp434 if (parsedLine.contains(QL1S("##")) || parsedLine.contains(QL1S("#@#"))) { in parseFilter()
439 if (!parsedLine.startsWith(QL1S("##"))) { in parseFilter()
452 if (parsedLine.startsWith(QL1S("@@"))) { in parseFilter()
464 if (option.startsWith(QL1S("domain="))) { in parseFilter()
468 else if (option == QL1S("match-case")) { in parseFilter()
492 else if (option.endsWith(QL1S("image"))) { in parseFilter()
512 else if (option.endsWith(QL1S("ping"))) { in parseFilter()
517 else if (option.endsWith(QL1S("media"))) { in parseFilter()
522 else if (option.endsWith(QL1S("font"))) { in parseFilter()
540 else if (option == QL1S("collapse")) { in parseFilter()
[all …]
/dports/devel/liblxqt/liblxqt-1.0.0/
H A Dlxqtsettings.cpp54 if (!mParent->contains(QL1S("__userfile__"))) in SettingsPrivate()
113 QSettings(QL1S("lxqt"), module, parent), in Settings()
394 if (QDir(path).exists(QL1S("preview.png"))) in LXQtTheme()
395 d->mPreviewImg = path + QL1S("/preview.png"); in LXQtTheme()
517 …qss.replace(QRegExp(QL1S("url.[ \\t\\s]*"), Qt::CaseInsensitive, QRegExp::RegExp2), QL1S("url(") +… in loadQss()
537 s.beginReadArray(QL1S("wallpapers")); in desktopBackground()
540 if (s.contains(QL1S("file"))) in desktopBackground()
544 if (s.contains(QL1S("file"))) in desktopBackground()
654 Settings(QL1S("lxqt")), in GlobalSettings()
665 setValue(QL1S("icon_theme"), fallback); in GlobalSettings()
[all …]
/dports/deskutils/lxqt-notificationd/lxqt-notificationd-1.0.0/src/
H A Dnotifyd.cpp254 + QL1S(" - ") + list.value(QL1S("Application")).toString() + QL1S(": ") in createTrayIcon()
255 + list.value(QL1S("Summary")).toString(); in createTrayIcon()
332 + QL1S(" - ") + list.value(QL1S("Application")).toString() + QL1S(": ") in addToUnattendedList()
333 + list.value(QL1S("Summary")).toString(); in addToUnattendedList()
367 Notify(list.value(QL1S("Application")).toString(), in restoreUnattended()
369 list.value(QL1S("Icon")).toString(), in restoreUnattended()
370 list.value(QL1S("Summary")).toString(), in restoreUnattended()
371 list.value(QL1S("Body")).toString(), in restoreUnattended()
372 list.value(QL1S("Actions")).toStringList(), in restoreUnattended()
373 list.value(QL1S("Hints")).toMap(), in restoreUnattended()
[all …]
/dports/devel/liblxqt/liblxqt-1.0.0/configdialog/
H A Dlxqtconfigdialogcmdlineoptions.cpp47 …(QCommandLineOption{QStringList{QL1S("s"), QL1S("show-page")}, QCoreApplication::tr("Choose the pa… in setCommandLine()
52 if (parser.isSet(QL1S("show-page"))) { in process()
53 d->mPage = parser.value(QL1S("show-page")); in process()

1234567