summaryrefslogtreecommitdiff
authoralwin <alwin>2004-02-19 11:44:25 (UTC)
committer alwin <alwin>2004-02-19 11:44:25 (UTC)
commit51992ef09a92db868234936484fcc3aec0d2d4ad (patch) (side-by-side diff)
tree0e73af3768da5a5c6e3fa0a5c2ed615e4bdbb399
parentf388f1777ff1c83a483b20cebbafedd566628d12 (diff)
downloadopie-51992ef09a92db868234936484fcc3aec0d2d4ad.zip
opie-51992ef09a92db868234936484fcc3aec0d2d4ad.tar.gz
opie-51992ef09a92db868234936484fcc3aec0d2d4ad.tar.bz2
aboutSuspend -> aboutToSuspend
I knew all the time - zecke is Mr. Muentefering in real live ;)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp
index 7d67efe..b8d48fe 100644
--- a/libopie2/opiecore/device/odevice.cpp
+++ b/libopie2/opiecore/device/odevice.cpp
@@ -579,50 +579,50 @@ void ODevice::remapPressedAction ( int button, const OQCopMessage &action )
{
initButtons();
QString mb_chan;
if ( button >= (int) d->m_buttons->count())
return;
ODeviceButton &b = ( *d->m_buttons ) [button];
b. setPressedAction ( action );
mb_chan=b. pressedAction(). channel();
Config buttonFile ( "ButtonSettings" );
buttonFile. setGroup ( "Button" + QString::number ( button ));
buttonFile. writeEntry ( "PressedActionChannel", (const char*) mb_chan);
buttonFile. writeEntry ( "PressedActionMessage", (const char*) b. pressedAction(). message());
// buttonFile. writeEntry ( "PressedActionArgs", encodeBase64 ( b. pressedAction(). data()));
QCopEnvelope ( "QPE/System", "deviceButtonMappingChanged()" );
}
void ODevice::remapHeldAction ( int button, const OQCopMessage &action )
{
initButtons();
if ( button >= (int) d->m_buttons->count())
return;
ODeviceButton &b = ( *d->m_buttons ) [button];
b. setHeldAction ( action );
Config buttonFile ( "ButtonSettings" );
buttonFile. setGroup ( "Button" + QString::number ( button ));
buttonFile. writeEntry ( "HeldActionChannel", (const char *) b. heldAction(). channel());
buttonFile. writeEntry ( "HeldActionMessage", (const char *) b. heldAction(). message());
// buttonFile. writeEntry ( "HeldActionArgs", decodeBase64 ( b. heldAction(). data()));
QCopEnvelope ( "QPE/System", "deviceButtonMappingChanged()" );
}
void ODevice::virtual_hook(int, void* ){
}
void ODevice::sendSuspendmsg()
{
- QCopEnvelope ( "QPE/System", "aboutSuspend()" );
+ QCopEnvelope ( "QPE/System", "aboutToSuspend()" );
}