My problem is the following: I have QPushbutton* that calls this
void Reflex::buttonClicked(){
QObject* senderObject = sender();
QPushButton* senderButton = qobject_cast<QPushButton*>(senderObject);
if (senderButton->text() == " "){
.
.
.
QTimer::singleShot(1000, senderButton, SLOT(repair()));
}
And when the singleshot proc i want to make some changes on the senderButton but i cant figure out how should i do it.
repair()
method you're calling? – Gui13repair
really insenderButton
or inthis
(which type isReflex
) ? – alexisdm