Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma Mobile
Angelfish
Commits
25fbc2b7
Commit
25fbc2b7
authored
Feb 19, 2020
by
Jonah Brüchert
🌳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use strict typing for properties
parent
57053f35
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
8 deletions
+12
-8
src/contents/ui/AuthSheet.qml
src/contents/ui/AuthSheet.qml
+3
-1
src/contents/ui/DownloadQuestion.qml
src/contents/ui/DownloadQuestion.qml
+3
-1
src/contents/ui/ListWebView.qml
src/contents/ui/ListWebView.qml
+1
-1
src/contents/ui/NewTabQuestion.qml
src/contents/ui/NewTabQuestion.qml
+2
-2
src/contents/ui/ShareSheet.qml
src/contents/ui/ShareSheet.qml
+2
-2
src/contents/ui/WebView.qml
src/contents/ui/WebView.qml
+1
-1
No files found.
src/contents/ui/AuthSheet.qml
View file @
25fbc2b7
...
...
@@ -3,9 +3,11 @@ import QtQuick.Layouts 1.1
import
QtQuick
.
Controls
2.2
as
Controls
import
org
.
kde
.
kirigami
2.5
as
Kirigami
import
QtWebEngine
1.4
Kirigami.OverlaySheet
{
id
:
authSheet
property
var
request
property
AuthenticationDialogRequest
request
Kirigami.FormLayout
{
Layout.fillWidth
:
true
...
...
src/contents/ui/DownloadQuestion.qml
View file @
25fbc2b7
import
QtQuick
2.0
import
org
.
kde
.
kirigami
2.4
as
Kirigami
import
QtWebEngine
1.1
Kirigami.InlineMessage
{
id
:
downloadQuestion
text
:
i18n
(
"
Do you want to download this file?
"
)
showCloseButton
:
false
property
var
download
property
WebEngineDownloadItem
download
actions
:
[
Kirigami.Action
{
...
...
src/contents/ui/ListWebView.qml
View file @
25fbc2b7
...
...
@@ -36,7 +36,7 @@ Repeater {
property
bool
privateTabsMode
:
false
property
alias
currentIndex
:
tabsModel
.
currentTab
property
var
currentItem
property
WebView
currentItem
property
alias
tabsModel
:
tabsModel
...
...
src/contents/ui/NewTabQuestion.qml
View file @
25fbc2b7
...
...
@@ -5,10 +5,10 @@ import org.kde.kirigami 2.4 as Kirigami
Kirigami.InlineMessage
{
id
:
newTabQuestion
type
:
Kirigami
.
MessageType
.
Warning
text
:
url
?
i18n
(
"
Site wants to open a new tab:
\n
%1
"
,
url
.
toString
())
:
""
text
:
url
?
i18n
(
"
Site wants to open a new tab:
\n
%1
"
,
url
.
toString
())
:
""
showCloseButton
:
true
property
var
url
property
url
url
actions
:
[
Kirigami.Action
{
...
...
src/contents/ui/ShareSheet.qml
View file @
25fbc2b7
...
...
@@ -28,8 +28,8 @@ import org.kde.purpose 1.0 as Purpose
Kirigami.OverlaySheet
{
id
:
inputSheet
property
var
url
property
var
title
property
url
url
property
string
title
Purpose.AlternativesView
{
id
:
view
...
...
src/contents/ui/WebView.qml
View file @
25fbc2b7
...
...
@@ -107,7 +107,7 @@ WebEngineView {
// Custom context menu
Controls.Menu
{
property
var
request
property
ContextMenuRequest
request
id
:
contextMenu
Controls.MenuItem
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment