contactengine/main.cpp
author John Kern <johnk@symbian.org>
Thu, 12 Aug 2010 18:57:17 -0700
changeset 28 7242cf5e2cd7
parent 27 afa910b5ae81
child 33 f6cf541961ad
permissions -rwxr-xr-x
fix typo. accidently removed sql module

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

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

    DBTools dbt;
    QString dbLocation(":/contacts.csv");

    qDebug() << "dbLocation=" << dbLocation << endl;
    dbt.importCSV(dbLocation);

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

    return a.exec();
}