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/kvcarddrag.cpp | |
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/kvcarddrag.cpp')
-rw-r--r-- | libkdepim/kvcarddrag.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/kvcarddrag.cpp b/libkdepim/kvcarddrag.cpp index 4a568451e..2008f7a92 100644 --- a/libkdepim/kvcarddrag.cpp +++ b/libkdepim/kvcarddrag.cpp @@ -25,36 +25,36 @@ static const char vcard_mime_string[] = "text/x-vcard"; -KVCardDrag::KVCardDrag( const QString &content, QWidget *dragsource, +KVCardDrag::KVCardDrag( const TQString &content, TQWidget *dragsource, const char *name ) - : QStoredDrag( vcard_mime_string, dragsource, name ) + : TQStoredDrag( vcard_mime_string, dragsource, name ) { setVCard( content ); } -KVCardDrag::KVCardDrag( QWidget *dragsource, const char *name ) - : QStoredDrag( vcard_mime_string, dragsource, name ) +KVCardDrag::KVCardDrag( TQWidget *dragsource, const char *name ) + : TQStoredDrag( vcard_mime_string, dragsource, name ) { - setVCard( QString::null ); + setVCard( TQString::null ); } -void KVCardDrag::setVCard( const QString &content ) +void KVCardDrag::setVCard( const TQString &content ) { setEncodedData( content.utf8() ); } -bool KVCardDrag::canDecode( QMimeSource *e ) +bool KVCardDrag::canDecode( TQMimeSource *e ) { return e->provides( vcard_mime_string ); } -bool KVCardDrag::decode( QMimeSource *e, QString &content ) +bool KVCardDrag::decode( TQMimeSource *e, TQString &content ) { - content = QString::fromUtf8( e->encodedData( vcard_mime_string ) ); + content = TQString::fromUtf8( e->encodedData( vcard_mime_string ) ); return true; } -bool KVCardDrag::decode( QMimeSource *e, KABC::Addressee::List& addressees ) +bool KVCardDrag::decode( TQMimeSource *e, KABC::Addressee::List& addressees ) { addressees = KABC::VCardConverter().parseVCards( e->encodedData( vcard_mime_string ) ); return true; |