-rw-r--r-- | libkdepim/addresseeview.h | 2 |
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 | |||
@@ -12,49 +12,49 @@ | |||
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 | ||
30 | namespace KPIM { | 30 | namespace KPIM { |
31 | 31 | ||
32 | //US class AddresseeView : public KTextBrowser | 32 | //US class AddresseeView : public KTextBrowser |
33 | class AddresseeView : public QTextBrowser | 33 | class 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 |