[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-1/amarok/src/amarokcore
From: Seb Ruiz <seb100 () optusnet ! com ! au>
Date: 2005-03-29 15:46:41
Message-ID: 20050329154641.8B8CA3CF () office ! kde ! org
[Download RAW message or body]
CVS commit by seb:
ADD: New DCOP call player: enableRepeatPlaylist( bool ) which switches repeat \
playlist on or off BUG:102754
M +6 -0 amarokdcophandler.cpp 1.84
M +1 -0 amarokdcophandler.h 1.52
M +1 -0 amarokdcopiface.h 1.51
--- kdeextragear-1/amarok/src/amarokcore/amarokdcopiface.h #1.50:1.51
@@ -42,4 +42,5 @@ k_dcop:
virtual void seekRelative(int s) = 0; ///< Seek to a position \
relative to the current track position. virtual void enableRandomMode(bool enable) = \
0; ///< Switch Random Mode on or off. + virtual void \
enableRepeatPlaylist(bool enable) = 0; ///< Switch Repeat Playlist on or off.
//TODO Move to Collection interface for 1.3
--- kdeextragear-1/amarok/src/amarokcore/amarokdcophandler.cpp #1.83:1.84
@@ -237,4 +237,10 @@ namespace amaroK
}
+ void DcopPlayerHandler::enableRepeatPlaylist(bool enable)
+ {
+ static_cast<KToggleAction*>(amaroK::actionCollection()->action( \
"repeat_playlist" ))->setChecked( enable ); + }
+
+
void DcopPlayerHandler::scanCollection()
{
--- kdeextragear-1/amarok/src/amarokcore/amarokdcophandler.h #1.51:1.52
@@ -42,4 +42,5 @@ class DcopPlayerHandler : public QObject
virtual void seekRelative( int s );
virtual void enableRandomMode( bool enable );
+ virtual void enableRepeatPlaylist( bool enable );
virtual int trackTotalTime();
virtual int trackCurrentTime();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic