summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-07 19:01:34 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-07 19:01:34 (GMT)
commit37ba24a224b8e94d7e9f3ba06d20b13ab4d92f39 (patch)
tree3d529d2cfa92934889fe5285a9bc0f288c186c79
parentd9b4afea8444320ca51f62dc5fa49d4ee2bfa8b3 (diff)
Classimport cleanup: Move constructor and destructor definitions into cpp file.
-rw-r--r--umbrello/codeimport/classimport.cpp10
-rw-r--r--umbrello/codeimport/classimport.h4
2 files changed, 12 insertions, 2 deletions
diff --git a/umbrello/codeimport/classimport.cpp b/umbrello/codeimport/classimport.cpp
index f8e3598..ca85d2e 100644
--- a/umbrello/codeimport/classimport.cpp
+++ b/umbrello/codeimport/classimport.cpp
@@ -58,6 +58,16 @@ ClassImport *ClassImport::createImporterByFileExt(const QString &fileName, CodeI
return classImporter;
}
+ClassImport::ClassImport(CodeImpThread* thread)
+ : m_thread(thread),
+ m_enabled(true)
+{
+}
+
+ClassImport::~ClassImport()
+{
+}
+
/**
* Do initializations before importing a single file.
* This is called by importFile() before calling parseFile().
diff --git a/umbrello/codeimport/classimport.h b/umbrello/codeimport/classimport.h
index 5cdd4c7..167c997 100644
--- a/umbrello/codeimport/classimport.h
+++ b/umbrello/codeimport/classimport.h
@@ -25,8 +25,8 @@ class CodeImpThread;
class ClassImport
{
public:
- ClassImport(CodeImpThread* thread = 0) : m_thread(thread), m_enabled(true) {}
- virtual ~ClassImport() {}
+ ClassImport(CodeImpThread* thread = 0);
+ virtual ~ClassImport();
bool importFiles(const QStringList& fileNames);
bool importFile(const QString& fileName);