diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/addresseeview.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/addresseeview.h')
-rw-r--r-- | libkdepim/addresseeview.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/libkdepim/addresseeview.h b/libkdepim/addresseeview.h index fe81226d4..97c6eebbb 100644 --- a/libkdepim/addresseeview.h +++ b/libkdepim/addresseeview.h @@ -22,7 +22,7 @@ #ifndef KPIM_ADDRESSEEVIEW_H #define KPIM_ADDRESSEEVIEW_H -#include <qcstring.h> +#include <tqcstring.h> #include <kabc/addressee.h> #include <ktextbrowser.h> @@ -50,7 +50,7 @@ class KDE_EXPORT AddresseeView : public KTextBrowser @param config The config object where the settings are stored which fields will be shown. */ - AddresseeView( QWidget *parent = 0, const char *name = 0, + AddresseeView( TQWidget *parent = 0, const char *name = 0, KConfig *config = 0 ); ~AddresseeView(); @@ -127,46 +127,46 @@ class KDE_EXPORT AddresseeView : public KTextBrowser @param fieldMask The mask for which fields of the contact will be displayed. */ - static QString vCardAsHTML( const KABC::Addressee& addr, ::KIMProxy *proxy, LinkMask linkMask = DefaultLinks, + static TQString vCardAsHTML( const KABC::Addressee& addr, ::KIMProxy *proxy, LinkMask linkMask = DefaultLinks, bool internalLoading = true, FieldMask fieldMask = DefaultFields ); /** - * Encodes a QPixmap as a PNG into a data: URL (rfc2397), readable by the data kio protocol + * Encodes a TQPixmap as a PNG into a data: URL (rfc2397), readable by the data kio protocol * @param pixmap the pixmap to encode * @return a data: URL */ - static QString pixmapAsDataUrl( const QPixmap& pixmap ); + static TQString pixmapAsDataUrl( const TQPixmap& pixmap ); signals: - void urlHighlighted( const QString &url ); - void emailHighlighted( const QString &email ); - void phoneNumberHighlighted( const QString &number ); - void faxNumberHighlighted( const QString &number ); + void urlHighlighted( const TQString &url ); + void emailHighlighted( const TQString &email ); + void phoneNumberHighlighted( const TQString &number ); + void faxNumberHighlighted( const TQString &number ); - void highlightedMessage( const QString &message ); + void highlightedMessage( const TQString &message ); - void addressClicked( const QString &uid ); + void addressClicked( const TQString &uid ); protected: - virtual void urlClicked( const QString &url ); - virtual void emailClicked( const QString &mail ); - virtual void phoneNumberClicked( const QString &number ); - virtual void smsTextClicked( const QString &number ); - virtual void sendSMS( const QString &number, const QString &msg ); - virtual void faxNumberClicked( const QString &number ); + virtual void urlClicked( const TQString &url ); + virtual void emailClicked( const TQString &mail ); + virtual void phoneNumberClicked( const TQString &number ); + virtual void smsTextClicked( const TQString &number ); + virtual void sendSMS( const TQString &number, const TQString &msg ); + virtual void faxNumberClicked( const TQString &number ); virtual void imAddressClicked(); - virtual QPopupMenu *createPopupMenu( const QPoint& ); + virtual TQPopupMenu *createPopupMenu( const TQPoint& ); private slots: - void slotMailClicked( const QString&, const QString& ); - void slotUrlClicked( const QString& ); - void slotHighlighted( const QString& ); - void slotPresenceChanged( const QString & ); + void slotMailClicked( const TQString&, const TQString& ); + void slotUrlClicked( const TQString& ); + void slotHighlighted( const TQString& ); + void slotPresenceChanged( const TQString & ); void slotPresenceInfoExpired(); void configChanged(); - void data( KIO::Job*, const QByteArray& ); + void data( KIO::Job*, const TQByteArray& ); void result( KIO::Job* ); private: @@ -175,12 +175,12 @@ class KDE_EXPORT AddresseeView : public KTextBrowser void updateView(); - QString strippedNumber( const QString &number ); + TQString strippedNumber( const TQString &number ); KConfig *mConfig; bool mDefaultConfig; - QByteArray mImageData; + TQByteArray mImageData; KIO::Job *mImageJob; KToggleAction *mActionShowBirthday; |