equal
deleted
inserted
replaced
22 #include <QMessageBox> |
22 #include <QMessageBox> |
23 #include <QPlastiqueStyle> |
23 #include <QPlastiqueStyle> |
24 #include <QRegExp> |
24 #include <QRegExp> |
25 #include <QMap> |
25 #include <QMap> |
26 |
26 |
27 char *programname; |
|
28 |
|
29 #include "hwform.h" |
27 #include "hwform.h" |
30 #include "hwconsts.h" |
28 #include "hwconsts.h" |
31 |
29 |
32 bool checkForDir(const QString & dir) |
30 bool checkForDir(const QString & dir) |
33 { |
31 { |
42 return false; |
40 return false; |
43 } |
41 } |
44 return true; |
42 return true; |
45 } |
43 } |
46 |
44 |
47 int main(int argc, char *argv[]) { |
45 int main(int argc, char *argv[]) { |
48 |
|
49 programname = argv[0]; |
|
50 |
|
51 QApplication app(argc, argv); |
46 QApplication app(argc, argv); |
52 |
47 |
53 QStringList arguments = app.arguments(); |
48 QStringList arguments = app.arguments(); |
54 QMap<QString, QString> parsedArgs; |
49 QMap<QString, QString> parsedArgs; |
55 { |
50 { |