mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:07:34 +00:00
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
This commit is contained in:
parent
bc319d9e88
commit
d6abfbdc5a
71 changed files with 146 additions and 156 deletions
|
@ -24,7 +24,7 @@ private:
|
|||
void set_path(const FileSystemPath& file);
|
||||
void update_title();
|
||||
|
||||
ObjectPtr<GTextEditor> m_editor;
|
||||
RefPtr<GTextEditor> m_editor;
|
||||
String m_path;
|
||||
String m_name;
|
||||
String m_extension;
|
||||
|
@ -37,12 +37,12 @@ private:
|
|||
RefPtr<GAction> m_find_next_action;
|
||||
RefPtr<GAction> m_find_previous_action;
|
||||
|
||||
ObjectPtr<GStatusBar> m_statusbar;
|
||||
RefPtr<GStatusBar> m_statusbar;
|
||||
|
||||
ObjectPtr<GTextBox> m_find_textbox;
|
||||
RefPtr<GTextBox> m_find_textbox;
|
||||
GButton* m_find_previous_button { nullptr };
|
||||
GButton* m_find_next_button { nullptr };
|
||||
ObjectPtr<GWidget> m_find_widget;
|
||||
RefPtr<GWidget> m_find_widget;
|
||||
|
||||
bool m_document_dirty { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue