blob: 0ba22c9fceeacf515e32fde9db012c934a528421 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <QApplication>
#include "qwpseditorwindow.h"
#include "utils.h"
#include <QPointer>
QPointer<QWpsEditorWindow> win;
int main(int argc, char ** argv) {
QApplication app( argc, argv );
win = new QWpsEditorWindow;
win->show();
app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
return app.exec();
}
|