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-11 13:07:59 +0900 |
commit | c269a8287baa2321302c501825c81a3c92280349 (patch) | |
tree | e1092a4383d1c2f5bb74615544c600033f0bafcf | |
parent | e4e0bb8ca81d124c50eef496ac020bd789a569e6 (diff) | |
download | tdebindings-c269a8287baa2321302c501825c81a3c92280349.tar.gz tdebindings-c269a8287baa2321302c501825c81a3c92280349.zip |
Drop TQT_NO_COMPAT code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d425da226ca10660d2e9dd53aaa6d895ce772904)
-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 ); |