You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, September 8th 2005, 1:24pm

[kopete] dcop and contacts online status

I try to find an easy way to get the online status of my contact through dcop but i didnt find so far.
I have
dcop kopete default onlineContacts
which gives me online contacts but not if they are away or anything

dcop kopete default contactsStatus
which gives me the proper status online or away BUT
1/ the status is localised which makes it difficult to use in scripts
2/ some contacts are named by their identifier not by their proper name@server.tld and the identifier doesnt seem to work with messageContact

onlineStatus doesnt seem to work with either the identifier or the proper complete name, which work in messageContact, yet both function says:
void messageContact(QString contactId,QString messageText)
QString onlineStatus(QString metaContactId)
but i get Unknown Contact with
dcop kopete default onlineStatus name@server.tld

Anyone knows better, has some insight or see my mistake?

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Monday, September 12th 2005, 10:26pm

Try
dcop kopete KIMIface

And method presenceStatus

See the KIMIface documentation for other methods:
http://developer.kde.org/documentation/l…ssKIMIface.html

Cheers,
_
Qt/KDE Developer
Debian User