summaryrefslogtreecommitdiff
path: root/src/export/pngexporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/export/pngexporter.cpp')
-rw-r--r--src/export/pngexporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/export/pngexporter.cpp b/src/export/pngexporter.cpp
index 0d9032d..67725b7 100644
--- a/src/export/pngexporter.cpp
+++ b/src/export/pngexporter.cpp
@@ -21,19 +21,19 @@
#include "pngexporter.h"
QString
-PNGExporter::name() const
+PngExporter::name() const
{
return "Portable Network Graphics";
}
QString
-PNGExporter::extension() const
+PngExporter::extension() const
{
return ".png";
}
void
-PNGExporter::exportToFile(const QString &fileName, DiagramDocument *document)
+PngExporter::exportToFile(const QString &fileName, DiagramDocument *document)
{
QRectF boundingRect = document->itemsBoundingRect().adjusted(-2, -2, 2, 2);
QSize size(int(ceil(boundingRect.width())), int(ceil(boundingRect.height())));