Replace QT_STATIC_CONST_* with actual definitions

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 879f5a7102)
pull/271/head
Michele Calgaro 9 months ago
parent d81ab9bb5c
commit ac345f688c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -98,7 +98,6 @@ $allowed_k_dcop_accesors_re = join("|", @allowed_k_dcop_accesors);
_STYLE_PLATINUM => '', _STYLE_PLATINUM => '',
_STYLE_SGI => '', _STYLE_SGI => '',
_STYLE_WINDOWS => '', _STYLE_WINDOWS => '',
QT_STATIC_CONST => 'static const',
TQ_EXPORT => '', TQ_EXPORT => '',
TQ_REFCOUNT => '', TQ_REFCOUNT => '',
QM_EXPORT_CANVAS => '', QM_EXPORT_CANVAS => '',
@ -405,7 +404,6 @@ LOOP:
next; next;
} }
# Hack, waiting for real handling of preprocessor defines # Hack, waiting for real handling of preprocessor defines
$p =~ s/QT_STATIC_CONST/static const/;
$p =~ s/KSVG_GET/KJS::Value get();/; $p =~ s/KSVG_GET/KJS::Value get();/;
$p =~ s/KSVG_BASECLASS_GET/KJS::Value get();/; $p =~ s/KSVG_BASECLASS_GET/KJS::Value get();/;
$p =~ s/KSVG_BRIDGE/KJS::ObjectImp *bridge();/; $p =~ s/KSVG_BRIDGE/KJS::ObjectImp *bridge();/;

Loading…
Cancel
Save