summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-02 00:09:44 (UTC)
committer llornkcor <llornkcor>2002-06-02 00:09:44 (UTC)
commit0028521ebd7e96651e41dd7df325def8c8f4b63b (patch) (unidiff)
treecb6ca43fac6b79158fd42de67c5d7e98760256a1
parent34b68507898f2a01333281a7293d0bbd3c6d77ee (diff)
downloadopie-0028521ebd7e96651e41dd7df325def8c8f4b63b.zip
opie-0028521ebd7e96651e41dd7df325def8c8f4b63b.tar.gz
opie-0028521ebd7e96651e41dd7df325def8c8f4b63b.tar.bz2
rechange my change
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index e327098..7021fae 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -219,25 +219,25 @@ VMemo::VMemo( QWidget *parent, const char *_name )
219 myChannel = new QCopChannel( "QPE/VMemo", this ); 219 myChannel = new QCopChannel( "QPE/VMemo", this );
220 connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)), 220 connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)),
221 this, SLOT(receive(const QCString&, const QByteArray&)) ); 221 this, SLOT(receive(const QCString&, const QByteArray&)) );
222 222
223 if( toggleKey != -1 ) { 223 if( toggleKey != -1 ) {
224 QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)"); 224 QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)");
225// e << 4096; // Key_Escape 225// e << 4096; // Key_Escape
226// e << Key_F5; //4148 226// e << Key_F5; //4148
227 e << toggleKey; 227 e << toggleKey;
228 e << QString("QPE/VMemo"); 228 e << QString("QPE/VMemo");
229 e << QString("toggleRecord()"); 229 e << QString("toggleRecord()");
230 } 230 }
231 if( vmCfg.readNumEntry("hideIcon",0) == 1) 231 if( vmCfg.readNumEntry("hideIcon",0) == 1 || toggleKey > 0)
232 hide(); 232 hide();
233 } 233 }
234} 234}
235 235
236VMemo::~VMemo() 236VMemo::~VMemo()
237{ 237{
238} 238}
239 239
240void VMemo::receive( const QCString &msg, const QByteArray &data ) 240void VMemo::receive( const QCString &msg, const QByteArray &data )
241{ 241{
242 QDataStream stream( data, IO_ReadOnly ); 242 QDataStream stream( data, IO_ReadOnly );
243 if (msg == "toggleRecord()") { 243 if (msg == "toggleRecord()") {