summaryrefslogtreecommitdiffstats
path: root/libkdepim/kvcarddrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kvcarddrag.cpp')
-rw-r--r--libkdepim/kvcarddrag.cpp20
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;