author | zecke <zecke> | 2002-03-03 01:12:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-03-03 01:12:20 (UTC) |
commit | 0e245156b28b70be5cd98a58a9256fe5e2739562 (patch) (unidiff) | |
tree | f24fb55bca70820d6d30444ec128d1afd8e32cd3 | |
parent | 1b89006f83e7516e13f808742d118e209377abcc (diff) | |
download | opie-0e245156b28b70be5cd98a58a9256fe5e2739562.zip opie-0e245156b28b70be5cd98a58a9256fe5e2739562.tar.gz opie-0e245156b28b70be5cd98a58a9256fe5e2739562.tar.bz2 |
*** empty log message ***
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index b694e4f..a2b8276 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp | |||
@@ -1,44 +1,46 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qt Palmtop Environment. | 4 | ** This file is part of Qt Palmtop Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QTOPIA_INTERNAL_FD | ||
22 | |||
21 | #include "abeditor.h" | 23 | #include "abeditor.h" |
22 | #include "ablabel.h" | 24 | #include "ablabel.h" |
23 | #include "abtable.h" | 25 | #include "abtable.h" |
24 | #include "addresssettings.h" | 26 | #include "addresssettings.h" |
25 | #include "addressbook.h" | 27 | #include "addressbook.h" |
26 | 28 | ||
27 | #include <qpe/qpeapplication.h> | 29 | #include <qpe/qpeapplication.h> |
28 | #include <qpe/config.h> | 30 | #include <qpe/config.h> |
29 | #include <qpe/contact.h> | 31 | #include <qpe/contact.h> |
30 | #include <qpe/finddialog.h> | 32 | #include <qpe/finddialog.h> |
31 | #include <qpe/global.h> | 33 | #include <qpe/global.h> |
32 | #include <qpe/resource.h> | 34 | #include <qpe/resource.h> |
33 | #include <qpe/ir.h> | 35 | #include <qpe/ir.h> |
34 | #include <qpe/qpemessagebox.h> | 36 | #include <qpe/qpemessagebox.h> |
35 | #include <qpe/qcopenvelope_qws.h> | 37 | #include <qpe/qcopenvelope_qws.h> |
36 | 38 | ||
37 | #include <qaction.h> | 39 | #include <qaction.h> |
38 | #include <qdialog.h> | 40 | #include <qdialog.h> |
39 | #include <qdir.h> | 41 | #include <qdir.h> |
40 | #include <qfile.h> | 42 | #include <qfile.h> |
41 | #include <qimage.h> | 43 | #include <qimage.h> |
42 | #include <qlayout.h> | 44 | #include <qlayout.h> |
43 | #include <qpe/qpemenubar.h> | 45 | #include <qpe/qpemenubar.h> |
44 | #include <qmessagebox.h> | 46 | #include <qmessagebox.h> |
@@ -116,49 +118,49 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name, | |||
116 | a = new QAction( tr( "Edit" ), Resource::loadPixmap( "edit" ), QString::null, | 118 | a = new QAction( tr( "Edit" ), Resource::loadPixmap( "edit" ), QString::null, |
117 | 0, this, 0 ); | 119 | 0, this, 0 ); |
118 | actionEdit = a; | 120 | actionEdit = a; |
119 | connect( a, SIGNAL( activated() ), this, SLOT( slotViewEdit() ) ); | 121 | connect( a, SIGNAL( activated() ), this, SLOT( slotViewEdit() ) ); |
120 | a->addTo( edit ); | 122 | a->addTo( edit ); |
121 | a->addTo( listTools ); | 123 | a->addTo( listTools ); |
122 | 124 | ||
123 | a = new QAction( tr( "Delete" ), Resource::loadPixmap( "trash" ), QString::null, | 125 | a = new QAction( tr( "Delete" ), Resource::loadPixmap( "trash" ), QString::null, |
124 | 0, this, 0 ); | 126 | 0, this, 0 ); |
125 | actionTrash = a; | 127 | actionTrash = a; |
126 | connect( a, SIGNAL( activated() ), this, SLOT( slotListDelete() ) ); | 128 | connect( a, SIGNAL( activated() ), this, SLOT( slotListDelete() ) ); |
127 | a->addTo( edit ); | 129 | a->addTo( edit ); |
128 | a->addTo( listTools ); | 130 | a->addTo( listTools ); |
129 | 131 | ||
130 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "mag" ), | 132 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "mag" ), |
131 | QString::null, 0, this, 0 ); | 133 | QString::null, 0, this, 0 ); |
132 | actionFind = a; | 134 | actionFind = a; |
133 | connect( a, SIGNAL(activated()), this, SLOT(slotFind()) ); | 135 | connect( a, SIGNAL(activated()), this, SLOT(slotFind()) ); |
134 | a->addTo( edit ); | 136 | a->addTo( edit ); |
135 | a->addTo( listTools ); | 137 | a->addTo( listTools ); |
136 | 138 | ||
137 | 139 | ||
138 | a = new QAction( tr( "Write Mail To" ), Resource::loadPixmap( "qtmail/reply" ), | 140 | a = new QAction( tr( "Write Mail To" ), Resource::loadPixmap( "qtmail/reply" ), |
139 | QString::null, 0, this, 0 ); | 141 | QString::null, 0, this, 0 ); |
140 | a->setEnabled( FALSE ); | 142 | //a->setEnabled( FALSE ); we got support for it now :) zecke |
141 | actionMail = a; | 143 | actionMail = a; |
142 | connect( a, SIGNAL( activated() ), this, SLOT( writeMail() ) ); | 144 | connect( a, SIGNAL( activated() ), this, SLOT( writeMail() ) ); |
143 | a->addTo( edit ); | 145 | a->addTo( edit ); |
144 | a->addTo( listTools ); | 146 | a->addTo( listTools ); |
145 | 147 | ||
146 | 148 | ||
147 | 149 | ||
148 | if ( Ir::supported() ) { | 150 | if ( Ir::supported() ) { |
149 | a = new QAction( tr ("Beam Entry" ), Resource::loadPixmap( "beam" ), QString::null, | 151 | a = new QAction( tr ("Beam Entry" ), Resource::loadPixmap( "beam" ), QString::null, |
150 | 0, this, 0 ); | 152 | 0, this, 0 ); |
151 | actionBeam = a; | 153 | actionBeam = a; |
152 | connect( a, SIGNAL( activated() ), this, SLOT( slotBeam() ) ); | 154 | connect( a, SIGNAL( activated() ), this, SLOT( slotBeam() ) ); |
153 | a->addTo( edit ); | 155 | a->addTo( edit ); |
154 | a->addTo( listTools ); | 156 | a->addTo( listTools ); |
155 | } | 157 | } |
156 | 158 | ||
157 | edit->insertSeparator(); | 159 | edit->insertSeparator(); |
158 | 160 | ||
159 | a = new QAction( tr("My Personal Details"), QString::null, 0, 0, 0, TRUE ); | 161 | a = new QAction( tr("My Personal Details"), QString::null, 0, 0, 0, TRUE ); |
160 | actionPersonal = a; | 162 | actionPersonal = a; |
161 | connect( a, SIGNAL( activated() ), this, SLOT( slotPersonalView() ) ); | 163 | connect( a, SIGNAL( activated() ), this, SLOT( slotPersonalView() ) ); |
162 | a->addTo( edit ); | 164 | a->addTo( edit ); |
163 | 165 | ||
164 | 166 | ||