mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 10:07:34 +00:00
LibGUI: Make the ModelEditingDelegate constructor protected
This commit is contained in:
parent
4d5e144a6b
commit
ca110a6e54
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,6 @@ namespace GUI {
|
||||||
|
|
||||||
class ModelEditingDelegate {
|
class ModelEditingDelegate {
|
||||||
public:
|
public:
|
||||||
ModelEditingDelegate() {}
|
|
||||||
virtual ~ModelEditingDelegate() {}
|
virtual ~ModelEditingDelegate() {}
|
||||||
|
|
||||||
void bind(Model& model, const ModelIndex& index)
|
void bind(Model& model, const ModelIndex& index)
|
||||||
|
@ -57,6 +56,8 @@ public:
|
||||||
virtual void will_begin_editing() {}
|
virtual void will_begin_editing() {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
ModelEditingDelegate() {}
|
||||||
|
|
||||||
virtual RefPtr<Widget> create_widget() = 0;
|
virtual RefPtr<Widget> create_widget() = 0;
|
||||||
void commit()
|
void commit()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue