exports.h
author jhilmer
Mon Aug 01 19:33:16 2005 +0000 (2005-08-01)
changeset 144 f4bbdc809fec
parent 0 7a96bd401351
child 163 30b22f7bd009
permissions -rw-r--r--
Fix: closing of editor when text are modified
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
	void setPath(const QString &);
insilmaril@0
    18
	void setMapCenter (MapCenterObj*);
insilmaril@0
    19
	void setIndentPerDepth (QString);
insilmaril@0
    20
	void exportMap();
insilmaril@0
    21
protected:  
insilmaril@0
    22
	QString getSectionString (BranchObj*);
insilmaril@0
    23
insilmaril@0
    24
private:
insilmaril@0
    25
	QDir outdir;
insilmaril@0
    26
	QString filepath;
insilmaril@0
    27
	MapCenterObj *mapCenter;
insilmaril@0
    28
	QString	indentPerDepth;
insilmaril@0
    29
};
insilmaril@0
    30
insilmaril@0
    31
#endif