[Uml-devel] branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser
Andi Fischer
andi.fischer at hispeed.ch
Fri Jul 15 15:39:59 UTC 2011
SVN commit 1241684 by fischer:
All includes of kdebug.h replaced with debug_utils.h.
M +3 -1 ast.cpp
M +2 -2 ast_utils.cpp
M +2 -2 driver.cpp
M +3 -2 lexer.cpp
M +2 -2 lookup.cpp
M +1 -1 parser.cpp
M +2 -2 preprocesslexer.cpp
M +1 -1 tree_parser.cpp
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/ast.cpp #1241683:1241684
@@ -18,8 +18,10 @@
*/
#include "ast.h"
+
+#include "debug_utils.h"
+
#include <QtCore/QStringList>
-#include <kdebug.h>
QString nodeTypeToString( int type )
{
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/ast_utils.cpp #1241683:1241684
@@ -10,13 +10,14 @@
***************************************************************************/
#include "ast_utils.h"
+
#include "ast.h"
+#include "debug_utils.h"
#include <QtCore/QStringList>
#include <QtCore/QRegExp>
#include <klocale.h>
-#include <kdebug.h>
AST* findNodeAt( AST* node, Position const& position )
{
@@ -154,4 +155,3 @@
return text.replace( QRegExp(" :: "), "::" ).simplified();
}
-
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/driver.cpp #1241683:1241684
@@ -18,11 +18,11 @@
*/
#include "driver.h"
+
#include "lexer.h"
#include "parser.h"
+#include "debug_utils.h"
-#include <kdebug.h>
-
#include <stdlib.h>
#include <QFile>
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/lexer.cpp #1241683:1241684
@@ -18,10 +18,11 @@
*/
#include "lexer.h"
+
+#include "debug_utils.h"
#include "lookup.h"
#include "keywords.lut.h"
-#include <kdebug.h>
#include <klocale.h>
#include <QtCore/QRegExp>
@@ -66,7 +67,7 @@
SkipRule Lexer::m_SkipRule = nothing_p;
#if defined( KDEVELOP_BGPARSER )
-#include <qthread.h>
+#include <QThread>
class KDevTread: public QThread
{
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp #1241683:1241684
@@ -23,13 +23,13 @@
#include "lookup.h"
-#include <kdebug.h>
+#include "debug_utils.h"
const HashEntry* Lookup::findEntry( const struct HashTable *table,
const QChar *c, unsigned int len )
{
if (table->type != 2) {
- kDebug() << "KJS: Unknown hash table version";
+ uDebug() << "KJS: Unknown hash table version";
return 0;
}
char *ascii = new char[len+1];
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/parser.cpp #1241683:1241684
@@ -22,13 +22,13 @@
#include "driver.h"
#include "lexer.h"
#include "errors.h"
+#include "debug_utils.h"
// qt support
#include <QtCore/QString>
#include <QtCore/QStringList>
// kde support
-#include <kdebug.h>
#include <klocale.h>
bool Parser::advance(int tk, char const* descr)
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.cpp #1241683:1241684
@@ -18,10 +18,11 @@
*/
#include "preprocesslexer.h" //was lexer.h
+
#include "lookup.h"
#include "keywords.lut.h"
+#include "debug_utils.h"
-#include <kdebug.h>
#include <klocale.h>
#include <QtCore/QRegExp>
@@ -424,7 +425,6 @@
if (m_preprocessorEnabled && m_driver->hasMacro(ide) &&
(k == -1 || !m_driver->macro(ide).body().isEmpty())) {
-
bool preproc = m_preprocessorEnabled;
m_preprocessorEnabled = false;
--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/tree_parser.cpp #1241683:1241684
@@ -19,7 +19,7 @@
#include "tree_parser.h"
-#include <kdebug.h>
+#include "debug_utils.h"
#include <QtCore/QList>
More information about the umbrello-devel
mailing list