summaryrefslogtreecommitdiffstats
path: root/examples/designer/taskmenuextension/tictactoeplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/designer/taskmenuextension/tictactoeplugin.cpp')
-rw-r--r--examples/designer/taskmenuextension/tictactoeplugin.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/designer/taskmenuextension/tictactoeplugin.cpp b/examples/designer/taskmenuextension/tictactoeplugin.cpp
index 0ab11ce..8f11c49 100644
--- a/examples/designer/taskmenuextension/tictactoeplugin.cpp
+++ b/examples/designer/taskmenuextension/tictactoeplugin.cpp
@@ -124,6 +124,14 @@ QString TicTacToePlugin::domXml() const
return QLatin1String("\
<ui language=\"c++\">\
<widget class=\"TicTacToe\" name=\"ticTacToe\"/>\
+ <customwidgets>\
+ <customwidget>\
+ <class>TicTacToe</class>\
+ <propertyspecifications>\
+ <stringpropertyspecification name=\"state\" notr=\"true\" type=\"singleline\"/>\
+ </propertyspecifications>\
+ </customwidget>\
+ </customwidgets>\
</ui>");
}