AlarmNotifications
PANDA Slow Control Alarm Daemon
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
main_beedo.cpp
Go to the documentation of this file.
1 
34 #include <QApplication>
35 #include <QIcon>
36 
37 #include "beedo.h"
38 #include "x11compat.h"
39 
40 using namespace AlarmNotifications;
41 
42 int main ( int argc, char** argv )
43 {
44  Q_INIT_RESOURCE(beedo); // Force loading the video resource from static library alarmwatcherbeedoresource
46  QApplication app ( argc, argv );
47  app.setApplicationName ( QString::fromUtf8 ( "Beedo engine test application" ) );
48  app.setApplicationVersion ( QString::fromUtf8 ( "1.0.0" ) );
49  app.setQuitOnLastWindowClosed ( false );
50  app.setWindowIcon ( QIcon::fromTheme ( QString::fromUtf8 ( "dialog-warning" ) ) );
52  app.exec();
54  return 0;
55 }