blob: 83212d2d541a25506aaeb813917127ccb4aa48f5 [file] [log] [blame]
Yingdi Yu847aa862013-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>
12#include <QSystemTrayIcon>
13
14#include "chronochat.h"
15#include "contactpanel.h"
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070016
Alexander Afanasyevb4b92292013-07-09 13:54:59 -070017int main(int argc, char *argv[])
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070018{
19 QApplication app(argc, argv);
Zhenkai Zhu3a008fc2012-06-08 17:36:39 -070020
Alexander Afanasyevb4b92292013-07-09 13:54:59 -070021
Yingdi Yu847aa862013-10-09 16:35:53 -070022// 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
Zhenkai Zhu3a008fc2012-06-08 17:36:39 -070026
Yingdi Yu847aa862013-10-09 16:35:53 -070027 ContactPanel contactPanel;
Alexander Afanasyevb4b92292013-07-09 13:54:59 -070028
Yingdi Yu847aa862013-10-09 16:35:53 -070029 contactPanel.show ();
30 contactPanel.activateWindow ();
31 contactPanel.raise ();
32
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070033 return app.exec();
34}