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

List:       kde-commits
Subject:    extragear/multimedia/amarok/playground/src/context/engines/videoclip
From:       Simon Esneault <simon.esneault () gmail ! com>
Date:       2009-06-13 13:03:03
Message-ID: 1244898183.194190.18923.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 981374 by sesneault:

Style++ before the move to trunk


 M  +16 -8     VideoclipEngine.cpp  


--- trunk/extragear/multimedia/amarok/playground/src/context/engines/videoclip/VideoclipEngine.cpp \
#981373:981374 @@ -55,12 +55,14 @@
     m_video.clear();
 }
 
-QStringList VideoclipEngine::sources() const
+QStringList 
+VideoclipEngine::sources() const
 {
     return m_sources;
 }
 
-bool VideoclipEngine::sourceRequestEvent( const QString& name )
+bool 
+VideoclipEngine::sourceRequestEvent( const QString& name )
 {
     Q_UNUSED( name )
     m_requested = true; // someone is asking for data, so we turn ourselves on :)
@@ -70,20 +72,23 @@
     return true;
 }
 
-void VideoclipEngine::message( const ContextState& state )
+void 
+VideoclipEngine::message( const ContextState& state )
 {
     if ( state == Current && m_requested )
         update();
 }
 
-void VideoclipEngine::metadataChanged( Meta::TrackPtr track )
+void 
+VideoclipEngine::metadataChanged( Meta::TrackPtr track )
 {
     const bool hasChanged = track->name() != m_title || track->artist()->name() != \
m_artist;  if ( hasChanged )
         update();
 }
 
-void VideoclipEngine::update()
+void 
+VideoclipEngine::update()
 {
     DEBUG_BLOCK
     QString tmpYoutStr;
@@ -135,7 +140,8 @@
     }
 }
 
-bool VideoclipEngine::isVideoInfoValid( VideoInfo *item )
+bool 
+VideoclipEngine::isVideoInfoValid( VideoInfo *item )
 {
     item->relevancy=0;
     // title contain artist AND title
@@ -168,7 +174,8 @@
         return true;
 }
 
-void VideoclipEngine::resultYoutube( KJob* job )
+void 
+VideoclipEngine::resultYoutube( KJob* job )
 {
 
     if ( !m_jobYoutube ) //track changed while we were fetching
@@ -239,7 +246,8 @@
     resultFinalize();
 }
 
-void VideoclipEngine::resultYoutubeGetLink( KJob* job )
+void 
+VideoclipEngine::resultYoutubeGetLink( KJob* job )
 {
 //   DEBUG_BLOCK
     if ( job->error() != KJob::NoError )


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

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