kdelibs/kdeui/tests/proxymodeltestsuite/templates/modelreset.cpp
2014-11-13 01:04:59 +02:00

8 lines
155 B
C++

{
ModelResetCommand resetCommand(&rootModel);
resetCommand.setInitialTree(
{{ event.interpretString }}
);
resetCommand.doCommand();
}