mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
VisualBuilder: Hook up everything needed for widget property editing.
It's now possible to edit widget properties inline in the properties window. We're currently relying on the basic GVariant conversion functions to do all the "parsing" but that's not gonna be good enough.
This commit is contained in:
parent
18785ba5c3
commit
3a33b8ea08
13 changed files with 123 additions and 46 deletions
|
@ -101,6 +101,17 @@ GVariant& GVariant::operator=(const GVariant& other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
GVariant& GVariant::operator=(GVariant&& other)
|
||||
{
|
||||
if (&other == this)
|
||||
return *this;
|
||||
// FIXME: Move, not copy!
|
||||
clear();
|
||||
copy_from(other);
|
||||
other.clear();
|
||||
return *this;
|
||||
}
|
||||
|
||||
GVariant::GVariant(const GVariant& other)
|
||||
{
|
||||
copy_from(other);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue