Kopete runner now in kdereview

Albert Astals Cid aacid at kde.org
Thu Sep 24 09:49:52 BST 2009


A Dijous, 24 de setembre de 2009, Ben Boeckel va escriure:
> Hi,
> 
> I moved the Kopete runner I've been working on into kdereview
> today (kopete-runner subdir). I fixed the last bug I was
> experiencing with KRunner grabbing Kopete's config since the
> name was set to be "kopete". In any case it supports:
> 
> With default identity:
> - Connecting
>   - connect
> - Disconnecting
>   - disconnect
> - Setting status (with and without message)
>   - status <status> [message]
> - Setting status message
>   - message <message>
> - Starting chats
>   - matches name used in buddy list
> 
> When matching buddies, it uses the buddy icon and also shows the
> status and message (if any, currently broken in Kopete DBus
> interface bko#204230).
> 
> Kopete's DBus interface could be improved to expose more
> information (individual accounts, buddies in a metacontact,
> screenname, etc.), but with what is available, this is all that
> is possible.
> 
> I would like to see this in kdenetwork with Kopete itself, but
> kdebase (everything is done over DBus, so no kdenetwork
> dependency here) and kdeplasma-addons in extragear are also
> options. Thanks for any feedback.

const QStringList& ids = m_contactData.keys();
foreach (const QString& id, ids)
{
	const ContactProperties& props = m_contactData[id];


This is slower and uses more memory than it needs to, please use a regular 
iterator to traverse m_contactData.

Albert


> 
> --Ben
> 





More information about the kde-core-devel mailing list