summaryrefslogtreecommitdiffstats
path: root/tools/designer/examples/addressbook/addressdetails.ui.h
blob: b4e7392417a53108a7f1c76b3d3695ed51550638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename 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();
}