2010-06-17 17:24:36 +02:00
|
|
|
#include "mainwindow.h"
|
2010-07-16 14:09:54 +02:00
|
|
|
#include <QtGui/QApplication>
|
|
|
|
|
#include <QtCore/QTimer>
|
2010-06-17 17:24:36 +02:00
|
|
|
|
2011-02-23 11:09:53 +01:00
|
|
|
int main(int argc, char *argv[]) {
|
2010-06-17 17:24:36 +02:00
|
|
|
QApplication a(argc, argv);
|
|
|
|
|
MainWindow w;
|
|
|
|
|
w.show();
|
2010-06-24 10:48:55 +02:00
|
|
|
for (int i=1; i<argc; ++i) {
|
|
|
|
|
w.openFile(argv[i]);
|
|
|
|
|
}
|
2010-06-17 17:24:36 +02:00
|
|
|
return a.exec();
|
|
|
|
|
}
|