view import/ImportWikipediaComposers.h @ 28:7d8a6167febb classical-rdf

* Begin new text entry / search widget & test utility for it * Improve typing matching methods * Update code to use ObjectLoader/Storer instead of old-style ObjectMapper
author Chris Cannam
date Mon, 01 Mar 2010 16:51:14 +0000
parents e8f4c2b55fd8
children
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

#ifndef _IMPORT_WIKIPEDIA_COMPOSERS_H_
#define _IMPORT_WIKIPEDIA_COMPOSERS_H_

#include "Importer.h"

namespace ClassicalData {

class WikipediaComposersImporter : public Importer
{
    Q_OBJECT

public:
    virtual void setSource(QUrl source);

    virtual QObjectList getImportedObjects() { return m_objects; }

protected:
    void import(QUrl source);

    QObjectList m_objects;
};

}

Q_DECLARE_METATYPE(ClassicalData::WikipediaComposersImporter*);

#endif