From da9871c3ce2d7ca4efbc40c2d55d08c6b13834cc Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 20 Aug 2012 17:16:06 +0200 Subject: do not make Qt3 moc mix KDE3 and TDE slots Qt3 moc does not understand #ifdef, so filter out unwanted stuff for it. --- vcl/unx/kde/fpicker/kdefilepicker.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vcl/unx') diff --git a/vcl/unx/kde/fpicker/kdefilepicker.hxx b/vcl/unx/kde/fpicker/kdefilepicker.hxx index ed7eef3923bf..57ac7b64f06b 100644 --- a/vcl/unx/kde/fpicker/kdefilepicker.hxx +++ b/vcl/unx/kde/fpicker/kdefilepicker.hxx @@ -114,10 +114,12 @@ protected: bool canNotifySelection( void ) const { return m_bCanNotifySelection; } protected slots: +// Qt3 moc does not really understand #ifdef and would process both slots, +// so the FILTER_OUT_FOO tags are used to remove some slots before moc sees them. #ifdef ENABLE_TDE - void fileHighlightedCommand( const TQString & ); + void fileHighlightedCommand( const TQString & ); // FILTER_OUT_TDE #else // ENABLE_TDE - void fileHighlightedCommand( const QString & ); + void fileHighlightedCommand( const QString & ); // FILTER_OUT_KDE #endif // ENABLE_TDE void selectionChangedCommand(); -- cgit v1.2.3