summaryrefslogtreecommitdiffstats
path: root/tools/qembed/qembed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qembed/qembed.cpp')
-rw-r--r--tools/qembed/qembed.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/qembed/qembed.cpp b/tools/qembed/qembed.cpp
index b2be7e873..db4e4e52d 100644
--- a/tools/qembed/qembed.cpp
+++ b/tools/qembed/qembed.cpp
@@ -60,15 +60,15 @@ int main( int argc, char **argv )
}
TQFile output;
- bool output_hdr = FALSE;
- bool images = FALSE;
+ bool output_hdr = false;
+ bool images = false;
output.open( IO_WriteOnly, stdout );
TQTextStream out( &output );
TQPtrList<EmbedImage> list_image;
TQPtrList<Embed> list;
- list.setAutoDelete( TRUE );
- list_image.setAutoDelete( TRUE );
+ list.setAutoDelete( true );
+ list_image.setAutoDelete( true );
long l = rand();
out << "#ifndef _QEMBED_" << l << endl;
@@ -98,7 +98,7 @@ int main( int argc, char **argv )
if ( !images ) {
out << "#include <tqimage.h>\n";
out << "#include <tqdict.h>\n";
- images = TRUE;
+ images = true;
}
} else {
TQFile f( *it );
@@ -164,7 +164,7 @@ int main( int argc, char **argv )
out << "\n};\n\n";
}
if ( !output_hdr ) {
- output_hdr = TRUE;
+ output_hdr = true;
out << header;
}
}
@@ -234,9 +234,9 @@ int main( int argc, char **argv )
else
out << "0, ";
if ( e->alpha )
- out << "TRUE, ";
+ out << "true, ";
else
- out << "FALSE, ";
+ out << "false, ";
out << "\"" << e->name << "\" },\n";
e = list_image.next();
}
@@ -258,7 +258,7 @@ int main( int argc, char **argv )
" embed_image_vec[i].numColors,\n"
" TQImage::BigEndian );\n"
" if ( embed_image_vec[i].alpha )\n"
-" img->setAlphaBuffer( TRUE );\n"
+" img->setAlphaBuffer( true );\n"
" dict.insert( name, img );\n"
" break;\n"
" }\n"