summaryrefslogtreecommitdiffstats
path: root/examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /examples/fonts/simple-tqfont-demo/simple-tqfont-demo.cpp
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt-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.cpp14
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();
+}