summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/slave/slavereciever.cpp
authorzecke <zecke>2004-03-23 23:59:36 (UTC)
committer zecke <zecke>2004-03-23 23:59:36 (UTC)
commitc8acbf192ca4aa64ed66306ca872cb3860590b3c (patch) (unidiff)
treead81a8681bd755185e8ba4e3fbded2f1869c1607 /noncore/graphics/opie-eye/slave/slavereciever.cpp
parent6a1e8a9f03d8b552a51ab0b45ec5b1959af6eb73 (diff)
downloadopie-c8acbf192ca4aa64ed66306ca872cb3860590b3c.zip
opie-c8acbf192ca4aa64ed66306ca872cb3860590b3c.tar.gz
opie-c8acbf192ca4aa64ed66306ca872cb3860590b3c.tar.bz2
Update....
Start the Slave Add the Iface for OKeyConfigWidget
Diffstat (limited to 'noncore/graphics/opie-eye/slave/slavereciever.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/slave/slavereciever.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/slave/slavereciever.cpp b/noncore/graphics/opie-eye/slave/slavereciever.cpp
index c8e33d4..bbbbb30 100644
--- a/noncore/graphics/opie-eye/slave/slavereciever.cpp
+++ b/noncore/graphics/opie-eye/slave/slavereciever.cpp
@@ -58,5 +58,5 @@ SlaveObjects* slaveObjects() {
58 58
59SlaveReciever::SlaveReciever( QObject* par) 59SlaveReciever::SlaveReciever( QObject* par)
60 : QObject( par ) 60 : QObject( par ), m_refs( 0 )
61{ 61{
62 m_inf = new QTimer(this); 62 m_inf = new QTimer(this);
@@ -121,4 +121,8 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar)
121 m_inPix.append(*it); 121 m_inPix.append(*it);
122 } 122 }
123 }else if ( string == "refUp()" ) {
124 m_refs++;
125 }else if ( string == "refDown()" ) {
126 m_refs--;
123 } 127 }
124 128
@@ -129,5 +133,8 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar)
129 m_pix->start(5); 133 m_pix->start(5);
130 134
135 if ( m_refs )
131 QPEApplication::setKeepRunning(); 136 QPEApplication::setKeepRunning();
137 else
138 qApp->quit();
132 139
133} 140}