contactengine/main.cpp
author Sebastian Brannstrom <sebastianb@symbian.org>
Mon, 09 Aug 2010 17:16:20 +0100
changeset 21 3bfc3227045d
parent 19 e4b6ee329501
child 24 2e833c2a6782
permissions -rwxr-xr-x
CSV reader works, kind of. contacts.csv file added to project, must live in c:\ at the moment

#include <QtGui/QApplication>
#include "mainwindow.h"
#include "dbtools.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;

    DBTools dbt;
    dbt.importCSV("c:\\contacts.csv");

#if defined(Q_WS_S60)
    w.showMaximized();
#else
    w.show();
#endif

    return a.exec();
}