[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/mailcommon
From:       Andreas Holzammer <andy () kdab ! com>
Date:       2010-10-27 7:10:15
Message-ID: 20101027071015.1ABC6AC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1190155 by aholzammer:

- strip sound for now for wince

 M  +8 -1      filteraction.cpp  


--- trunk/KDE/kdepim/mailcommon/filteraction.cpp #1190154:1190155
@@ -64,7 +64,9 @@
 #include <QTextDocument>
 #include <QHBoxLayout>
 #include <QLabel>
+#ifndef _WIN32_WCE
 #include "soundtestwidget.h"
+#endif
 
 using namespace MailCommon;
 
@@ -1811,6 +1813,8 @@
   return FilterActionWithCommand::genericProcess( item, true ); // use output
 }
 
+
+#ifndef _WIN32_WCE
 //=============================================================================
 // FilterActionExecSound - execute command
 // Execute a sound
@@ -1874,7 +1878,6 @@
   return label() + " \"" + Qt::escape( argsAsString() ) + "\"";
 }
 
-
 FilterActionExecSound::FilterActionExecSound()
   : FilterActionWithTest( "play sound", i18n("Play Sound") ),
     mPlayer(0)
@@ -1909,6 +1912,8 @@
   return false;
 }
 
+#endif
+
 FilterActionWithUrl::FilterActionWithUrl( const char* aName, const QString &aLabel )
   : FilterAction( aName, aLabel )
 {
@@ -2200,7 +2205,9 @@
   insert( FilterActionRemoveHeader::newAction );
   insert( FilterActionAddHeader::newAction );
   insert( FilterActionRewriteHeader::newAction );
+#ifndef _WIN32_WCE
   insert( FilterActionExecSound::newAction );
+#endif
   insert( FilterActionAddToAddressBook::newAction );
   // Register custom filter actions below this line.
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic