00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "pihmgis.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'pihmgis.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.1.0. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 static const uint qt_meta_data_PIHMgis[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 30, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 9, 8, 8, 8, 0x0a,
00031 19, 8, 8, 8, 0x0a,
00032 25, 8, 8, 8, 0x0a,
00033 34, 8, 8, 8, 0x0a,
00034 41, 8, 8, 8, 0x0a,
00035 56, 8, 8, 8, 0x0a,
00036 70, 8, 8, 8, 0x0a,
00037 84, 8, 8, 8, 0x0a,
00038 100, 8, 8, 8, 0x0a,
00039 114, 8, 8, 8, 0x0a,
00040 134, 8, 8, 8, 0x0a,
00041 153, 8, 8, 8, 0x0a,
00042 175, 8, 8, 8, 0x0a,
00043 193, 8, 8, 8, 0x0a,
00044 216, 8, 8, 8, 0x0a,
00045 234, 8, 8, 8, 0x0a,
00046 249, 8, 8, 8, 0x0a,
00047 266, 8, 8, 8, 0x0a,
00048 293, 8, 8, 8, 0x0a,
00049 310, 8, 8, 8, 0x0a,
00050 326, 8, 8, 8, 0x0a,
00051 339, 8, 8, 8, 0x0a,
00052 352, 8, 8, 8, 0x0a,
00053 365, 8, 8, 8, 0x0a,
00054 379, 8, 8, 8, 0x0a,
00055 400, 8, 8, 8, 0x0a,
00056 418, 8, 8, 8, 0x0a,
00057 428, 8, 8, 8, 0x0a,
00058 439, 8, 8, 8, 0x0a,
00059 467, 464, 8, 8, 0x0a,
00060
00061 0
00062 };
00063
00064 static const char qt_meta_stringdata_PIHMgis[] = {
00065 "PIHMgis\0\0initGui()\0run()\0unload()\0help()\0runDoNothing()\0"
00066 "runFillPits()\0runFlowGrid()\0runStreamGrid()\0runLinkGrid()\0"
00067 "runStreamPolyLine()\0runCatchmentGrid()\0runCatchmentPolygon()\0"
00068 "runShpFileInput()\0runPolygonToPolyline()\0runSimplifyLine()\0"
00069 "runSplitLine()\0runVectorMerge()\0runGenerateShapeTopology()\0"
00070 "runRunTriangle()\0runCreateTINs()\0runMshFile()\0runAttFile()\0"
00071 "runRivFile()\0runParaFile()\0runTimeSeriesPlots()\0runSpatialPlots()\0"
00072 "runPIHM()\0runAbout()\0drawRasterLayer(QString)\0,,\0"
00073 "drawVectorLayer(QString,QString,QString)\0"
00074 };
00075
00076 const QMetaObject PIHMgis::staticMetaObject = {
00077 { &QObject::staticMetaObject, qt_meta_stringdata_PIHMgis,
00078 qt_meta_data_PIHMgis, 0 }
00079 };
00080
00081 const QMetaObject *PIHMgis::metaObject() const
00082 {
00083 return &staticMetaObject;
00084 }
00085
00086 void *PIHMgis::qt_metacast(const char *_clname)
00087 {
00088 if (!_clname) return 0;
00089 if (!strcmp(_clname, qt_meta_stringdata_PIHMgis))
00090 return static_cast<void*>(const_cast<PIHMgis*>(this));
00091 if (!strcmp(_clname, "QgisPlugin"))
00092 return static_cast<QgisPlugin*>(const_cast<PIHMgis*>(this));
00093 return QObject::qt_metacast(_clname);
00094 }
00095
00096 int PIHMgis::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00097 {
00098 _id = QObject::qt_metacall(_c, _id, _a);
00099 if (_id < 0)
00100 return _id;
00101 if (_c == QMetaObject::InvokeMetaMethod) {
00102 switch (_id) {
00103 case 0: initGui(); break;
00104 case 1: run(); break;
00105 case 2: unload(); break;
00106 case 3: help(); break;
00107 case 4: runDoNothing(); break;
00108 case 5: runFillPits(); break;
00109 case 6: runFlowGrid(); break;
00110 case 7: runStreamGrid(); break;
00111 case 8: runLinkGrid(); break;
00112 case 9: runStreamPolyLine(); break;
00113 case 10: runCatchmentGrid(); break;
00114 case 11: runCatchmentPolygon(); break;
00115 case 12: runShpFileInput(); break;
00116 case 13: runPolygonToPolyline(); break;
00117 case 14: runSimplifyLine(); break;
00118 case 15: runSplitLine(); break;
00119 case 16: runVectorMerge(); break;
00120 case 17: runGenerateShapeTopology(); break;
00121 case 18: runRunTriangle(); break;
00122 case 19: runCreateTINs(); break;
00123 case 20: runMshFile(); break;
00124 case 21: runAttFile(); break;
00125 case 22: runRivFile(); break;
00126 case 23: runParaFile(); break;
00127 case 24: runTimeSeriesPlots(); break;
00128 case 25: runSpatialPlots(); break;
00129 case 26: runPIHM(); break;
00130 case 27: runAbout(); break;
00131 case 28: drawRasterLayer(*reinterpret_cast< QString*>(_a[1])); break;
00132 case 29: drawVectorLayer(*reinterpret_cast< QString*>(_a[1]),*reinterpret_cast< QString*>(_a[2]),*reinterpret_cast< QString*>(_a[3])); break;
00133 }
00134 _id -= 30;
00135 }
00136 return _id;
00137 }