diff options
Diffstat (limited to 'konsole/konsole/fontembedder.cpp')
-rw-r--r-- | konsole/konsole/fontembedder.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/konsole/konsole/fontembedder.cpp b/konsole/konsole/fontembedder.cpp index dfbd88ce4..d0c17e084 100644 --- a/konsole/konsole/fontembedder.cpp +++ b/konsole/konsole/fontembedder.cpp @@ -26,7 +26,7 @@ using namespace std; -static Q_UINT32 charVal(TQChar val) +static TQ_UINT32 charVal(TQChar val) { if (val == ' ') return 0; @@ -34,13 +34,13 @@ static Q_UINT32 charVal(TQChar val) return 1; } -static Q_UINT32 readGlyphLine(TQTextStream& input) +static TQ_UINT32 readGlyphLine(TQTextStream& input) { TQString line = input.readLine(); while (line.length() < 5) line += ' '; - Q_UINT32 val = charVal(line[0]) | + TQ_UINT32 val = charVal(line[0]) | (charVal(line[1]) << 1) | (charVal(line[2]) << 2) | (charVal(line[3]) << 3) | @@ -48,7 +48,7 @@ static Q_UINT32 readGlyphLine(TQTextStream& input) return val; } -static Q_UINT32 readGlyph(TQTextStream& input) +static TQ_UINT32 readGlyph(TQTextStream& input) { return readGlyphLine(input) | (readGlyphLine(input) << 5) | @@ -72,7 +72,7 @@ int main(int argc, char **argv) TQTextStream input(&inFile); - Q_UINT32 glyphStates[128]; + TQ_UINT32 glyphStates[128]; for (int i = 0; i < 128; ++i) glyphStates[i] = 0; //nothing.. @@ -98,7 +98,7 @@ int main(int argc, char **argv) //Output. cout<<"// WARNING: Autogenerated by \"fontembedder " << argv[1] << "\".\n"; cout<<"// You probably do not want to hand-edit this!\n\n"; - cout<<"static const Q_UINT32 LineChars[] = {\n"; + cout<<"static const TQ_UINT32 LineChars[] = {\n"; //Nicely formatted: 8 per line, 16 lines for (int line = 0; line < 128; line += 8) |