summaryrefslogtreecommitdiffabout
path: root/kabc/addresseeview.h
authorzautrix <zautrix>2005-06-26 10:43:45 (UTC)
committer zautrix <zautrix>2005-06-26 10:43:45 (UTC)
commit98bc92a09eb27fef0efa9c3dc5e963f7faa0319c (patch) (unidiff)
treef80716d3e1239054a0a48bec6e9f67dd57e2156a /kabc/addresseeview.h
parentf27e8c6cc8abbd27f10167334d608c7e0af7f711 (diff)
downloadkdepimpi-98bc92a09eb27fef0efa9c3dc5e963f7faa0319c.zip
kdepimpi-98bc92a09eb27fef0efa9c3dc5e963f7faa0319c.tar.gz
kdepimpi-98bc92a09eb27fef0efa9c3dc5e963f7faa0319c.tar.bz2
details addressee better
Diffstat (limited to 'kabc/addresseeview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/addresseeview.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kabc/addresseeview.h b/kabc/addresseeview.h
index e977d8f..a4de085 100644
--- a/kabc/addresseeview.h
+++ b/kabc/addresseeview.h
@@ -28,50 +28,51 @@
28//US #include <ktextbrowser.h> 28//US #include <ktextbrowser.h>
29#include <qtextbrowser.h> 29#include <qtextbrowser.h>
30 30
31namespace KABC { 31namespace KABC {
32 32
33//US class AddresseeView : public KTextBrowser 33//US class AddresseeView : public KTextBrowser
34class AddresseeView : public QTextBrowser 34class AddresseeView : public QTextBrowser
35{ 35{
36 36
37 public: 37 public:
38 AddresseeView( QWidget *parent = 0, const char *name = 0 ); 38 AddresseeView( QWidget *parent = 0, const char *name = 0 );
39 39
40 /** 40 /**
41 Sets the addressee object. The addressee is displayed immediately. 41 Sets the addressee object. The addressee is displayed immediately.
42 42
43 @param addr The addressee object. 43 @param addr The addressee object.
44 */ 44 */
45 void setAddressee( const KABC::Addressee& addr ); 45 void setAddressee( const KABC::Addressee& addr );
46 void setSource(const QString& n); 46 void setSource(const QString& n);
47 /** 47 /**
48 Returns the current addressee object. 48 Returns the current addressee object.
49 */ 49 */
50 //KABC::Addressee addressee() const; 50 //KABC::Addressee addressee() const;
51 void printMe(); 51 void printMe();
52 52 static bool sFullDetailsMode;
53 private: 53 private:
54 Addressee mCurrentContact;
54 //KABC::Addressee mAddressee; 55 //KABC::Addressee mAddressee;
55 QString mText; 56 QString mText;
56 QString getPhoneNumbers( KABC::PhoneNumber::List phones, bool preferred ); 57 QString getPhoneNumbers( KABC::PhoneNumber::List phones, bool preferred );
57 void addTag(const QString & tag,const QString & text); 58 void addTag(const QString & tag,const QString & text);
58 //class AddresseeViewPrivate; 59 //class AddresseeViewPrivate;
59 //AddresseeViewPrivate *d; 60 //AddresseeViewPrivate *d;
60}; 61};
61class AddresseeChooser : public KDialogBase 62class AddresseeChooser : public KDialogBase
62{ 63{
63 Q_OBJECT 64 Q_OBJECT
64 65
65 public: 66 public:
66 AddresseeChooser( KABC::Addressee loc, KABC::Addressee rem, bool takeloc, QWidget *parent = 0, const char *name = 0 ); 67 AddresseeChooser( KABC::Addressee loc, KABC::Addressee rem, bool takeloc, QWidget *parent = 0, const char *name = 0 );
67 68
68 int executeD( bool local ); 69 int executeD( bool local );
69 70
70 private: 71 private:
71 int mSyncResult; 72 int mSyncResult;
72 73
73 private slots: 74 private slots:
74 void slot_remote(); 75 void slot_remote();
75 void slot_local(); 76 void slot_local();
76 77
77}; 78};