summaryrefslogtreecommitdiffabout
path: root/libkabcwrap/select_addressee_base.cpp
blob: 1b846e298d562f18ce762d576d4c99c3fa95413f (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/****************************************************************************
** Form implementation generated from reading ui file 'select_addressee_base.ui'
**
** Created: Fri Feb 6 04:58:15 2004
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "select_addressee_base.h"

#include <qheader.h>
#include <qlistview.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a SelectAddressee which is a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f' 
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
SelectAddressee::SelectAddressee( QWidget* parent,  const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "SelectAddressee" );
    resize( 208, 267 ); 
    setCaption( tr( "Select adressee" ) );
    SelectAddresseeLayout = new QVBoxLayout( this ); 
    SelectAddresseeLayout->setSpacing( 6 );
    SelectAddresseeLayout->setMargin( 11 );

    contactList = new QListView( this, "contactList" );
    contactList->addColumn( tr( "Name" ) );
    contactList->addColumn( tr( "Email" ) );
    SelectAddresseeLayout->addWidget( contactList );
}

/*  
 *  Destroys the object and frees any allocated resources
 */
SelectAddressee::~SelectAddressee()
{
    // no need to delete child widgets, Qt does it all for us
}