author | insilmaril |
Fri Jul 08 07:24:42 2005 +0000 (2005-07-08) | |
changeset 116 | c6a5c9e27740 |
child 62 | 85683324f94a |
child 131 | 16b250a57c17 |
permissions | -rw-r--r-- |
insilmaril@0 | 1 |
#ifndef EXPORTS_H |
insilmaril@0 | 2 |
#define EXPORTS_H |
insilmaril@0 | 3 |
|
insilmaril@0 | 4 |
#include <qdir.h> |
insilmaril@0 | 5 |
#include <qstring.h> |
insilmaril@0 | 6 |
#include <iostream> |
insilmaril@0 | 7 |
|
insilmaril@0 | 8 |
#include "mapcenterobj.h" |
insilmaril@0 | 9 |
|
insilmaril@0 | 10 |
using namespace std; |
insilmaril@0 | 11 |
|
insilmaril@0 | 12 |
///////////////////////////////////////////////////////////////////////////// |
insilmaril@0 | 13 |
class Export |
insilmaril@0 | 14 |
{ |
insilmaril@0 | 15 |
public: |
insilmaril@0 | 16 |
Export(); |
insilmaril@0 | 17 |
bool setOutputDir (QString); |
insilmaril@0 | 18 |
void setPath(const QString &); |
insilmaril@0 | 19 |
void setMapCenter (MapCenterObj*); |
insilmaril@0 | 20 |
void setIndentPerDepth (QString); |
insilmaril@0 | 21 |
void exportMap(); |
insilmaril@0 | 22 |
void exportAsHTML(); |
insilmaril@0 | 23 |
protected: |
insilmaril@0 | 24 |
QString getSectionString (BranchObj*); |
insilmaril@0 | 25 |
void write (QString); |
insilmaril@0 | 26 |
|
insilmaril@0 | 27 |
private: |
insilmaril@0 | 28 |
QDir outdir; |
insilmaril@0 | 29 |
QString filepath; |
insilmaril@0 | 30 |
MapCenterObj *mapCenter; |
insilmaril@0 | 31 |
QString indentPerDepth; |
insilmaril@0 | 32 |
}; |
insilmaril@0 | 33 |
|
insilmaril@0 | 34 |
#endif |