summaryrefslogtreecommitdiffstats
path: root/kio/tests/dummymeta.cpp
blob: be8bca2ad09e55a63825699333dc80e7cabde9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"