diff options
Diffstat (limited to 'twin/clients/keramik/embedtool.cpp')
-rw-r--r-- | twin/clients/keramik/embedtool.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/twin/clients/keramik/embedtool.cpp b/twin/clients/keramik/embedtool.cpp index a635c4ee2..1cc56fe32 100644 --- a/twin/clients/keramik/embedtool.cpp +++ b/twin/clients/keramik/embedtool.cpp @@ -66,7 +66,7 @@ KeramikEmbedder::KeramikEmbedder() file = new TQFile( "tiles.h" ); file->open( IO_WriteOnly | IO_Truncate ); - stream.setDevice( TQT_TQIODEVICE(file) ); + stream.setDevice( file ); stream << "/*\n"; stream << " * Generated by embedtool 1.0 on " << datestring << endl; @@ -86,7 +86,6 @@ KeramikEmbedder::~KeramikEmbedder() { stream << "} // namespace Keramik\n\n"; stream << "#endif // __TILES_H\n\n"; - stream << "// vim: set noet ts=4 sw=4:\n"; file->close(); delete file; @@ -102,7 +101,7 @@ void KeramikEmbedder::embed( const char *name ) codename = codename.replace( TQRegExp("[^a-zA-Z0-9]"), "_" ); - stream << "\tstatic const QRgb " << codename << "_data[] = {" << endl << "\t\t"; + stream << "\tstatic const TQRgb " << codename << "_data[] = {" << endl << "\t\t"; stream.setf( TQTextStream::hex | TQTextStream::right ); stream.fill( '0' ); @@ -148,7 +147,7 @@ void KeramikEmbedder::writeIndex() stream << "\t\tint width;\n"; stream << "\t\tint height;\n"; stream << "\t\tbool alpha;\n"; - stream << "\t\tconst QRgb *data;\n"; + stream << "\t\tconst TQRgb *data;\n"; stream << "\t};\n\n"; uint i = 0; @@ -225,6 +224,3 @@ int main( int argv, char **argc ) return 0; } - -// vim: set noet ts=4 sw=4: - |