summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/stabmon.cpp20
1 files changed, 15 insertions, 5 deletions
diff --git a/core/launcher/stabmon.cpp b/core/launcher/stabmon.cpp
index 3d0d534..4e5f290 100644
--- a/core/launcher/stabmon.cpp
+++ b/core/launcher/stabmon.cpp
@@ -1,5 +1,5 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
@@ -23,3 +23,5 @@
23 23
24#include <qpe/qcopenvelope_qws.h> 24#ifdef QWS
25#include <qtopia/qcopenvelope_qws.h>
26#endif
25 27
@@ -29,3 +31,5 @@
29#include <sys/stat.h> 31#include <sys/stat.h>
32#if defined(Q_OS_LINUX) || defined(_OS_LINUX_)
30#include <unistd.h> 33#include <unistd.h>
34#endif
31#include <stdlib.h> 35#include <stdlib.h>
@@ -61,3 +65,5 @@ void SysFileMonitor::timerEvent(QTimerEvent*)
61 if ( ch ) { 65 if ( ch ) {
66#ifndef QT_NO_COP
62 QCopEnvelope("QPE/Card", "stabChanged()" ); 67 QCopEnvelope("QPE/Card", "stabChanged()" );
68#endif
63 break; 69 break;
@@ -65,3 +71,3 @@ void SysFileMonitor::timerEvent(QTimerEvent*)
65 } 71 }
66 72
67 // st_size is no use, it's 0 for /proc/mounts too. Read it all. 73 // st_size is no use, it's 0 for /proc/mounts too. Read it all.
@@ -75,3 +81,5 @@ void SysFileMonitor::timerEvent(QTimerEvent*)
75 mtabSize = (int)ba.size(); 81 mtabSize = (int)ba.size();
82#ifndef QT_NO_COP
76 QCopEnvelope("QPE/Card", "mtabChanged()" ); 83 QCopEnvelope("QPE/Card", "mtabChanged()" );
84#endif
77 } 85 }
@@ -86,5 +94,7 @@ void SysFileMonitor::timerEvent(QTimerEvent*)
86 mtabSize = (int)s.length(); 94 mtabSize = (int)s.length();
95#ifndef QT_NO_COP
87 QCopEnvelope("QPE/Card", "mtabChanged()" ); 96 QCopEnvelope("QPE/Card", "mtabChanged()" );
97#endif
88 } 98 }
89 #endif 99#endif
90 } 100 }