[svn-upgrade] new version fosdem-schedule (0.4.1+svn262+ds)
[debian/fosdem-schedule.git] / src / app / main.cpp
index 777a0fc9583a9cea443346be7c7d21ea868452ea..6a32ae9e8dfbe385abe3b9c6ddbc3998d8f481eb 100644 (file)
  */
 #include <mainwindow.h>
 
-#include <QtGui/QApplication>
 #include <sqlengine.h>
 
 #include "eventdialog.h"
+#include "application.h"
 
 #ifdef MAEMO
 //#include <alarmdialog.h>
@@ -36,8 +36,8 @@ int main(int argc, char *argv[])
     Q_INIT_RESOURCE(maps);
     Q_INIT_RESOURCE(db);
 
-    QApplication a(argc, argv);
-    QApplication::setWindowIcon(QIcon(":/icons/fosdem.png"));
+    Application a(argc, argv);
+    Application::setWindowIcon(QIcon(":/icons/fosdem.png"));
 
     SqlEngine::initialize(); // creates "SQLITE" DB connection