summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/xxportselectdialog.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp
index e0da3b2..41c999b 100644
--- a/kaddressbook/xxportselectdialog.cpp
+++ b/kaddressbook/xxportselectdialog.cpp
@@ -1,31 +1,31 @@
1/* 1/*
2 This file is part of KAddressBook. 2 This file is part of KAddressBook.
3 Copyright (c) 2002 Anders Lund <anders.lund@lund.tdcadsl.dk> 3 Copyright (c) 2002 Anders Lund <anders.lund@lund.tdcadsl.dk>
4 Tobias Koenig <tokoe@kde.org> 4 Tobias Koenig <tokoe@kde.org>
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or 8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
11 This program is distributed in the hope that it will be useful, 11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 14 GNU General Public License for more details.
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software 17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 19
20 As a special exception, permission is given to link this program 20 As a special exception, permission is given to link this program
21 with any edition of Qt, and distribute the resulting executable, 21 with any edition of Qt, and distribute the resulting executable,
22 without including the source code for Qt in the source distribution. 22 without including the source code for Qt in the source distribution.
23*/ 23*/
24 24
25/* 25/*
26Enhanced Version of the file for platform independent KDE tools. 26Enhanced Version of the file for platform independent KDE tools.
27Copyright (c) 2004 Ulf Schenk 27Copyright (c) 2004 Ulf Schenk
28 28
29$Id$ 29$Id$
30*/ 30*/
31 31
@@ -193,40 +193,40 @@ void XXPortSelectDialog::initGUI()
193 QFrame *page = plainPage(); 193 QFrame *page = plainPage();
194 194
195 QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHint(), 195 QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHint(),
196 KDialog::spacingHint() ); 196 KDialog::spacingHint() );
197 197
198 QLabel *label = new QLabel( i18n( "Which contacts do you want to export?" ), page ); 198 QLabel *label = new QLabel( i18n( "Which contacts do you want to export?" ), page );
199 topLayout->addWidget( label ); 199 topLayout->addWidget( label );
200 200
201 mButtonGroup = new QButtonGroup( i18n( "Selection" ), page ); 201 mButtonGroup = new QButtonGroup( i18n( "Contact Selection" ), page );
202 mButtonGroup->setColumnLayout( 0, Qt::Vertical ); 202 mButtonGroup->setColumnLayout( 0, Qt::Vertical );
203 mButtonGroup->layout()->setSpacing( KDialog::spacingHint() ); 203 mButtonGroup->layout()->setSpacing( KDialog::spacingHint() );
204 mButtonGroup->layout()->setMargin( KDialog::marginHint() ); 204 mButtonGroup->layout()->setMargin( KDialog::marginHint() );
205 205
206 QGridLayout *groupLayout = new QGridLayout( mButtonGroup->layout() ); 206 QGridLayout *groupLayout = new QGridLayout( mButtonGroup->layout() );
207 groupLayout->setAlignment( Qt::AlignTop ); 207 groupLayout->setAlignment( Qt::AlignTop );
208 208
209 mUseWholeBook = new QRadioButton( i18n( "&All contacts" ), mButtonGroup ); 209 mUseWholeBook = new QRadioButton( i18n( "&All" ), mButtonGroup );
210 mUseWholeBook->setChecked( true ); 210 mUseWholeBook->setChecked( true );
211 QWhatsThis::add( mUseWholeBook, i18n( "Export the entire address book" ) ); 211 QWhatsThis::add( mUseWholeBook, i18n( "Export the entire address book" ) );
212 groupLayout->addWidget( mUseWholeBook, 0, 0 ); 212 groupLayout->addWidget( mUseWholeBook, 0, 0 );
213 213
214 mUseSelection = new QRadioButton( i18n( "&Selected contacts" ), mButtonGroup ); 214 mUseSelection = new QRadioButton( i18n( "&Selected" ), mButtonGroup );
215 QWhatsThis::add( mUseSelection, i18n( "Only export contacts selected in KAddressBook.\n" 215 QWhatsThis::add( mUseSelection, i18n( "Only export contacts selected in KAddressBook.\n"
216 "This option is disabled if no contacts are selected." ) ); 216 "This option is disabled if no contacts are selected." ) );
217 groupLayout->addWidget( mUseSelection, 1, 0 ); 217 groupLayout->addWidget( mUseSelection, 1, 0 );
218 218
219 mUseFilters = new QRadioButton( i18n( "Contacts matching &filter" ), mButtonGroup ); 219 mUseFilters = new QRadioButton( i18n( "By matching &filter" ), mButtonGroup );
220 QWhatsThis::add( mUseFilters, i18n( "Only export contacts matching the selected filter.\n" 220 QWhatsThis::add( mUseFilters, i18n( "Only export contacts matching the selected filter.\n"
221 "This option is disabled if you haven't defined any filters" ) ); 221 "This option is disabled if you haven't defined any filters" ) );
222 groupLayout->addWidget( mUseFilters, 2, 0 ); 222 groupLayout->addWidget( mUseFilters, 2, 0 );
223 223
224 mUseCategories = new QRadioButton( i18n( "Category &members" ), mButtonGroup ); 224 mUseCategories = new QRadioButton( i18n( "By Cate&gories" ), mButtonGroup );
225 QWhatsThis::add( mUseCategories, i18n( "Only export contacts who are members of a category that is checked on the list to the left.\n" 225 QWhatsThis::add( mUseCategories, i18n( "Only export contacts who are members of a category that is checked on the list to the left.\n"
226 "This option is disabled if you have no categories." ) ); 226 "This option is disabled if you have no categories." ) );
227 groupLayout->addWidget( mUseCategories, 3, 0 ); 227 groupLayout->addWidget( mUseCategories, 3, 0 );
228 228
229 mFiltersCombo = new QComboBox( false, mButtonGroup ); 229 mFiltersCombo = new QComboBox( false, mButtonGroup );
230 QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to export." ) ); 230 QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to export." ) );
231 groupLayout->addWidget( mFiltersCombo, 2, 1 ); 231 groupLayout->addWidget( mFiltersCombo, 2, 1 );
232 232
@@ -241,17 +241,17 @@ void XXPortSelectDialog::initGUI()
241 QButtonGroup *sortingGroup = new QButtonGroup( i18n( "Sorting" ), page ); 241 QButtonGroup *sortingGroup = new QButtonGroup( i18n( "Sorting" ), page );
242 sortingGroup->setColumnLayout( 0, Qt::Vertical ); 242 sortingGroup->setColumnLayout( 0, Qt::Vertical );
243 QGridLayout *sortLayout = new QGridLayout( sortingGroup->layout(), 2, 2, 243 QGridLayout *sortLayout = new QGridLayout( sortingGroup->layout(), 2, 2,
244 KDialog::spacingHint() ); 244 KDialog::spacingHint() );
245 sortLayout->setAlignment( Qt::AlignTop ); 245 sortLayout->setAlignment( Qt::AlignTop );
246 246
247 label = new QLabel( i18n( "Criterion:" ), sortingGroup ); 247 label = new QLabel( i18n( "Criterion:" ), sortingGroup );
248 sortLayout->addWidget( label, 0, 0 ); 248 sortLayout->addWidget( label, 0, 0 );
249 249
250#ifndef KAB_EMBEDDED 250#ifndef KAB_EMBEDDED
251 mFieldCombo = new KComboBox( false, sortingGroup ); 251 mFieldCombo = new KComboBox( false, sortingGroup );
252#else //KAB_EMBEDDED 252#else //KAB_EMBEDDED
253 //US Combobox is not editable anyway 253 //US Combobox is not editable anyway
254 mFieldCombo = new KComboBox( sortingGroup ); 254 mFieldCombo = new KComboBox( sortingGroup );
255#endif //KAB_EMBEDDED 255#endif //KAB_EMBEDDED
256 sortLayout->addWidget( mFieldCombo, 0, 1 ); 256 sortLayout->addWidget( mFieldCombo, 0, 1 );
257 257