summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/phoneeditwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/phoneeditwidget.h b/kaddressbook/phoneeditwidget.h
index f61087b..5bb4226 100644
--- a/kaddressbook/phoneeditwidget.h
+++ b/kaddressbook/phoneeditwidget.h
@@ -1,62 +1,63 @@
1#ifndef PHONEEDITWIDGET_H 1#ifndef PHONEEDITWIDGET_H
2#define PHONEEDITWIDGET_H 2#define PHONEEDITWIDGET_H
3/* 3/*
4 This file is part of KAddressBook. 4 This file is part of KAddressBook.
5 Copyright (c) 2002 Mike Pilone <mpilone@slac.com> 5 Copyright (c) 2002 Mike Pilone <mpilone@slac.com>
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or 9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
11 11
12 This program is distributed in the hope that it will be useful, 12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 15 GNU General Public License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 20
21 As a special exception, permission is given to link this program 21 As a special exception, permission is given to link this program
22 with any edition of Qt, and distribute the resulting executable, 22 with any edition of Qt, and distribute the resulting executable,
23 without including the source code for Qt in the source distribution. 23 without including the source code for Qt in the source distribution.
24*/ 24*/
25 25
26#include <kdialogbase.h> 26#include <kdialogbase.h>
27#include <kiconloader.h> 27#include <kiconloader.h>
28#include <qpushbutton.h> 28#include <qpushbutton.h>
29#include <qlayout.h> 29#include <qlayout.h>
30#include <qpopupmenu.h> 30#include <qpopupmenu.h>
31#include <qapplication.h>
31 32
32#include <qptrlist.h> 33#include <qptrlist.h>
33#include <qscrollview.h> 34#include <qscrollview.h>
34 35
35#include "addresseeconfig.h" 36#include "addresseeconfig.h"
36#include "typecombo.h" 37#include "typecombo.h"
37 38
38class QButtonGroup; 39class QButtonGroup;
39class QCheckBox; 40class QCheckBox;
40class PhoneTypeNumberEdit; 41class PhoneTypeNumberEdit;
41 42
42#include <klineedit.h> 43#include <klineedit.h>
43#include <kcombobox.h> 44#include <kcombobox.h>
44#include <kabc/phonenumber.h> 45#include <kabc/phonenumber.h>
45 46
46typedef TypeCombo<KABC::PhoneNumber> PhoneTypeCombo; 47typedef TypeCombo<KABC::PhoneNumber> PhoneTypeCombo;
47 48
48/** 49/**
49 Widget for editing phone numbers. 50 Widget for editing phone numbers.
50*/ 51*/
51class PhoneEditWidget : public QWidget 52class PhoneEditWidget : public QWidget
52{ 53{
53 Q_OBJECT 54 Q_OBJECT
54 55
55 public: 56 public:
56 PhoneEditWidget( QWidget *parent, const char *name = 0 ); 57 PhoneEditWidget( QWidget *parent, const char *name = 0 );
57 ~PhoneEditWidget(); 58 ~PhoneEditWidget();
58 59
59 void setPhoneNumbers( const KABC::PhoneNumber::List &list ); 60 void setPhoneNumbers( const KABC::PhoneNumber::List &list );
60 KABC::PhoneNumber::List phoneNumbers(); 61 KABC::PhoneNumber::List phoneNumbers();
61 62
62 // void updateTypeCombo( const KABC::PhoneNumber::List&, KComboBox* ); 63 // void updateTypeCombo( const KABC::PhoneNumber::List&, KComboBox* );