[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/oscar
From:       Matt Rogers <mattr () kde ! org>
Date:       2005-04-01 0:10:36
Message-ID: 20050401001036.415503C9 () office ! kde ! org
[Download RAW message or body]

CVS commit by mattr: 

Add properties for buddy icons


  M +5 -0      aim/aimcontact.cpp   1.72
  M +2 -1      aim/aimprotocol.cpp   1.32
  M +1 -0      aim/aimprotocol.h   1.12
  M +2 -1      icq/icqprotocol.cpp   1.64
  M +1 -0      icq/icqprotocol.h   1.18


--- kdenetwork/kopete/protocols/oscar/aim/aimcontact.cpp  #1.71:1.72
@@ -175,5 +175,10 @@ void AIMContact::userInfoUpdated( const 
         }
         
+//      if ( details.buddyIconHash() != m_details.buddyIconHash() )
+//              account()->engine()->getBuddyIcon( contactId() );
+
         OscarContact::userInfoUpdated( contact, details );
+
+
 }
 

--- kdenetwork/kopete/protocols/oscar/aim/aimprotocol.cpp  #1.31:1.32
@@ -159,5 +159,6 @@ AIMProtocol::AIMProtocol(QObject *parent
         awayMessage(Kopete::Global::Properties::self()->awayMessage()),
         clientFeatures("clientFeatures", i18n("Client Features"), 0, false),
-        clientProfile( "clientProfile", i18n( "User Profile"), 0, false)
+        clientProfile( "clientProfile", i18n( "User Profile"), 0, false),
+        iconHash("iconHash", i18n("Buddy Icon MD5 Hash"), QString::null, true, false, true)
 {
         if (protocolStatic_)

--- kdenetwork/kopete/protocols/oscar/aim/aimprotocol.h  #1.11:1.12
@@ -72,4 +72,5 @@ public:
         const Kopete::ContactPropertyTmpl clientFeatures;
         const Kopete::ContactPropertyTmpl clientProfile;
+        const Kopete::ContactPropertyTmpl iconHash;
 
 private:

--- kdenetwork/kopete/protocols/oscar/icq/icqprotocol.cpp  #1.63:1.64
@@ -173,5 +173,6 @@ ICQProtocol::ICQProtocol(QObject *parent
         awayMessage(Kopete::Global::Properties::self()->awayMessage()),
         emailAddress(Kopete::Global::Properties::self()->emailAddress()),
-        clientFeatures("clientFeatures", i18n("Client Features"), 0, false)
+        clientFeatures("clientFeatures", i18n("Client Features"), 0, false),
+        buddyIconHash("iconHash", i18n("Buddy Icon MD5 Hash"), QString::null, true, false, true)
 {
         if (protocolStatic_)

--- kdenetwork/kopete/protocols/oscar/icq/icqprotocol.h  #1.17:1.18
@@ -66,4 +66,5 @@ public:
         const Kopete::ContactPropertyTmpl emailAddress;
         const Kopete::ContactPropertyTmpl clientFeatures;
+        const Kopete::ContactPropertyTmpl buddyIconHash;
 
         const QMap<int, QString> &genders() { return mGenders; }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic