Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

GraphGRASS.h

Go to the documentation of this file.
00001 //LabPlot : GraphGRASS.h
00002 
00003 #ifndef GRAPHGRASS_H
00004 #define GRAPHGRASS_H
00005 
00006 #include <qstringlist.h>
00007 #include <qtextstream.h>
00008 #include <qprogressdialog.h>
00009 #include <kdebug.h>
00010 #include "Graph.h"
00011 #include "Point.h"
00012 
00013 #ifdef HAVE_GRASS
00014 #include "GRASSVectorLayer.h"
00015 #endif
00016 
00017 class GraphGRASS: public Graph
00018 {
00019 public:
00020         GraphGRASS(QString n="", QString l="",LRange r[2]=0, LSource src=SFUNCTION, PType t=PGRASS, Style *st=0,
00021                 Symbol *sy=0, int nr=0);
00022         LRange Range(int i) { return range[i]; }
00023         void setRange(LRange *r) { range[0]=r[0];range[1]=r[1]; }
00024         QStringList Info();
00025         LType Type() { return ltype; }
00026         void setType(LType t) { ltype = t; }
00027         QString Layer() { return layer; }
00028         void setLayer(QString l) { layer = l; }
00029 #ifdef HAVE_GRASS
00030         void get_rid_of_message() {GRASS_copyright=0; }
00031 #endif
00032         void save(QTextStream *t);
00033         void open(QTextStream *t, int version, QProgressDialog *progress);
00034 private:
00035         LRange *range;
00036         LType ltype;
00037         QString layer;
00038 };
00039 
00040 #endif // GRAPHGRASS_H

Generated on Fri Mar 25 19:47:03 2005 for LabPlot by doxygen 1.3.6