summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-08-20 17:16:06 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-08-20 17:16:06 +0200
commitda9871c3ce2d7ca4efbc40c2d55d08c6b13834cc (patch)
tree71c02cd760f41c9f4cf0b89a402abcf2c706c220 /vcl/unx
parent2e44e8134b077032341849886e2aad465cee1fd9 (diff)
do not make Qt3 moc mix KDE3 and TDE slots
Qt3 moc does not understand #ifdef, so filter out unwanted stuff for it.
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/kde/fpicker/kdefilepicker.hxx6
1 files changed, 4 insertions, 2 deletions
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();