diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/examples/addressbook/addressdetails.ui.h')
-rw-r--r-- | experimental/tqtinterface/qt4/tools/designer/examples/addressbook/addressdetails.ui.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/examples/addressbook/addressdetails.ui.h b/experimental/tqtinterface/qt4/tools/designer/examples/addressbook/addressdetails.ui.h new file mode 100644 index 000000000..66047a704 --- /dev/null +++ b/experimental/tqtinterface/qt4/tools/designer/examples/addressbook/addressdetails.ui.h @@ -0,0 +1,24 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you wish to add, delete or rename Q_SLOTS use TQt Designer which will +** update this file, preserving your code. Create an init() slot in place of +** a constructor, and a destroy() slot in place of a destructor. +*****************************************************************************/ + +void AddressDetails::init() +{ + editLastName->setFocus(); +} + +void AddressDetails::okClicked() +{ + emit newAddress( editLastName->text(), + editFirstName->text(), + editPhoneNumber->text(), + editStreet->text(), + editCity->text(), + editCountry->text(), + editZipCode->text() ); + close(); +}
\ No newline at end of file |