aboutsummaryrefslogtreecommitdiffstats
path: root/templatelayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'templatelayout.cpp')
-rw-r--r--templatelayout.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/templatelayout.cpp b/templatelayout.cpp
index a5d4b2329..6083d7b91 100644
--- a/templatelayout.cpp
+++ b/templatelayout.cpp
@@ -3,16 +3,7 @@
#include "templatelayout.h"
#include "helpers.h"
-TemplateLayout::TemplateLayout()
-{
-}
-
-TemplateLayout::~TemplateLayout()
-{
- delete m_engine;
-}
-
-int TemplateLayout::getTotalWork()
+int getTotalWork()
{
int dives = 0, i;
struct dive *dive;
@@ -25,6 +16,15 @@ int TemplateLayout::getTotalWork()
return dives;
}
+TemplateLayout::TemplateLayout()
+{
+}
+
+TemplateLayout::~TemplateLayout()
+{
+ delete m_engine;
+}
+
QString TemplateLayout::generate()
{
int progress = 0;