26 |
#include "qsamplerOptions.h" |
#include "qsamplerOptions.h" |
27 |
#include "qsamplerMainForm.h" |
#include "qsamplerMainForm.h" |
28 |
|
|
|
#include "config.h" |
|
|
|
|
29 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
30 |
// main - The main program trunk. |
// main - The main program trunk. |
31 |
// |
// |
53 |
app.quit(); |
app.quit(); |
54 |
return 1; |
return 1; |
55 |
} |
} |
56 |
|
|
57 |
// Construct, setup and show the main form. |
// Construct, setup and show the main form. |
58 |
qsamplerMainForm w; |
qsamplerMainForm w; |
59 |
|
app.setMainWidget(&w); |
60 |
w.setup(&options); |
w.setup(&options); |
61 |
w.show(); |
w.show(); |
62 |
|
|
63 |
// Register the quit signal/slot. |
// Register the quit signal/slot. |
64 |
app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); |
// app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); |
65 |
|
|
66 |
return app.exec(); |
return app.exec(); |
67 |
} |
} |
68 |
|
|
69 |
// end of main.cpp |
// end of main.cpp |
|
|
|