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