summaryrefslogtreecommitdiff
path: root/CIAO/examples/Display/NavDisplayGUI_exec/Worker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/examples/Display/NavDisplayGUI_exec/Worker.cpp')
-rw-r--r--CIAO/examples/Display/NavDisplayGUI_exec/Worker.cpp48
1 files changed, 0 insertions, 48 deletions
diff --git a/CIAO/examples/Display/NavDisplayGUI_exec/Worker.cpp b/CIAO/examples/Display/NavDisplayGUI_exec/Worker.cpp
deleted file mode 100644
index 4257dd69f46..00000000000
--- a/CIAO/examples/Display/NavDisplayGUI_exec/Worker.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-
-#include "Worker.h"
-#include <qapplication.h>
-#include <qmotifstyle.h>
-#include <qcdestyle.h>
-#include <qwindowsstyle.h>
-#include <qplatinumstyle.h>
-#include <qsgistyle.h>
-
-
-int
-Worker::svc (void)
-{
- ACE_DEBUG((LM_DEBUG, "ENTER: Worker::svc()\n"));
-
- QApplication a(argc_, argv_);
- a.setStyle(new QPlatinumStyle);
- QCanvas canvas(600, 387);
- //QCanvas canvas(566, 679);
- //QCanvas canvas(550, 723);
- canvas.setAdvancePeriod(30);
- RootPanel root_panel(canvas);
- root_panel.resize(root_panel.sizeHint());
-
- root_panel.resize(600, 650);
- root_panel.setCaption("NavDisplay");
-
- a.setMainWidget(&root_panel);
-
- QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
-
- if(QApplication::desktop()->width() > 550
- && QApplication::desktop()->height() > 366)
- root_panel.show();
- else
- root_panel.showMaximized();
-
- main_wnd_ = &root_panel;
- init_complete_.signal();
-
- int retval = a.exec();
-
- main_wnd_ = NULL;
-
- ACE_DEBUG((LM_DEBUG, "LEAVE: Worker::svc()\n"));
- return retval;
-}