Drop TQT_NO_COMPAT code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d425da226c)
r14.1.x
Michele Calgaro 1 year ago
parent e4e0bb8ca8
commit c269a8287b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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,

@ -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 );

@ -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 );

Loading…
Cancel
Save