Optional C++ namespaces (#4759)

Co-authored-by: Michael Winkelmann <michael@winkelmann.site>
This commit is contained in:
Wilston Oreo 2024-03-06 19:43:11 +01:00 committed by GitHub
parent 43266f7f76
commit bef532b5fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 148 additions and 19 deletions

View file

@ -5,7 +5,8 @@
int main()
{
auto demo = MainWindow::create();
auto demo = todo_ui::MainWindow::create();
using todo_ui::TodoItem;
auto todo_model = std::make_shared<slint::VectorModel<TodoItem>>(std::vector {
TodoItem { "Implement the .slint file", true },