Initial commit
[iamhere] / src / main.cpp
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644 (file)
index 0000000..776689f
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * I Am Here(iamhere) - an application to find user's location
+ * address.
+ * Copyright (C) 2010 Vytarani Mathane <vytarani.mathane@gmail.com>.
+ *
+ * This file is part of I Am Here.
+ *
+ * I Am Here is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * I Am Here is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with I Am Here.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#include <QApplication>
+#include <QGraphicsPixmapItem>
+#include <QGraphicsScene>
+#include <QGraphicsView>
+#include <QTimer>
+
+#include "window.h"
+int main(int argc, char *argv[])
+{
+       QApplication app(argc, argv);
+       Window *window;
+       window = new Window(0);
+       window->setWindowFlags(Qt::X11BypassWindowManagerHint);
+       window->move(150, 60);
+       window->resize(400, 400);
+
+//window->resize(550,380);
+       window->show();
+       window->activateWindow();
+       return app.exec();
+}