|
|
|
@ -142,7 +142,7 @@ $allowed_k_dcop_accesors_re = join("|", @allowed_k_dcop_accesors);
|
|
|
|
|
QT_NO_REMOTE => 'QT_NO_REMOTE',
|
|
|
|
|
QT_ACCESSIBILITY_SUPPORT => 'QT_ACCESSIBILITY_SUPPORT',
|
|
|
|
|
Q_WS_X11 => 'Q_WS_X11',
|
|
|
|
|
Q_DISABLE_COPY => 'Q_DISABLE_COPY',
|
|
|
|
|
TQ_DISABLE_COPY => 'TQ_DISABLE_COPY',
|
|
|
|
|
Q_WS_QWS => 'undef',
|
|
|
|
|
Q_WS_MAC => 'undef',
|
|
|
|
|
Q_OBJECT => <<'CODE',
|
|
|
|
@ -499,7 +499,7 @@ LOOP:
|
|
|
|
|
$p =~ s/QT_MOC_COMPAT//;
|
|
|
|
|
$p =~ s/Q_EXPORT_CODECS_BIG5//;
|
|
|
|
|
$p =~ s/QT_COMPAT / /;
|
|
|
|
|
$p =~ s/Q_DISABLE_COPY\((\w+)\)/$1(const $1 &);\n$1 &operator=(const $1 &);/;
|
|
|
|
|
$p =~ s/TQ_DISABLE_COPY\((\w+)\)/$1(const $1 &);\n$1 &operator=(const $1 &);/;
|
|
|
|
|
$p =~ s/TQWIDGETSIZE_MAX/32767/; # Qt/E uses this #define as an enum value - yuck!
|
|
|
|
|
$p =~ s/Q_SIGNALS/signals/;
|
|
|
|
|
$p =~ s/ASYNC/void/;
|
|
|
|
@ -861,7 +861,7 @@ sub identifyDecl
|
|
|
|
|
\s*(class|struct|union|namespace) # 2 struct type
|
|
|
|
|
(?:\s*TQ[A-Z_]*EXPORT[A-Z_]*)?
|
|
|
|
|
(?:\s*Q[A-Z_]*EXPORT[A-Z_]*)?
|
|
|
|
|
(?:\s*Q_PACKED)?
|
|
|
|
|
(?:\s*TQ_PACKED)?
|
|
|
|
|
(?:\s*Q_REFCOUNT)?
|
|
|
|
|
\s+([\w_]+ # 3 name
|
|
|
|
|
(?:<[\w_ :,]+?>)? # maybe explicit template
|
|
|
|
|