Diffstat (limited to 'libkabcwrap/select_addressee_base.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libkabcwrap/select_addressee_base.cpp | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/libkabcwrap/select_addressee_base.cpp b/libkabcwrap/select_addressee_base.cpp new file mode 100644 index 0000000..1b846e2 --- a/dev/null +++ b/libkabcwrap/select_addressee_base.cpp | |||
@@ -0,0 +1,50 @@ | |||
1 | /**************************************************************************** | ||
2 | ** Form implementation generated from reading ui file 'select_addressee_base.ui' | ||
3 | ** | ||
4 | ** Created: Fri Feb 6 04:58:15 2004 | ||
5 | ** by: The User Interface Compiler (uic) | ||
6 | ** | ||
7 | ** WARNING! All changes made in this file will be lost! | ||
8 | ****************************************************************************/ | ||
9 | #include "select_addressee_base.h" | ||
10 | |||
11 | #include <qheader.h> | ||
12 | #include <qlistview.h> | ||
13 | #include <qpushbutton.h> | ||
14 | #include <qlayout.h> | ||
15 | #include <qvariant.h> | ||
16 | #include <qtooltip.h> | ||
17 | #include <qwhatsthis.h> | ||
18 | |||
19 | /* | ||
20 | * Constructs a SelectAddressee which is a child of 'parent', with the | ||
21 | * name 'name' and widget flags set to 'f' | ||
22 | * | ||
23 | * The dialog will by default be modeless, unless you set 'modal' to | ||
24 | * TRUE to construct a modal dialog. | ||
25 | */ | ||
26 | SelectAddressee::SelectAddressee( QWidget* parent, const char* name, bool modal, WFlags fl ) | ||
27 | : QDialog( parent, name, modal, fl ) | ||
28 | { | ||
29 | if ( !name ) | ||
30 | setName( "SelectAddressee" ); | ||
31 | resize( 208, 267 ); | ||
32 | setCaption( tr( "Select adressee" ) ); | ||
33 | SelectAddresseeLayout = new QVBoxLayout( this ); | ||
34 | SelectAddresseeLayout->setSpacing( 6 ); | ||
35 | SelectAddresseeLayout->setMargin( 11 ); | ||
36 | |||
37 | contactList = new QListView( this, "contactList" ); | ||
38 | contactList->addColumn( tr( "Name" ) ); | ||
39 | contactList->addColumn( tr( "Email" ) ); | ||
40 | SelectAddresseeLayout->addWidget( contactList ); | ||
41 | } | ||
42 | |||
43 | /* | ||
44 | * Destroys the object and frees any allocated resources | ||
45 | */ | ||
46 | SelectAddressee::~SelectAddressee() | ||
47 | { | ||
48 | // no need to delete child widgets, Qt does it all for us | ||
49 | } | ||
50 | |||