From a30f5359f03c3017fa19a6770fab32d25d22cb87 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 15 Jul 2024 19:08:22 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 1) Signed-off-by: Michele Calgaro --- doc/html/chart-optionsform-cpp.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/chart-optionsform-cpp.html') diff --git a/doc/html/chart-optionsform-cpp.html b/doc/html/chart-optionsform-cpp.html index 6401a5423..e6c2b89c6 100644 --- a/doc/html/chart-optionsform-cpp.html +++ b/doc/html/chart-optionsform-cpp.html @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; } #include <ntqbuttongroup.h> #include <ntqcombobox.h> -#include <ntqfontdialog.h> +#include <tqfontdialog.h> #include <ntqframe.h> #include <tqimage.h> #include <ntqlabel.h> @@ -150,19 +150,19 @@ body { background: #ffffff; color: black; } void OptionsForm::chooseFont() { bool ok; - TQFont font = TQFontDialog::getFont( &ok, m_font, this ); + TQFont font = TQFontDialog::getFont( &ok, m_font, this ); if ( ok ) setFont( font ); } -void OptionsForm::setFont( TQFont font ) +void OptionsForm::setFont( TQFont font ) { - TQString label = font.family() + " " + - TQString::number( font.pointSize() ) + "pt"; - if ( font.bold() ) + TQString label = font.family() + " " + + TQString::number( font.pointSize() ) + "pt"; + if ( font.bold() ) label += " Bold"; - if ( font.italic() ) + if ( font.italic() ) label += " Italic"; fontTextLabel->setText( label ); m_font = font; -- cgit v1.2.3