]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/example/qt/qt4/hello/main.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / build / example / qt / qt4 / hello / main.cpp
1 // Copyright Vladimir Prus 2005.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt
4 // or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #include "arrow.h"
7
8 #include <QApplication>
9 #include <QTimer>
10
11 int main(int ac, char* av[])
12 {
13 QApplication app(ac, av);
14 Arrow_widget* w = new Arrow_widget;
15 w->resize(1100, 480);
16
17 QTimer timer;
18 QObject::connect(&timer, SIGNAL(timeout()),
19 w, SLOT(slotChangeColor()));
20
21 timer.start(2000);
22
23 w->show();
24 app.exec();
25 return 0;
26 }
27