summaryrefslogtreecommitdiffstats
path: root/tools/designer/examples/addressbook/addressdetails.ui.h
blob: 60fe4ea2559a8294bd71781075d4ba6200249f0b (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();
}