From d35eedcd87d59e716c6d49bbb6b634ef1a7660c5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 24 Aug 2024 20:19:50 +0900 Subject: Rename style nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/customstyles.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/customstyles.html') diff --git a/doc/html/customstyles.html b/doc/html/customstyles.html index da5f4d49b..9bca441c7 100644 --- a/doc/html/customstyles.html +++ b/doc/html/customstyles.html @@ -54,9 +54,9 @@ applications.

The first step is to pick one of the base styles provided with TQt to build your custom style from. The choice will depend on what look and feel you are trying to achieve. We recommend that you choose from the -TQWindowsStyle derived classes or the TQMotifStyle derived classes. +TQWindowsStyle derived classes or the TQMotifStyle derived classes. These are the two base look and feel classes in the TQt style engine. -Inheriting directly from TQCommonStyle is also an option if you want to +Inheriting directly from TQCommonStyle is also an option if you want to start almost from scratch when implementing your style. In this simple example we will inherit from TQWindowsStyle.

2. Re-implement the necessary functions in your derived class. @@ -71,9 +71,9 @@ PrimitiveElements that are drawn by the drawPrimitive() function, so we need to re-implement that function. We need the following class declaration:

-#include <ntqwindowsstyle.h>
+#include <tqwindowsstyle.h>
 
-class CustomStyle : public TQWindowsStyle {
+class CustomStyle : public TQWindowsStyle {
     TQ_OBJECT
 public:
     CustomStyle();
-- 
cgit v1.2.3