summaryrefslogtreecommitdiffabout
path: root/libkdepim/addresseeview.h
Unidiff
Diffstat (limited to 'libkdepim/addresseeview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/addresseeview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/addresseeview.h b/libkdepim/addresseeview.h
index 598ef0d..1865fc4 100644
--- a/libkdepim/addresseeview.h
+++ b/libkdepim/addresseeview.h
@@ -1,60 +1,60 @@
1/* 1/*
2 This file is part of libkdepim. 2 This file is part of libkdepim.
3 3
4 Copyright (c) 2003 Tobias Koenig <tokoe@kde.org> 4 Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
5 5
6 This library is free software; you can redistribute it and/or 6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public 7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version. 9 version 2 of the License, or (at your option) any later version.
10 10
11 This library is distributed in the hope that it will be useful, 11 This library 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 GNU 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details. 14 Library General Public License for more details.
15 15
16 You should have received a copy of the GNU Library General Public License 16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to 17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. 19 Boston, MA 02111-1307, USA.
20*/ 20*/
21 21
22#ifndef KPIM_ADDRESSEEVIEW_H 22#ifndef KPIM_ADDRESSEEVIEW_H
23#define KPIM_ADDRESSEEVIEW_H 23#define KPIM_ADDRESSEEVIEW_H
24 24
25#include <kabc/addressee.h> 25#include <kabc/addressee.h>
26 26
27//US #include <ktextbrowser.h> 27//US #include <ktextbrowser.h>
28#include <qtextbrowser.h> 28#include <qtextbrowser.h>
29 29
30namespace KPIM { 30namespace KPIM {
31 31
32//US class AddresseeView : public KTextBrowser 32//US class AddresseeView : public KTextBrowser
33class AddresseeView : public QTextBrowser 33class AddresseeView : public QTextBrowser
34{ 34{
35 public: 35 public:
36 AddresseeView( QWidget *parent = 0, const char *name = 0 ); 36 AddresseeView( QWidget *parent = 0, const char *name = 0 );
37 37
38 /** 38 /**
39 Sets the addressee object. The addressee is displayed immediately. 39 Sets the addressee object. The addressee is displayed immediately.
40 40
41 @param addr The addressee object. 41 @param addr The addressee object.
42 */ 42 */
43 void setAddressee( const KABC::Addressee& addr ); 43 void setAddressee( const KABC::Addressee& addr );
44 44 void setSource(const QString& n);
45 /** 45 /**
46 Returns the current addressee object. 46 Returns the current addressee object.
47 */ 47 */
48 KABC::Addressee addressee() const; 48 KABC::Addressee addressee() const;
49 49
50 private: 50 private:
51 KABC::Addressee mAddressee; 51 KABC::Addressee mAddressee;
52 QString mText; 52 QString mText;
53 void addTag(const QString & tag,const QString & text); 53 void addTag(const QString & tag,const QString & text);
54 class AddresseeViewPrivate; 54 class AddresseeViewPrivate;
55 AddresseeViewPrivate *d; 55 AddresseeViewPrivate *d;
56}; 56};
57 57
58} 58}
59 59
60#endif 60#endif