summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-27 13:04:38 (UTC)
committer harlekin <harlekin>2002-06-27 13:04:38 (UTC)
commit540fd6a4a7cc86070c94f41833c4b9b9fa0e9824 (patch) (side-by-side diff)
tree821cc0443c0a24fd19329791121cef625910cb72
parent56d22ac17fdc194a20fd0deba673943f85e940ea (diff)
downloadopie-540fd6a4a7cc86070c94f41833c4b9b9fa0e9824.zip
opie-540fd6a4a7cc86070c94f41833c4b9b9fa0e9824.tar.gz
opie-540fd6a4a7cc86070c94f41833c4b9b9fa0e9824.tar.bz2
cleanups
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp19
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.h3
2 files changed, 10 insertions, 12 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index 8bb7a93..c0ad246 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -58,2 +58,4 @@ namespace OpieTooth {
btDevice = 0;
+ bluezactive = false;
+ bluezDiscoveryActive = false;
@@ -102,3 +104,3 @@ namespace OpieTooth {
/* Refresh active state */
- timerEvent(NULL);
+ timerEvent( 0 );
@@ -130,3 +132,3 @@ namespace OpieTooth {
setBluezStatus(0);
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -134,3 +136,3 @@ namespace OpieTooth {
setBluezStatus(1);
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -139,3 +141,3 @@ namespace OpieTooth {
launchManager();
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -143,3 +145,3 @@ namespace OpieTooth {
setBluezDiscoveryStatus(0);
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -147,3 +149,3 @@ namespace OpieTooth {
setBluezDiscoveryStatus(1);
- timerEvent(NULL);
+ timerEvent(0 );
break;
@@ -153,3 +155,2 @@ namespace OpieTooth {
- timerEvent(NULL);
delete signal;
@@ -179,3 +180,3 @@ namespace OpieTooth {
if ((bluezactive != oldactive) || (bluezDiscoveryActive != olddiscovery)) {
- paintEvent(NULL);
+ update();
}
@@ -191,4 +192,2 @@ namespace OpieTooth {
- p.eraseRect ( 0, 0, this->width(), this->height() );
-
if (bluezactive > 0) {
diff --git a/noncore/net/opietooth/applet/bluezapplet.h b/noncore/net/opietooth/applet/bluezapplet.h
index 6a8a00e..a8d91a5 100644
--- a/noncore/net/opietooth/applet/bluezapplet.h
+++ b/noncore/net/opietooth/applet/bluezapplet.h
@@ -56,3 +56,2 @@ public slots:
int setBluezDiscoveryStatus(int);
- int sockfd;
@@ -64,3 +63,3 @@ public slots:
bool bluezactive;
- int bluezDiscoveryActive;
+ bool bluezDiscoveryActive;