Kaynağa Gözat

Fix compilation error introduced by 130deabb4. See #449

Extension of the "moc_" file will either be cpp or cxx.

Note that to be compliant with Qt [1], for Q_OBJECT class declarations in implementation
(.cpp) file, a file with ".moc" extension should be generated.

[1] http://qt-project.org/doc/qt-4.8/moc.html
Jean-Christophe Fillion-Robin 11 yıl önce
ebeveyn
işleme
e9fd96f35b

+ 1 - 1
Libs/CommandLineModules/Core/ctkCmdLineModuleFrontend.cpp

@@ -207,4 +207,4 @@ void ctkCmdLineModuleFrontend::resultReady(const ctkCmdLineModuleResult &result)
   {}
 }
 
-#include "moc_ctkCmdLineModuleFrontend.h"
+#include "moc_ctkCmdLineModuleFrontend.cpp"

+ 1 - 1
Libs/CommandLineModules/Core/ctkCmdLineModuleXmlProgressWatcher.cpp

@@ -282,4 +282,4 @@ ctkCmdLineModuleXmlProgressWatcher::~ctkCmdLineModuleXmlProgressWatcher()
 {
 }
 
-#include "moc_ctkCmdLineModuleXmlProgressWatcher.h"
+#include "moc_ctkCmdLineModuleXmlProgressWatcher.cpp"

+ 1 - 1
Libs/Widgets/ctkPathLineEdit.cpp

@@ -714,4 +714,4 @@ QSize ctkPathLineEdit::sizeHint()const
   return d->recomputeSizeHint(d->SizeHint);
 }
 
-#include "moc_ctkPathLineEdit.h"
+#include "moc_ctkPathLineEdit.cpp"

+ 1 - 1
Libs/Widgets/ctkPathListWidget.cpp

@@ -80,7 +80,7 @@ public:
 // --------------------------------------------------------------------------
 // ctkPathListWidgetPrivate methods
 
-#include "moc_ctkPathListWidget.h"
+#include "moc_ctkPathListWidget.cpp"
 
 // --------------------------------------------------------------------------
 ctkPathListWidgetPrivate::ctkPathListWidgetPrivate(ctkPathListWidget& object)