blob: 83212d2d541a25506aaeb813917127ccb4aa48f5 [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"
Yingdi Yu9e0dc292013-10-10 11:39:45 -070015#include "contactpanel.h"
Yingdi Yu614db142013-10-09 16:35:53 -070016
17int main(int argc, char *argv[])
18{
19 QApplication app(argc, argv);
20
Yingdi Yudef90612013-10-09 22:34:42 -070021
22// app.setWindowIcon(QIcon("/Users/yuyingdi/Develop/QT/demo.icns"));
23// // #else
24// // app.setWindowIcon(QIcon("/Users/yuyingdi/Develop/QT/images/icon_large.png"));
25// // #endif
Yingdi Yu614db142013-10-09 16:35:53 -070026
Yingdi Yu9e0dc292013-10-10 11:39:45 -070027 ContactPanel contactPanel;
Yingdi Yu614db142013-10-09 16:35:53 -070028
Yingdi Yu9e0dc292013-10-10 11:39:45 -070029 contactPanel.show ();
30 contactPanel.activateWindow ();
31 contactPanel.raise ();
Yingdi Yu614db142013-10-09 16:35:53 -070032
33 return app.exec();
34}