summaryrefslogtreecommitdiff
authorzecke <zecke>2004-11-04 22:03:38 (UTC)
committer zecke <zecke>2004-11-04 22:03:38 (UTC)
commit586ba5bb2842d80911ea22bf47eaa2f1b39362e1 (patch) (unidiff)
treee8ee53bea0563e16d8bd2649a5846b8377f53be3
parent2df2234beb066097c1c3bd899c21eff30abf4323 (diff)
downloadopie-586ba5bb2842d80911ea22bf47eaa2f1b39362e1.zip
opie-586ba5bb2842d80911ea22bf47eaa2f1b39362e1.tar.gz
opie-586ba5bb2842d80911ea22bf47eaa2f1b39362e1.tar.bz2
Revert last commit and create a QCOP Channel for QPE/System in
ODevice again, as OApplication doesn't expose the signal anymore
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp
index e57cdef..39b37cd 100644
--- a/libopie2/opiecore/device/odevice.cpp
+++ b/libopie2/opiecore/device/odevice.cpp
@@ -647,6 +647,7 @@ void ODevice::reloadButtonMapping()
647 if(!d->m_buttons) 647 if(!d->m_buttons)
648 initButtons(); 648 initButtons();
649 649
650 if(!d->m_initializedButtonQcop) { 650 if(!d->m_initializedButtonQcop) {
651 connect(qApp,SIGNAL(systemMessageSignal(const QCString&,const QByteArray&)), 651 QCopChannel *chan = new QCopChannel("QPE/System", this, "ODevice button channel");
652 connect(chan,SIGNAL(received(const QCString&,const QByteArray&)),
652 this,SLOT(systemMessage(const QCString&,const QByteArray&))); 653 this,SLOT(systemMessage(const QCString&,const QByteArray&)));