mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +00:00
LibGUI: Put all classes in the GUI namespace and remove the leading G
This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
parent
2d39da5405
commit
c5bd9d4ed1
337 changed files with 5400 additions and 4816 deletions
|
@ -28,9 +28,11 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
|
||||
class GCommand {
|
||||
namespace GUI {
|
||||
|
||||
class Command {
|
||||
public:
|
||||
virtual ~GCommand();
|
||||
virtual ~Command();
|
||||
|
||||
virtual void undo() {}
|
||||
virtual void redo() {}
|
||||
|
@ -38,9 +40,11 @@ public:
|
|||
String action_text() const { return m_action_text; }
|
||||
|
||||
protected:
|
||||
GCommand() {}
|
||||
Command() {}
|
||||
void set_action_text(const String& text) { m_action_text = text; }
|
||||
|
||||
private:
|
||||
String m_action_text;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue