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