Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qt_tstfrm/main_tester.cpp')
-rw-r--r--qt_tstfrm/main_tester.cpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/qt_tstfrm/main_tester.cpp b/qt_tstfrm/main_tester.cpp
deleted file mode 100644
index b0a36c45cf..0000000000
--- a/qt_tstfrm/main_tester.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-#include "main_tester.hpp"
-
-#include <QtGui/QApplication>
-#include <QtGui/QFrame>
-#include <QtGui/QBoxLayout>
-
-
-namespace tst
-{
- class MainWindow : public QFrame
- {
- public:
- MainWindow(QWidget * pWidget)
- {
- QHBoxLayout * pMainLayout = new QHBoxLayout();
- pMainLayout->setContentsMargins(0, 0, 0, 0);
-
- pMainLayout->addWidget(pWidget);
-
- setLayout(pMainLayout);
-
- setWindowTitle(tr("Testing Framework Form"));
-
- pWidget->setFocus();
-
- resize(640, 480);
- }
- };
-
-int BaseTester::Run(char const * name, function<QWidget * (void)> const & fn)
-{
- char * argv[] = { const_cast<char *>(name) };
- int argc = 1;
-
- QApplication app(argc, argv);
-
- MainWindow wnd(fn());
- wnd.setWindowTitle(name);
- wnd.show();
-
- return app.exec();
-}
-
-}