summaryrefslogtreecommitdiffstats
path: root/dcop
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-27 17:14:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-27 17:14:41 -0600
commitaa492f2e083fb5d31ce98c0e24dd87c12fdd3ed2 (patch)
tree050ff0b858822d44b6b7ac297ccf8c0723a140e0 /dcop
parentf4a29be98730804c18af6f7e6574476e7d6a44f5 (diff)
downloadtdelibs-aa492f2e083fb5d31ce98c0e24dd87c12fdd3ed2.tar.gz
tdelibs-aa492f2e083fb5d31ce98c0e24dd87c12fdd3ed2.zip
Attempt to force dcopidl to accept the TQ_OBJECT macro
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();/;