blob: 9839b4aa2b8468e72ec8a579d267b430083b4936 [file] [log] [blame]
Yingdi Yu614db142013-10-09 16:35:53 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2013, Regents of the University of California
4 * Yingdi Yu
5 *
6 * BSD license, See the LICENSE file for more information
7 *
8 * Author: Yingdi Yu <yingdi@cs.ucla.edu>
9 */
10
11#include <QApplication>
Yingdi Yudef90612013-10-09 22:34:42 -070012#include <QSystemTrayIcon>
Yingdi Yu614db142013-10-09 16:35:53 -070013
14#include "chronochat.h"
15
16int main(int argc, char *argv[])
17{
18 QApplication app(argc, argv);
19
Yingdi Yudef90612013-10-09 22:34:42 -070020
21// app.setWindowIcon(QIcon("/Users/yuyingdi/Develop/QT/demo.icns"));
22// // #else
23// // app.setWindowIcon(QIcon("/Users/yuyingdi/Develop/QT/images/icon_large.png"));
24// // #endif
Yingdi Yu614db142013-10-09 16:35:53 -070025
26 ChronoChat dialog;
27
28 dialog.show ();
Yingdi Yudef90612013-10-09 22:34:42 -070029 dialog.activateWindow ();
30 dialog.raise ();
Yingdi Yu614db142013-10-09 16:35:53 -070031
32 return app.exec();
33}