summaryrefslogtreecommitdiff
authorar <ar>2004-05-31 13:04:55 (UTC)
committer ar <ar>2004-05-31 13:04:55 (UTC)
commit27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062 (patch) (unidiff)
tree5b850ee6ad8b8a48b6c49f4a6ce10e75caf234e5
parent5bd7c2eee656e8f30635921f15770bd4a43da9e6 (diff)
downloadopie-27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062.zip
opie-27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062.tar.gz
opie-27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062.tar.bz2
- convert qDebug to odebug
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/CExpander.h21
-rw-r--r--noncore/games/zlines/linesboard.h8
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.cpp1
-rw-r--r--noncore/net/mail/libmailwrapper/settings.h8
-rw-r--r--noncore/settings/networksettings/ppp/modem.cpp1
-rw-r--r--noncore/settings/tabmanager/tablistview.h6
6 files changed, 25 insertions, 20 deletions
diff --git a/noncore/apps/opie-reader/CExpander.h b/noncore/apps/opie-reader/CExpander.h
index 9fae245..553069c 100644
--- a/noncore/apps/opie-reader/CExpander.h
+++ b/noncore/apps/opie-reader/CExpander.h
@@ -1,12 +1,6 @@
1#ifndef __CExpander_h 1#ifndef __CExpander_h
2#define __CExpander_h 2#define __CExpander_h
3 3
4#ifndef _WINDOWS
5#include <unistd.h>
6#endif
7#include <stdio.h>
8#include <time.h>
9#include <qmessagebox.h>
10#include "useqpe.h" 4#include "useqpe.h"
11#include "config.h" 5#include "config.h"
12#include "StyleConsts.h" 6#include "StyleConsts.h"
@@ -14,6 +8,19 @@
14#include "names.h" 8#include "names.h"
15#include "linktype.h" 9#include "linktype.h"
16 10
11/* OPIE */
12#include <opie2/odebug.h>
13
14/* QT */
15#include <qmessagebox.h>
16
17/* STD */
18#ifndef _WINDOWS
19#include <unistd.h>
20#endif
21#include <stdio.h>
22#include <time.h>
23
17class QImage; 24class QImage;
18class Bkmk; 25class Bkmk;
19 26
@@ -143,7 +150,7 @@ class CExpander
143 { 150 {
144 if (srclen != 0) 151 if (srclen != 0)
145 { 152 {
146 qDebug("Don't know what to do with non-zero save data"); 153 odebug << "Don't know what to do with non-zero save data" << oendl;
147 } 154 }
148 } 155 }
149 void setwidth(int w) { m_scrWidth = w; } 156 void setwidth(int w) { m_scrWidth = w; }
diff --git a/noncore/games/zlines/linesboard.h b/noncore/games/zlines/linesboard.h
index 97697cd..58478ee 100644
--- a/noncore/games/zlines/linesboard.h
+++ b/noncore/games/zlines/linesboard.h
@@ -27,14 +27,6 @@
27//#include "shotcounter.h" 27//#include "shotcounter.h"
28#include "ballpainter.h" 28#include "ballpainter.h"
29 29
30#ifdef Q_WS_QWS
31 #define debug (void)
32#else
33 #define debug qDebug
34#endif
35#define fatal qFatal
36#define warning qWarning
37
38class LinesBoard : public Field 30class LinesBoard : public Field
39{ 31{
40 Q_OBJECT 32 Q_OBJECT
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
index 203ff91..ba4e11a 100644
--- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
+++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
@@ -38,7 +38,6 @@
38 38
39#include <assert.h> 39#include <assert.h>
40 40
41//#define MediaPlayerDebug(x) qDebug x
42#define MediaPlayerDebug(x) 41#define MediaPlayerDebug(x)
43 42
44 43
diff --git a/noncore/net/mail/libmailwrapper/settings.h b/noncore/net/mail/libmailwrapper/settings.h
index 27e2823..bf27b97 100644
--- a/noncore/net/mail/libmailwrapper/settings.h
+++ b/noncore/net/mail/libmailwrapper/settings.h
@@ -3,6 +3,10 @@
3 3
4#include "maildefines.h" 4#include "maildefines.h"
5 5
6/* OPIE */
7#include <opie2/odebug.h>
8
9/* QT */
6#include <qobject.h> 10#include <qobject.h>
7#include <qlist.h> 11#include <qlist.h>
8 12
@@ -41,8 +45,8 @@ public:
41 bool getOffline()const{return offline;} 45 bool getOffline()const{return offline;}
42 46
43 virtual QString getFileName() { return accountName; } 47 virtual QString getFileName() { return accountName; }
44 virtual void read() { qDebug( "base reading..." ); } 48 virtual void read() { odebug << "base reading..." << oendl; }
45 virtual void save() { qDebug( "base saving..." ); } 49 virtual void save() { odebug << "base saving..." << oendl; }
46 50
47protected: 51protected:
48 QString accountName, server, port, user, password; 52 QString accountName, server, port, user, password;
diff --git a/noncore/settings/networksettings/ppp/modem.cpp b/noncore/settings/networksettings/ppp/modem.cpp
index 3bc7d43..79f015b 100644
--- a/noncore/settings/networksettings/ppp/modem.cpp
+++ b/noncore/settings/networksettings/ppp/modem.cpp
@@ -56,7 +56,6 @@ using namespace Opie::Core;
56#include "auth.h" 56#include "auth.h"
57#include "modem.h" 57#include "modem.h"
58#include "pppdata.h" 58#include "pppdata.h"
59#define qError qDebug
60 59
61 60
62#define MY_ASSERT(x) if (!(x)) { \ 61#define MY_ASSERT(x) if (!(x)) { \
diff --git a/noncore/settings/tabmanager/tablistview.h b/noncore/settings/tabmanager/tablistview.h
index dfd88f7..54b87b6 100644
--- a/noncore/settings/tabmanager/tablistview.h
+++ b/noncore/settings/tabmanager/tablistview.h
@@ -1,6 +1,10 @@
1#ifndef TABLISTVIEW_H 1#ifndef TABLISTVIEW_H
2#define TABLISTVIEW_H 2#define TABLISTVIEW_H
3 3
4/* OPIE */
5#include <opie2/odebug.h>
6
7/* QT */
4#include <qlistview.h> 8#include <qlistview.h>
5#include <qcursor.h> 9#include <qcursor.h>
6#include <qapplication.h> 10#include <qapplication.h>
@@ -46,7 +50,7 @@ private slots:
46 void itemPressed(QListViewItem *item){ 50 void itemPressed(QListViewItem *item){
47 if(item == NULL || !item->parent()){ 51 if(item == NULL || !item->parent()){
48 if(item == NULL) 52 if(item == NULL)
49 qDebug("Item is NULL"); 53 odebug << "Item is NULL" << oendl;
50 return; 54 return;
51 } 55 }
52 56