libquassel
0.10.1
libquassel-protocol
/
de.justjanne.libquassel.protocol.syncables
/
ObjectRepository
Object
Repository
class
ObjectRepository
:
StateHolder
<
ObjectRepositoryState
>
Content copied to clipboard
Functions
Functions
add
Link copied to clipboard
fun
add
(
syncable
:
SyncableStub
)
:
Boolean
Content copied to clipboard
find
Link copied to clipboard
inline
fun
<
T
:
SyncableStub
>
find
(
objectName
:
String
)
:
T
?
Content copied to clipboard
fun
find
(
className
:
String
,
objectName
:
String
)
:
SyncableStub
?
Content copied to clipboard
flow
Link copied to clipboard
open
override
fun
flow
(
)
:
MutableStateFlow
<
ObjectRepositoryState
>
Content copied to clipboard
init
Link copied to clipboard
fun
init
(
syncable
:
SyncableStub
,
properties
:
QVariantMap
)
Content copied to clipboard
remove
Link copied to clipboard
fun
remove
(
syncable
:
SyncableStub
)
Content copied to clipboard
rename
Link copied to clipboard
fun
rename
(
syncable
:
SyncableStub
,
newName
:
String
)
Content copied to clipboard
state
Link copied to clipboard
open
override
fun
state
(
)
:
ObjectRepositoryState
Content copied to clipboard