summaryrefslogtreecommitdiffstats
path: root/kmail/identitydrag.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/identitydrag.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'kmail/identitydrag.cpp')
-rw-r--r--kmail/identitydrag.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/identitydrag.cpp b/kmail/identitydrag.cpp
index 5116dd445..e8ba4a07e 100644
--- a/kmail/identitydrag.cpp
+++ b/kmail/identitydrag.cpp
@@ -41,8 +41,8 @@ namespace KMail {
static const char kmailIdentityMimeType[] = "application/x-kmail-identity-drag";
IdentityDrag::IdentityDrag( const KPIM::Identity & ident,
- QWidget * dragSource, const char * name )
- : QDragObject( dragSource, name ), mIdent( ident )
+ TQWidget * dragSource, const char * name )
+ : TQDragObject( dragSource, name ), mIdent( ident )
{
}
@@ -54,26 +54,26 @@ namespace KMail {
return 0;
}
- QByteArray IdentityDrag::encodedData( const char * mimetype ) const {
- QByteArray a;
+ TQByteArray IdentityDrag::encodedData( const char * mimetype ) const {
+ TQByteArray a;
if ( !qstrcmp( mimetype, kmailIdentityMimeType ) ) {
- QDataStream s( a, IO_WriteOnly );
+ TQDataStream s( a, IO_WriteOnly );
s << mIdent;
}
return a;
}
- bool IdentityDrag::canDecode( const QMimeSource * e ) {
+ bool IdentityDrag::canDecode( const TQMimeSource * e ) {
// ### feel free to add vCard and other stuff here and in decode...
return e->provides( kmailIdentityMimeType );
}
- bool IdentityDrag::decode( const QMimeSource * e, KPIM::Identity & i ) {
+ bool IdentityDrag::decode( const TQMimeSource * e, KPIM::Identity & i ) {
if ( e->provides( kmailIdentityMimeType ) ) {
- QDataStream s( e->encodedData( kmailIdentityMimeType ), IO_ReadOnly );
+ TQDataStream s( e->encodedData( kmailIdentityMimeType ), IO_ReadOnly );
s >> i;
return true;
}