From d425da226ca10660d2e9dd53aaa6d895ce772904 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 10 Jun 2023 11:24:43 +0900 Subject: Drop TQT_NO_COMPAT code Signed-off-by: Michele Calgaro --- kjsembed/tools/headers/qcanvas.h | 10 ---------- smoke/tde/qtguess.pl.in | 4 ---- smoke/tqt/qtguess.pl.in | 4 ---- 3 files changed, 18 deletions(-) diff --git a/kjsembed/tools/headers/qcanvas.h b/kjsembed/tools/headers/qcanvas.h index bbd97489..c60078c2 100644 --- a/kjsembed/tools/headers/qcanvas.h +++ b/kjsembed/tools/headers/qcanvas.h @@ -133,16 +133,6 @@ public: virtual void setActive(bool yes); bool isActive() const { return (bool)act; } -#ifndef TQT_NO_COMPAT - bool visible() const - { return (bool)vis; } - bool selected() const - { return (bool)sel; } - bool enabled() const - { return (bool)ena; } - bool active() const - { return (bool)act; } -#endif enum RttiValues { Rtti_Item = 0, diff --git a/smoke/tde/qtguess.pl.in b/smoke/tde/qtguess.pl.in index bf115fdc..cc50538f 100644 --- a/smoke/tde/qtguess.pl.in +++ b/smoke/tde/qtguess.pl.in @@ -263,10 +263,6 @@ our %tests = ( £, 5], "TQT_NO_COLORDIALOG" => ["qcolordialog.h", "TQColorDialog::customCount();", 12], "TQT_NO_COMBOBOX" => ["qcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], - "TQT_NO_COMPAT" => ["qfontmetrics.h", q£ - TQFontMetrics *foo= new TQFontMetrics( TQFont() ); - int bar = foo->width( 'c' ); - £, 0], "TQT_NO_COMPONENT" => ["qapplication.h", q£ TQApplication foo( argc, argv ); foo.addLibraryPath( TQString::null ); diff --git a/smoke/tqt/qtguess.pl.in b/smoke/tqt/qtguess.pl.in index bf115fdc..cc50538f 100644 --- a/smoke/tqt/qtguess.pl.in +++ b/smoke/tqt/qtguess.pl.in @@ -263,10 +263,6 @@ our %tests = ( £, 5], "TQT_NO_COLORDIALOG" => ["qcolordialog.h", "TQColorDialog::customCount();", 12], "TQT_NO_COMBOBOX" => ["qcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], - "TQT_NO_COMPAT" => ["qfontmetrics.h", q£ - TQFontMetrics *foo= new TQFontMetrics( TQFont() ); - int bar = foo->width( 'c' ); - £, 0], "TQT_NO_COMPONENT" => ["qapplication.h", q£ TQApplication foo( argc, argv ); foo.addLibraryPath( TQString::null ); -- cgit v1.2.1