Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <qapplication.h>
- #include <qpushbutton.h>
- int main( int argc, char **argv )
- {
- QApplication a( argc, argv );
- QPushButton hello( "Hello world!", 0 );
- hello.resize( 100, 30 );
- a.setMainWidget( &hello );
- hello.show();
- void myQtApp::quit(){ // SLOT
- rws_process -> close();
- process1 -> close();
- process2 -> close();
- exit(0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement