diff options
Diffstat (limited to 'doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp')
-rw-r--r-- | doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp b/doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp new file mode 100644 index 0000000..3f206ea --- /dev/null +++ b/doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp @@ -0,0 +1,5 @@ +//! [0] + QTextDocumentWriter writer; + writer.setFormat("odf"); // same as writer.setFormat("ODF"); +//! [0] + |