diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt-a30f5359.tar.gz tqt-a30f5359.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp')
-rw-r--r-- | examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp b/examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp new file mode 100644 index 000000000..aa12a5055 --- /dev/null +++ b/examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp @@ -0,0 +1,14 @@ + +#include "viewer.h" + +#include <ntqapplication.h> + +int main( int argc, char **argv ) +{ + TQApplication app( argc, argv ); + Viewer * textViewer = new Viewer(); + textViewer->setCaption( "TQt Example - Simple TQFont Demo" ); + app.setMainWidget( textViewer ); + textViewer->show(); + return app.exec(); +} |