To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / import / ImportWikipediaWorksList.h
History | View | Annotate | Download (544 Bytes)
| 1 |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
|---|---|
| 2 |
|
| 3 |
#ifndef _IMPORT_WIKIPEDIA_WORKS_LIST_H_
|
| 4 |
#define _IMPORT_WIKIPEDIA_WORKS_LIST_H_
|
| 5 |
|
| 6 |
#include "Importer.h" |
| 7 |
|
| 8 |
namespace ClassicalData {
|
| 9 |
|
| 10 |
class WikipediaWorksListImporter : public Importer |
| 11 |
{
|
| 12 |
Q_OBJECT |
| 13 |
|
| 14 |
public: |
| 15 |
virtual void setSource(QUrl source);
|
| 16 |
|
| 17 |
virtual QObjectList getImportedObjects() { return m_objects; }
|
| 18 |
|
| 19 |
protected:
|
| 20 |
void import(QUrl source);
|
| 21 |
|
| 22 |
QObjectList m_objects; |
| 23 |
}; |
| 24 |
|
| 25 |
} |
| 26 |
|
| 27 |
Q_DECLARE_METATYPE(ClassicalData::WikipediaWorksListImporter*); |
| 28 |
|
| 29 |
#endif
|