diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-10 11:24:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-10 11:24:43 +0900 |
commit | d425da226ca10660d2e9dd53aaa6d895ce772904 (patch) | |
tree | 8787a50d0712bef91d7bf94355ee7eff7a90f114 | |
parent | dcffc0bc39dbfe823a3e73550c5fcee74c6e6f08 (diff) | |
download | tdebindings-d425da226ca10660d2e9dd53aaa6d895ce772904.tar.gz tdebindings-d425da226ca10660d2e9dd53aaa6d895ce772904.zip |
Drop TQT_NO_COMPAT code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kjsembed/tools/headers/qcanvas.h | 10 | ||||
-rw-r--r-- | smoke/tde/qtguess.pl.in | 4 | ||||
-rw-r--r-- | smoke/tqt/qtguess.pl.in | 4 |
3 files changed, 0 insertions, 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 ); |