Mike Dodd | 8cfa702 | 2010-11-17 11:12:26 -0800 | [diff] [blame^] | 1 | /** |
2 | * @file oprof_start_main.cpp | ||||
3 | * main routine for GUI start | ||||
4 | * | ||||
5 | * @remark Copyright 2002 OProfile authors | ||||
6 | * @remark Read the file COPYING | ||||
7 | * | ||||
8 | * @author Philippe Elie | ||||
9 | * @author John Levon | ||||
10 | */ | ||||
11 | |||||
12 | #include <qapplication.h> | ||||
13 | |||||
14 | #include "oprof_start.h" | ||||
15 | |||||
16 | int main(int argc, char* argv[]) | ||||
17 | { | ||||
18 | QApplication a(argc, argv); | ||||
19 | |||||
20 | oprof_start* dlg = new oprof_start(); | ||||
21 | |||||
22 | a.setMainWidget(dlg); | ||||
23 | |||||
24 | dlg->show(); | ||||
25 | |||||
26 | return a.exec(); | ||||
27 | } |