author | zautrix <zautrix> | 2004-10-22 02:21:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-22 02:21:29 (UTC) |
commit | c17118a0b2da49ec633e21cdcd51798c0c38644a (patch) (unidiff) | |
tree | 581fbcaa64a5566991ffe0bd3b1b2d428589d87f /kabc/addresseeview.h | |
parent | d6f9bd535e8cabe653bdff329500f9153e5e11fb (diff) | |
download | kdepimpi-c17118a0b2da49ec633e21cdcd51798c0c38644a.zip kdepimpi-c17118a0b2da49ec633e21cdcd51798c0c38644a.tar.gz kdepimpi-c17118a0b2da49ec633e21cdcd51798c0c38644a.tar.bz2 |
made addressbook much faster
-rw-r--r-- | kabc/addresseeview.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/addresseeview.h b/kabc/addresseeview.h index d8a13ee..3800512 100644 --- a/kabc/addresseeview.h +++ b/kabc/addresseeview.h | |||
@@ -25,55 +25,55 @@ | |||
25 | #include <kabc/addressee.h> | 25 | #include <kabc/addressee.h> |
26 | #include <kdialogbase.h> | 26 | #include <kdialogbase.h> |
27 | 27 | ||
28 | //US #include <ktextbrowser.h> | 28 | //US #include <ktextbrowser.h> |
29 | #include <qtextbrowser.h> | 29 | #include <qtextbrowser.h> |
30 | 30 | ||
31 | namespace KPIM { | 31 | namespace KPIM { |
32 | 32 | ||
33 | //US class AddresseeView : public KTextBrowser | 33 | //US class AddresseeView : public KTextBrowser |
34 | class AddresseeView : public QTextBrowser | 34 | class AddresseeView : public QTextBrowser |
35 | { | 35 | { |
36 | public: | 36 | public: |
37 | AddresseeView( QWidget *parent = 0, const char *name = 0 ); | 37 | AddresseeView( QWidget *parent = 0, const char *name = 0 ); |
38 | 38 | ||
39 | /** | 39 | /** |
40 | Sets the addressee object. The addressee is displayed immediately. | 40 | Sets the addressee object. The addressee is displayed immediately. |
41 | 41 | ||
42 | @param addr The addressee object. | 42 | @param addr The addressee object. |
43 | */ | 43 | */ |
44 | void setAddressee( const KABC::Addressee& addr ); | 44 | void setAddressee( const KABC::Addressee& addr ); |
45 | void setSource(const QString& n); | 45 | void setSource(const QString& n); |
46 | /** | 46 | /** |
47 | Returns the current addressee object. | 47 | Returns the current addressee object. |
48 | */ | 48 | */ |
49 | KABC::Addressee addressee() const; | 49 | //KABC::Addressee addressee() const; |
50 | 50 | ||
51 | private: | 51 | private: |
52 | KABC::Addressee mAddressee; | 52 | //KABC::Addressee mAddressee; |
53 | QString mText; | 53 | QString mText; |
54 | QString getPhoneNumbers( bool preferred ); | 54 | QString getPhoneNumbers( KABC::PhoneNumber::List phones, bool preferred ); |
55 | void addTag(const QString & tag,const QString & text); | 55 | void addTag(const QString & tag,const QString & text); |
56 | class AddresseeViewPrivate; | 56 | //class AddresseeViewPrivate; |
57 | AddresseeViewPrivate *d; | 57 | //AddresseeViewPrivate *d; |
58 | }; | 58 | }; |
59 | class AddresseeChooser : public KDialogBase | 59 | class AddresseeChooser : public KDialogBase |
60 | { | 60 | { |
61 | Q_OBJECT | 61 | Q_OBJECT |
62 | 62 | ||
63 | public: | 63 | public: |
64 | AddresseeChooser( KABC::Addressee loc, KABC::Addressee rem, bool takeloc, QWidget *parent = 0, const char *name = 0 ); | 64 | AddresseeChooser( KABC::Addressee loc, KABC::Addressee rem, bool takeloc, QWidget *parent = 0, const char *name = 0 ); |
65 | 65 | ||
66 | int executeD( bool local ); | 66 | int executeD( bool local ); |
67 | 67 | ||
68 | private: | 68 | private: |
69 | int mSyncResult; | 69 | int mSyncResult; |
70 | 70 | ||
71 | private slots: | 71 | private slots: |
72 | void slot_remote(); | 72 | void slot_remote(); |
73 | void slot_local(); | 73 | void slot_local(); |
74 | 74 | ||
75 | }; | 75 | }; |
76 | 76 | ||
77 | } | 77 | } |
78 | 78 | ||
79 | #endif | 79 | #endif |