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