Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void AddressBook::cancel (  )  [slot]

[submitContact() function part2]

[submitContact part3] [cancel]

Definition at line 148 of file addressbook.cpp.

References addButton, QWidget::hide(), nameLine, oldName, QWidget::setEnabled(), QLineEdit::setReadOnly(), QTextEdit::setReadOnly(), QLineEdit::setText(), QTextEdit::setText(), and submitButton.

{
    nameLine->setText(oldName);
    nameLine->setReadOnly(true);

    addressText->setText(oldAddress);
    addressText->setReadOnly(true);

    addButton->setEnabled(true);
    submitButton->hide();
    cancelButton->hide();    
}


Generated by  Doxygen 1.6.0   Back to index