equal
deleted
inserted
replaced
1 #include <QtGui/QApplication> |
1 #include <QtGui/QApplication> |
2 #include "mainwindow.h" |
2 #include "mainwindow.h" |
|
3 #include "dbtools.h" |
3 |
4 |
4 int main(int argc, char *argv[]) |
5 int main(int argc, char *argv[]) |
5 { |
6 { |
6 QApplication a(argc, argv); |
7 QApplication a(argc, argv); |
7 MainWindow w; |
8 MainWindow w; |
|
9 |
|
10 DBTools dbt; |
|
11 dbt.importCSV("c:\\contacts.csv"); |
8 |
12 |
9 #if defined(Q_WS_S60) |
13 #if defined(Q_WS_S60) |
10 w.showMaximized(); |
14 w.showMaximized(); |
11 #else |
15 #else |
12 w.show(); |
16 w.show(); |