summaryrefslogtreecommitdiffstats
path: root/kio/tests/dummymeta.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/tests/dummymeta.cpp')
-rw-r--r--kio/tests/dummymeta.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/kio/tests/dummymeta.cpp b/kio/tests/dummymeta.cpp
new file mode 100644
index 000000000..be8bca2ad
--- /dev/null
+++ b/kio/tests/dummymeta.cpp
@@ -0,0 +1,20 @@
+#include <kgenericfactory.h>
+
+#include "dummymeta.h"
+
+K_EXPORT_COMPONENT_FACTORY( dummymeta, KGenericFactory<DummyMeta> )
+
+DummyMeta::DummyMeta( QObject *parent, const char *name,
+ const QStringList &preferredItems )
+ : KFilePlugin( parent, name, preferredItems )
+{
+ qDebug("---- DummyMeta::DummyMeta: got %i preferred items.", preferredItems.count());
+}
+
+bool DummyMeta::readInfo( KFileMetaInfo::Internal & info )
+{
+ qDebug("#### DummyMeta:: readInfo: %s", info.path().latin1() );
+ return 0L;
+}
+
+#include "dummymeta.moc"