summaryrefslogtreecommitdiffabout
path: root/microkde/kdebug.h
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /microkde/kdebug.h
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'microkde/kdebug.h') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdebug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/microkde/kdebug.h b/microkde/kdebug.h
index bb9cfe3..534943c 100644
--- a/microkde/kdebug.h
+++ b/microkde/kdebug.h
@@ -1,14 +1,16 @@
1#ifndef MINIKDE_KDEBUG_H 1#ifndef MINIKDE_KDEBUG_H
2#define MINIKDE_KDEBUG_H 2#define MINIKDE_KDEBUG_H
3 3
4#include <stdio.h> 4#include <stdio.h>
5 5
6#include <qstring.h> 6#include <qstring.h>
7//Added by qt3to4:
8#include <Q3CString>
7 9
8 10
9 11
10class kdbgstream; 12class kdbgstream;
11typedef kdbgstream & (*KDBGFUNC)(kdbgstream &); // manipulator function 13typedef kdbgstream & (*KDBGFUNC)(kdbgstream &); // manipulator function
12 14
13class kdbgstream { 15class kdbgstream {
14 public: 16 public:
@@ -59,17 +61,17 @@ class kdbgstream {
59 return *this; 61 return *this;
60 } 62 }
61 kdbgstream &operator<<(const QString&) { 63 kdbgstream &operator<<(const QString&) {
62 return *this; 64 return *this;
63 } 65 }
64 kdbgstream &operator<<(const char*) { 66 kdbgstream &operator<<(const char*) {
65 return *this; 67 return *this;
66 } 68 }
67 kdbgstream &operator<<(const QCString&) { 69 kdbgstream &operator<<(const Q3CString&) {
68 return *this; 70 return *this;
69 } 71 }
70 kdbgstream& operator<<(KDBGFUNC f) { 72 kdbgstream& operator<<(KDBGFUNC f) {
71 return (*f)(*this); 73 return (*f)(*this);
72 } 74 }
73 kdbgstream& operator<<(double) { 75 kdbgstream& operator<<(double) {
74 if (!print) return *this; 76 if (!print) return *this;
75 return *this; 77 return *this;