summaryrefslogtreecommitdiffstats
path: root/kdeprint/ppdscanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/ppdscanner.cpp')
-rw-r--r--kdeprint/ppdscanner.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/kdeprint/ppdscanner.cpp b/kdeprint/ppdscanner.cpp
index 7eb0f22e7..50611aaa1 100644
--- a/kdeprint/ppdscanner.cpp
+++ b/kdeprint/ppdscanner.cpp
@@ -1,19 +1,19 @@
-#define yy_create_buffer kdeprint_ppd_create_buffer
-#define yy_delete_buffer kdeprint_ppd_delete_buffer
-#define yy_scan_buffer kdeprint_ppd_scan_buffer
-#define yy_scan_string kdeprint_ppd_scan_string
-#define yy_scan_bytes kdeprint_ppd_scan_bytes
-#define yy_flex_debug kdeprint_ppd_flex_debug
-#define yy_init_buffer kdeprint_ppd_init_buffer
-#define yy_flush_buffer kdeprint_ppd_flush_buffer
-#define yy_load_buffer_state kdeprint_ppd_load_buffer_state
-#define yy_switch_to_buffer kdeprint_ppd_switch_to_buffer
-#define yyin kdeprint_ppdin
-#define yyleng kdeprint_ppdleng
-#define yylex kdeprint_ppdlex
-#define yyout kdeprint_ppdout
-#define yyrestart kdeprint_ppdrestart
-#define yytext kdeprint_ppdtext
+#define yy_create_buffer tdeprint_ppd_create_buffer
+#define yy_delete_buffer tdeprint_ppd_delete_buffer
+#define yy_scan_buffer tdeprint_ppd_scan_buffer
+#define yy_scan_string tdeprint_ppd_scan_string
+#define yy_scan_bytes tdeprint_ppd_scan_bytes
+#define yy_flex_debug tdeprint_ppd_flex_debug
+#define yy_init_buffer tdeprint_ppd_init_buffer
+#define yy_flush_buffer tdeprint_ppd_flush_buffer
+#define yy_load_buffer_state tdeprint_ppd_load_buffer_state
+#define yy_switch_to_buffer tdeprint_ppd_switch_to_buffer
+#define yyin tdeprint_ppdin
+#define yyleng tdeprint_ppdleng
+#define yylex tdeprint_ppdlex
+#define yyout tdeprint_ppdout
+#define yyrestart tdeprint_ppdrestart
+#define yytext tdeprint_ppdtext
#line 19 "./ppdscanner.cpp"
/* A lexical scanner generated by flex */
@@ -521,7 +521,7 @@ char *yytext;
#line 2 "./ppdscanner.l"
/*
* This file is part of the KDE libraries
- * Copyright (c) 2001-2003 Michael Goffioul <kdeprint@swing.be>
+ * Copyright (c) 2001-2003 Michael Goffioul <tdeprint@swing.be>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -543,21 +543,21 @@ char *yytext;
#define YYSTYPE TQStringList
#include "ppdparser.cpp.h"
-#define yylval kdeprint_ppdlval
+#define yylval tdeprint_ppdlval
-TQIODevice *kdeprint_ppdscanner_device = NULL;
+TQIODevice *tdeprint_ppdscanner_device = NULL;
#define YY_INPUT(buf,result,max_size) \
{ \
- if (kdeprint_ppdscanner_device) \
+ if (tdeprint_ppdscanner_device) \
{ \
- result = kdeprint_ppdscanner_device->readBlock(buf,max_size); \
+ result = tdeprint_ppdscanner_device->readBlock(buf,max_size); \
if (result < 0) \
result = 0; \
} \
else \
result = 0; \
}
-int kdeprint_ppdscanner_lno = 0;
+int tdeprint_ppdscanner_lno = 0;
#if 0
#define QDEBUG0(s) qDebug(s)
@@ -902,7 +902,7 @@ YY_RULE_SETUP
case 19:
YY_RULE_SETUP
#line 87 "./ppdscanner.l"
-{ kdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
+{ tdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
YY_BREAK
case 20:
YY_RULE_SETUP
@@ -925,7 +925,7 @@ YY_RULE_SETUP
case 23:
YY_RULE_SETUP
#line 95 "./ppdscanner.l"
-{ kdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
+{ tdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
YY_BREAK
/**
* Value state
@@ -933,7 +933,7 @@ YY_RULE_SETUP
case 24:
YY_RULE_SETUP
#line 100 "./ppdscanner.l"
-{ yylval = yytext; kdeprint_ppdscanner_lno += yylval[0].contains('\n'); QDEBUG1("Quoted value: %s",yytext); return QUOTED; }
+{ yylval = yytext; tdeprint_ppdscanner_lno += yylval[0].contains('\n'); QDEBUG1("Quoted value: %s",yytext); return QUOTED; }
YY_BREAK
case 25:
YY_RULE_SETUP
@@ -948,7 +948,7 @@ YY_RULE_SETUP
case 27:
YY_RULE_SETUP
#line 103 "./ppdscanner.l"
-{ kdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
+{ tdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
YY_BREAK
case 28:
YY_RULE_SETUP
@@ -966,7 +966,7 @@ YY_RULE_SETUP
case 30:
YY_RULE_SETUP
#line 110 "./ppdscanner.l"
-{ kdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
+{ tdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
YY_BREAK
/**
* Constraint state
@@ -989,12 +989,12 @@ YY_RULE_SETUP
case 34:
YY_RULE_SETUP
#line 118 "./ppdscanner.l"
-{ kdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
+{ tdeprint_ppdscanner_lno++; BEGIN(INITIAL); }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 120 "./ppdscanner.l"
-{ kdeprint_ppdscanner_lno++; /* eat up */ }
+{ tdeprint_ppdscanner_lno++; /* eat up */ }
YY_BREAK
case 36:
YY_RULE_SETUP
@@ -1895,20 +1895,20 @@ int main()
#line 123 "./ppdscanner.l"
-void kdeprint_ppdscanner_init(TQIODevice *d)
+void tdeprint_ppdscanner_init(TQIODevice *d)
{
- kdeprint_ppdscanner_device = d;
- kdeprint_ppdscanner_lno = 1;
+ tdeprint_ppdscanner_device = d;
+ tdeprint_ppdscanner_lno = 1;
}
-void kdeprint_ppdscanner_terminate( bool deleteIt )
+void tdeprint_ppdscanner_terminate( bool deleteIt )
{
if (deleteIt)
- delete kdeprint_ppdscanner_device;
- kdeprint_ppdscanner_device = NULL;
+ delete tdeprint_ppdscanner_device;
+ tdeprint_ppdscanner_device = NULL;
}
-int kdeprint_ppdscanner_numberoflines()
+int tdeprint_ppdscanner_numberoflines()
{
- return kdeprint_ppdscanner_lno;
+ return tdeprint_ppdscanner_lno;
}