Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F114551
MatrixPromiseMock.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
476 B
Referenced Files
None
Subscribers
None
MatrixPromiseMock.qml
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import
QtQuick
2.15
QtObject
{
signal
resolved
(
var
isSuccess
,
var
data
)
signal
succeeded
(
var
data
)
signal
failed
(
var
data
)
function
onResolved
(
isSuccess
,
data
)
{
if
(
isSuccess
)
{
succeeded
(
data
);
}
else
{
failed
(
data
);
}
}
function
resolve
(
isSuccess
,
data
)
{
resolved
(
isSuccess
,
data
);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 11:22 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40286
Default Alt Text
MatrixPromiseMock.qml (476 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment