summaryrefslogtreecommitdiffstats
path: root/dcop
diff options
context:
space:
mode:
Diffstat (limited to 'dcop')
-rw-r--r--dcop/dcopidlng/kalyptus7
1 files changed, 6 insertions, 1 deletions
diff --git a/dcop/dcopidlng/kalyptus b/dcop/dcopidlng/kalyptus
index d76ff95b1..ccf2cad97 100644
--- a/dcop/dcopidlng/kalyptus
+++ b/dcop/dcopidlng/kalyptus
@@ -115,6 +115,7 @@ $allowed_k_dcop_accesors_re = join("|", @allowed_k_dcop_accesors);
Q_WS_QWS => 'undef',
Q_WS_MAC => 'undef',
Q_OBJECT => <<'CODE',
+ TQ_OBJECT => <<'CODE',
public:
virtual QMetaObject *metaObject() const;
virtual const char *className() const;
@@ -373,7 +374,7 @@ sub readSourceLine
=head2 readCxxLine
Reads a C++ source line, skipping comments, blank lines,
- preprocessor tokens and the Q_OBJECT macro
+ preprocessor tokens and the Q_OBJECT/TQ_OBJECT macros
=cut
@@ -405,6 +406,10 @@ LOOP:
push @inputqueue, @codeqobject;
next;
}
+ if ( $p =~ /^\s*TQ_OBJECT/ ) {
+ push @inputqueue, @codeqobject;
+ next;
+ }
# Hack, waiting for real handling of preprocessor defines
$p =~ s/QT_STATIC_CONST/static const/;
$p =~ s/KSVG_GET/KJS::Value get();/;