summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp
blob: 3f206ea2b616b70f0c15ab00e7da4530bd47e9b7 (plain)
1
2
3
4
5
//! [0]
        QTextDocumentWriter writer;
        writer.setFormat("odf"); // same as writer.setFormat("ODF");
//! [0]