diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/libkopete/kopetemetacontact.h | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/kopetemetacontact.h')
-rw-r--r-- | kopete/libkopete/kopetemetacontact.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/kopete/libkopete/kopetemetacontact.h b/kopete/libkopete/kopetemetacontact.h index d3c95cd7..168fbaa2 100644 --- a/kopete/libkopete/kopetemetacontact.h +++ b/kopete/libkopete/kopetemetacontact.h @@ -57,17 +57,18 @@ class Picture; class KOPETE_EXPORT MetaContact : public ContactListElement, public NotifyDataObject { Q_OBJECT - - Q_PROPERTY( TQString displayName READ displayName WRITE setDisplayName ) - Q_PROPERTY( TQString statusString READ statusString ) - Q_PROPERTY( TQString statusIcon READ statusIcon ) - Q_PROPERTY( bool isOnline READ isOnline ) - Q_PROPERTY( bool isReachable READ isReachable ) - Q_PROPERTY( bool isTemporary READ isTemporary ) - Q_PROPERTY( bool canAcceptFiles READ canAcceptFiles ) - //Q_PROPERTY( ulong idleTime READ idleTime ) - Q_PROPERTY( TQString metaContactId READ metaContactId WRITE setMetaContactId ) - Q_PROPERTY( bool photoSyncedWithKABC READ isPhotoSyncedWithKABC WRITE setPhotoSyncedWithKABC ) + TQ_OBJECT + + TQ_PROPERTY( TQString displayName READ displayName WRITE setDisplayName ) + TQ_PROPERTY( TQString statusString READ statusString ) + TQ_PROPERTY( TQString statusIcon READ statusIcon ) + TQ_PROPERTY( bool isOnline READ isOnline ) + TQ_PROPERTY( bool isReachable READ isReachable ) + TQ_PROPERTY( bool isTemporary READ isTemporary ) + TQ_PROPERTY( bool canAcceptFiles READ canAcceptFiles ) + //TQ_PROPERTY( ulong idleTime READ idleTime ) + TQ_PROPERTY( TQString metaContactId READ metaContactId WRITE setMetaContactId ) + TQ_PROPERTY( bool photoSyncedWithKABC READ isPhotoSyncedWithKABC WRITE setPhotoSyncedWithKABC ) public: /** @@ -414,7 +415,7 @@ public slots: * file size (such as over a socket) * */ - void sendFile( const KURL &sourceURL, const TQString &altFileName = TQString::null, + void sendFile( const KURL &sourceURL, const TQString &altFileName = TQString(), unsigned long fileSize = 0L ); signals: /** @@ -558,7 +559,7 @@ private slots: /** * One of the child contact's online status changed */ - void slotContactStatusChanged( Kopete::Contact *c, const Kopete::OnlineStatus &status, const Kopete::OnlineStatus &oldStatus ); + void slotContactStatusChanged( Kopete::Contact *c, const Kopete::OnlineStatus &status, const Kopete::OnlineStatus &oldtqStatus ); /** * One of the child contact's property changed |