nifei
17th February 2009, 03:33
for example if i re-implement
QPushButton: : setText(const QString &) in subclass of QPushButton like this, what will happen?
void MyPushButton::setText(const QString &text)
{
QPushButton::setText(text);
//do sth. i would like
{
.....
}
}
QPushButton: : setText(const QString &) in subclass of QPushButton like this, what will happen?
void MyPushButton::setText(const QString &text)
{
QPushButton::setText(text);
//do sth. i would like
{
.....
}
}