/[kvoss_old]/kvsvv/trunk/src/xmlFileConvert.h
ViewVC logotype

Contents of /kvsvv/trunk/src/xmlFileConvert.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3719 - (show annotations) (download)
Mon Jul 23 10:26:26 2012 UTC (7 years, 3 months ago) by glennb
File MIME type: text/plain
File size: 1607 byte(s)
QSettings
1 #ifndef FileTemp_H
2 #define FileTemp_H
3 //#include <QDialog>
4 #include <QEventLoop>
5 #include <QTextStream>
6 //#include <QFile>
7 //#include <QDialog>
8 #include <QDir>
9 #include <QDate>
10 #include "filehandling.h"
11 #include "dateTime.h"
12 #include "fileList.h"
13 #include "xmlstreamreader.h"
14
15
16
17 class Fileconvert : public QEventLoop
18 {
19 Q_OBJECT
20
21 public slots:
22 void xmlToKvalobs();
23
24 public:
25
26 Fileconvert(QWidget *parent = 0);
27 QStringList updateRemoveFileList(QStringList liste,QString fileName,Filehandling &filehandling);
28 QStringList findFilesToSend(Filehandling &filehandling);
29 void runScript(Filehandling &filehandling);
30 QStringList filesToSearchFor();
31 void moveFilestosubdir(Filehandling &filehandling);
32 void removeOldFiles(Filehandling &filehandling);
33 void deleteOld(QStringList files,Filehandling &filehandling);
34 void convertSvvXml(QString fileName);
35 QString collectAndConvertFiles(Filehandling &filehandling);
36 QString convertFiles(QStringList liste,Filehandling &filehandling);
37 //void backupLastMonth(QString arg,QString oneMonthBack,Filehandling &filehandling);
38 //void backUp(Filehandling &filehandling);
39 //void backUp2(Filehandling &filehandling);
40 void moveFiles2(QString &subDir,QString &fileNameToMove,Filehandling &filehandling);
41 void moveFiles(QStringList subDir,QStringList list,Filehandling &filehandling);
42 private:
43 QString convertPath,opdataPath,station,xmlLogFile,databaseName,databaseIp,port;
44 QStringList variable;
45 QString *dateTimePointer;
46 QDir currentDir;
47 QTimer *timer;
48 //Filehandling *filehandling;
49 };
50
51 #endif

svn@met.no
ViewVC Help
Powered by ViewVC 1.1.5