contactengine/main.cpp
changeset 21 3bfc3227045d
parent 19 e4b6ee329501
child 24 2e833c2a6782
equal deleted inserted replaced
20:a7451a8eb5dc 21:3bfc3227045d
     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();