diff options
authorGilles Caulier <[email protected]>2014-11-27 19:09:33 +0100
committerGilles Caulier <[email protected]>2014-11-27 19:09:33 +0100
commitcbb7282c38669f45af3768c18829f4aaaa1c7351 (patch)
parent6d34b06c0a94be64433f3077ed8cb47a6cc47d33 (diff)
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/plugins/kxmlhelloworld/plugin_kxmlhelloworld.cpp b/tests/plugins/kxmlhelloworld/plugin_kxmlhelloworld.cpp
index 2173cc4..997c74b 100644
--- a/tests/plugins/kxmlhelloworld/plugin_kxmlhelloworld.cpp
+++ b/tests/plugins/kxmlhelloworld/plugin_kxmlhelloworld.cpp
@@ -35,7 +35,8 @@
* but do not use it with KF5 headers (use C ANSI style instead).
-/// No need to include plugin_helloworld.h, it will be done through Qt moc file.
+// include here header file. See also loc file to plug at end of implementation.
#include "plugin_kxmlhelloworld.h"
// Qt includes
@@ -53,15 +54,11 @@
// KDE includes
-#include <kshortcut.h>
-#include <kactioncollection.h>
#include <kgenericfactory.h>
#include <klibloader.h>
#include <kpluginfactory.h>
#include <klocale.h>
#include <kmessagebox.h>
-#include <kstandarddirs.h>
-#include <kcomponentdata.h>
/// This is all libkipi headers included in this tool.
@@ -362,5 +359,6 @@ void Plugin_KXMLHelloWorld::slotActivateActionImport()
} // namespace KIPIHelloWorldPlugin
-// Moc file must be included at end because it's a plugin.
+// Moc file must be included at end because it's a plugin (it's a specific and special case where we need to do it).
#include "plugin_kxmlhelloworld.moc"