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) (side-by-side diff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /microkde/kdebug.h
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-p1.zip
kdepimpi-p1.tar.gz
kdepimpi-p1.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'microkde/kdebug.h') (more/less context) (show 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,18 +1,20 @@
#ifndef MINIKDE_KDEBUG_H
#define MINIKDE_KDEBUG_H
#include <stdio.h>
#include <qstring.h>
+//Added by qt3to4:
+#include <Q3CString>
class kdbgstream;
typedef kdbgstream & (*KDBGFUNC)(kdbgstream &); // manipulator function
class kdbgstream {
public:
kdbgstream(unsigned int _area, unsigned int _level, bool _print = true) :
area(_area), level(_level), print( _print ) { print = false; }
/* kdbgstream(const char * initialString, unsigned int _area, unsigned int _level, bool _print = false) :
output(QString::fromLatin1(initialString)), area(_area), level(_level), print(_print) { print = false; }*/
@@ -55,25 +57,25 @@ class kdbgstream {
kdbgstream &operator<<(long) {
return *this;
}
kdbgstream &operator<<(unsigned long) {
return *this;
}
kdbgstream &operator<<(const QString&) {
return *this;
}
kdbgstream &operator<<(const char*) {
return *this;
}
- kdbgstream &operator<<(const QCString&) {
+ kdbgstream &operator<<(const Q3CString&) {
return *this;
}
kdbgstream& operator<<(KDBGFUNC f) {
return (*f)(*this);
}
kdbgstream& operator<<(double) {
if (!print) return *this;
return *this;
}
void flush() {
return;
}