Qt - rerwriting this line of code
In the `C++ GUI Programming with Qt 4` book in `gotocelldialog.cpp`, it has the following line of code:

    okButton->setEnabled(lineEdit->hasAcceptableInput());

Can this line be *rewritten* as follows?

    if (lineEdit->hasAcceptableInput())
    okButton->setEnabled();

Thanks.

Qt - rerwriting this line of code
===

In the `C++ GUI Programming with Qt 4` book in `gotocelldialog.cpp`, it has the following line of code:

    okButton->setEnabled(lineEdit->hasAcceptableInput());

Can this line be *rewritten* as follows?

    if (lineEdit->hasAcceptableInput())
    okButton->setEnabled();

Thanks.
