[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: [kopete-devel] Review Request: Ability to show individuals
From: "Matt Rogers" <mattr () kde ! org>
Date: 2009-09-17 4:06:34
Message-ID: 20090917040634.1973.55408 () localhost
[Download RAW message or body]
> On None, Matt Rogers wrote:
> > Is this any way that this can be done through the use of a contact property \
> > rather than adding API? Kopete 1.0 is coming soon, and so I'm basically treating \
> > the API as frozen unless there are critical concerns around it.
> > Also, there isn't a contact list version bump to go with the added XML tag, which \
> > would only be needed if we do not switch to using a contact property.
>
> Bruno Bigras wrote:
> Thanks for the fast response!
>
> Do you have any sample of something already using a "contact property"? I don't \
> know much about Kopete's structure, I guess you mean without touching libkopete.
the api for the properties is setProperty() and property() in Kopete::Contact, at \
least that's how you would use them. You'd need something like what's in \
protocols/oscar/oscarprotocol.h and protocols/oscar/oscarprotocol.cpp to declare the \
new property. I'm not sure exactly where you'd declare the new property at, so that \
it's available by all, but that's the basics of it.
- Matt
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1619/#review2379
-----------------------------------------------------------
On 2009-09-16 04:21:32, Bruno Bigras wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1619/
> -----------------------------------------------------------
>
> (Updated 2009-09-16 04:21:32)
>
>
> Review request for Kopete.
>
>
> Summary
> -------
>
> Add the possibility to always show a contact even if offline like in Pidgin. It \
> makes sending messages to "always invisible" friends much easier when having many \
> contacts.
> For now, it adds a "always-visible" tag in contactlist.xml.
>
> <meta-contact kabcId="WlmProtocol:my@email.com:someone@iknow.com" \
> contactId="{ef566dff-e12c-41e6-8390-c0a46666319e}" > <display-name></display-name>
> <always-visible>false</always-visible>
>
>
> This addresses bug 98757.
> https://bugs.kde.org/show_bug.cgi?id=98757
>
>
> Diffs
> -----
>
> /trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlistproxymodel.cpp 1024049
> /trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlisttreemodel.cpp 1024049
> /trunk/KDE/kdenetwork/kopete/kopete/contactlist/kopeteitembase.h 1024049
> /trunk/KDE/kdenetwork/kopete/kopete/contactlist/kopetelviprops.h 1024049
> /trunk/KDE/kdenetwork/kopete/kopete/contactlist/kopetelviprops.cpp 1024049
> /trunk/KDE/kdenetwork/kopete/kopete/contactlist/kopetemetalvipropswidget.ui 1024049 \
>
> /trunk/KDE/kdenetwork/kopete/libkopete/contactlist/xmlcontactstorage.cpp 1024049
> /trunk/KDE/kdenetwork/kopete/libkopete/kopetecontact.h 1024049
> /trunk/KDE/kdenetwork/kopete/libkopete/kopetecontact.cpp 1024049
> /trunk/KDE/kdenetwork/kopete/libkopete/kopetemetacontact.h 1024049
> /trunk/KDE/kdenetwork/kopete/libkopete/kopetemetacontact.cpp 1024049
> /trunk/KDE/kdenetwork/kopete/libkopete/kopetemetacontact_p.h 1024049
>
> Diff: http://reviewboard.kde.org/r/1619/diff
>
>
> Testing
> -------
>
>
> Screenshots
> -----------
>
>
> http://reviewboard.kde.org/r/1619/s/205/
>
>
> Thanks,
>
> Bruno
>
>
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic