Make the model struct that emits model signals clonable
parent
96376517c6
commit
f0eb78457b
|
@ -410,6 +410,7 @@ impl FibonacciListEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct FibonacciListList {
|
||||
qobject: *const FibonacciListQObject,
|
||||
layout_about_to_be_changed: fn(*const FibonacciListQObject),
|
||||
|
@ -589,6 +590,7 @@ impl FileSystemTreeEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct FileSystemTreeTree {
|
||||
qobject: *const FileSystemTreeQObject,
|
||||
layout_about_to_be_changed: fn(*const FileSystemTreeQObject),
|
||||
|
@ -873,6 +875,7 @@ impl ProcessesEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct ProcessesTree {
|
||||
qobject: *const ProcessesQObject,
|
||||
layout_about_to_be_changed: fn(*const ProcessesQObject),
|
||||
|
@ -1131,6 +1134,7 @@ impl TimeSeriesEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct TimeSeriesList {
|
||||
qobject: *const TimeSeriesQObject,
|
||||
layout_about_to_be_changed: fn(*const TimeSeriesQObject),
|
||||
|
|
|
@ -295,6 +295,7 @@ impl %1Emitter {
|
|||
}
|
||||
r << QString(R"(}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct %1%2 {
|
||||
qobject: *const %1QObject,
|
||||
layout_about_to_be_changed: fn(*const %1QObject),
|
||||
|
|
|
@ -113,6 +113,7 @@ impl NoRoleEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct NoRoleList {
|
||||
qobject: *const NoRoleQObject,
|
||||
layout_about_to_be_changed: fn(*const NoRoleQObject),
|
||||
|
@ -312,6 +313,7 @@ impl PersonsEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct PersonsList {
|
||||
qobject: *const PersonsQObject,
|
||||
layout_about_to_be_changed: fn(*const PersonsQObject),
|
||||
|
|
|
@ -116,6 +116,7 @@ impl ListEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct ListList {
|
||||
qobject: *const ListQObject,
|
||||
layout_about_to_be_changed: fn(*const ListQObject),
|
||||
|
|
|
@ -113,6 +113,7 @@ impl PersonsEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct PersonsTree {
|
||||
qobject: *const PersonsQObject,
|
||||
layout_about_to_be_changed: fn(*const PersonsQObject),
|
||||
|
|
Loading…
Reference in New Issue