mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
Add a view for odf files.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "odfview.h"
|
||||
#include <QtCore/QByteArray>
|
||||
|
||||
OdfView::OdfView()
|
||||
{
|
||||
}
|
||||
|
||||
bool
|
||||
OdfView::loadFile(const QString &fileName) {
|
||||
QByteArray content = "<b>"+fileName.toUtf8()+"</b>";
|
||||
setContent(content);
|
||||
return true;
|
||||
}
|
||||
|
||||
#include "moc_odfview.cpp"
|
||||
Reference in New Issue
Block a user