delete it like this?
webapp::~webapp(){
delete this;
}
webapp::~webapp(){
delete this;
}
To copy to clipboard, switch view to plain text mode
doesnt seem to delete m_webapp
also emitting the signal and connecting to it
what am I doing wrong?
m_setapp = new SetApp(NULL);
connect(m_setapp, SIGNAL(showeb()), this SLOT(web()));
}
void mum::web() {
m_webapp->show();
}
..................
connect( pushButton_node, SIGNAL( clicked() ), this, SLOT( node() ) );
}
void SetApp::node() {
emit showeb(); //this pushbutton code work
m_setapp = new SetApp(NULL);
connect(m_setapp, SIGNAL(showeb()), this SLOT(web()));
}
void mum::web() {
m_webapp->show();
}
..................
connect( pushButton_node, SIGNAL( clicked() ), this, SLOT( node() ) );
}
void SetApp::node() {
emit showeb(); //this pushbutton code work
To copy to clipboard, switch view to plain text mode
or can I do I connect to a slot in a different class?
Bookmarks