OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Qcop Message Lists
papercrane
post Feb 15 2005, 04:47 PM
Post #1





Group: Members
Posts: 65
Joined: 23-February 04
From: Santa Rosa
Member No.: 1,997



Is there anywhere I can get a definitive list of QCop messages? Is there anyw ay to perhaps query an app to see what it can do? I've found some listings of the system qcop messages, but I'm actually looking for the messages that can be sent to the Music Player on the C series (I have a C3000).
Go to the top of the page
 
+Quote Post
Stubear
post Feb 15 2005, 06:09 PM
Post #2





Group: Members
Posts: 1,164
Joined: 17-December 03
From: Melbourne, AUSTRALIA
Member No.: 1,219



http://doc.trolltech.com/qtopia2.1/html/qcop.html has a bunch of them, but I doubt you'll ever get a definitive list as each app can use qcop itself and isn't limited to set qtopia has.

There was an app I saw that allowed you to "watch" the qcop messages and store ones for specific apps. This may help you in your hunt - If I can find it I'll post the link.

Stu
Go to the top of the page
 
+Quote Post
Stubear
post Feb 16 2005, 06:12 AM
Post #3





Group: Members
Posts: 1,164
Joined: 17-December 03
From: Melbourne, AUSTRALIA
Member No.: 1,219



Here is the qcop watching program I was talking about

http://www2.gol.com/users/ikezawa/zaurus/qcoptest.html

The site is Japanese, but the program works in english

Stu
Go to the top of the page
 
+Quote Post
maslovsky
post Feb 16 2005, 08:12 AM
Post #4





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



Here is the result of my search through Sharp Qtopia binaries:

QPE/System

volumeChange(bool)
enableWizardBtn(bool)

linkChanged(QString)
setBlankLCD(int)
setScreenSaverMode(int)
setScreenSaverInterval(int)
setScreenSaverIntervals(int,int,int)
setBacklight(int)
setScreenSaverOnOff(bool)
setSuspendOnOff(bool)
brightnessChange(int,int)

remoteControl(int) ?
remoteControl(int,int,int) ?
registerRemconMaster(QString,int) ?

shutdown()
restart()
quit()
mustQuit()
stopSamba()
startSamba()
startSync()
stopSync()
busy()
notBusy(QString)
execute(QString)

timeChange(QString)

__zoomin
__zoomout
__rotate
__network_connect
__network_disconnect

execute(QString,QString)
addPrivilegeApp(QString) ?
removePrivilegeApp(QString) ?
raiseMenu()

QPE/Network

connectRequest()
disconnectRequest(int)
choicesChanged()
up()
down()

QPE/Card
mtabChanged()
stabChanged()

QPE/TaskBar

setLed(int,bool) ?
reloadApplets()
reloadInputMethods()
updateMenu()
message(QString)
showInputMethod()
hideInputMethod()
changeInputMethod()
rotateInputMethod()
soundAlarm()

QPE/Application/addressbook

addContact(QString,QString) "First Last" e-mail
editPersonal()
editPersonalAndClose()
nextView()
saveXML()
searchPhoneNo(QString,QString)
addPhoneNo(QString,QString)

QPE/Application/datebook

nextView()

QPE/Application/qtmail

writeMail(QString,QString) "First Last" e-mail
sendrecv()
nextView()
reload()

QPE/Application/launcher

escKey()
raise()
nextView()
Go to the top of the page
 
+Quote Post
maslovsky
post Feb 16 2005, 08:13 AM
Post #5





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



Also, you can open program binary in a text editor and just look for string that look like a qcop messages
Go to the top of the page
 
+Quote Post
eviLjazz
post Feb 17 2005, 03:19 PM
Post #6





Group: Members
Posts: 116
Joined: 11-December 03
From: Oldenburg, Germany
Member No.: 1,155



Hi,

is there a way to suspend the Zaurus via qcop?

For some reason I have big trouble waking up the machine after suspending via
apm --suspend

The whole Qtopia UI is slooow. Actually I can see how it draws the content.
The funny thing is that my SSH connection seems to be running quite fine perfomance-wise.

I have no idea what the cause is. Maybe someone can shed a light on this.
I know for sure that this behaviour showed up on all ROMs I've tested (all Cacko versions, all Sharp). Perhaps I'm just doing something wrong?!

Regards,
evil
Go to the top of the page
 
+Quote Post
eviLjazz
post May 19 2005, 05:40 PM
Post #7





Group: Members
Posts: 116
Joined: 11-December 03
From: Oldenburg, Germany
Member No.: 1,155



Okay, since nobody seems to have this problem described above with
apm --suspend

I had to come up with my own solution. Actually it's quite easy to figure out once you use qcoptest. Great program!

qcop QPE/System "execute(QString)" suspend

will send your Zaurus into sleep mode.
Waking it up doesn't show the symptoms I had when using apm --suspend, ie. unusable UI.

I still don't get why that "apm --suspend" doesn't work as expected.
I guess it has to do with some framebuffer/graphic driver quirk/problem. It's only the graphics output that's incredibly slowed down - everything else, like using the Zaurus via SSH, works as usual. Perhaps it's a problem only visible with my C750, no idea...
Anyway, the line above works for me. If anybody else has the same problem, this is a solution.

So, now I can finally listen to music while falling asleep - and have my Zaurus suspend for sure after 20 minutes or so...

sleep 1200 && qcop QPE/System "execute(QString)" suspend

does the trick wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th May 2013 - 04:48 AM