[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src/amarokcore
From: Mike Diehl <madpenguin8 () yahoo ! com>
Date: 2005-08-27 2:34:17
Message-ID: 1125110057.779210.9261.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 453770 by mdiehl:
Change dcop calls mdMountCommand and mdUmountCommand to mediaDeviceMount and \
mediaDeviceUmount. The original calls were for testing and the new ones make more \
sense anyway.
M +4 -4 amarokdcophandler.cpp
M +2 -2 amarokdcophandler.h
M +2 -2 amarokdcopiface.h
--- trunk/extragear/multimedia/amarok/src/amarokcore/amarokdcophandler.cpp \
#453769:453770 @@ -271,14 +271,14 @@
static_cast<KToggleAction*>(amaroK::actionCollection()->action( \
"repeat_track" ))->setChecked( enable ); }
- void DcopPlayerHandler::mdMountCommand( QString cmd )
+ void DcopPlayerHandler::mediaDeviceMount()
{
- MediaDevice::instance()->setMountCommand( cmd );
+ MediaDevice::instance()->mount();
}
- void DcopPlayerHandler::mdUmountCommand( QString cmd )
+ void DcopPlayerHandler::mediaDeviceUmount()
{
- MediaDevice::instance()->setUmountCommand( cmd );
+ MediaDevice::instance()->umount();
}
void DcopPlayerHandler::mute()
--- trunk/extragear/multimedia/amarok/src/amarokcore/amarokdcophandler.h \
#453769:453770 @@ -69,8 +69,8 @@
virtual void enableRandomMode( bool enable );
virtual void enableRepeatPlaylist( bool enable );
virtual void enableRepeatTrack( bool enable );
- virtual void mdMountCommand( QString cmd );
- virtual void mdUmountCommand( QString cmd );
+ virtual void mediaDeviceMount();
+ virtual void mediaDeviceUmount();
virtual void mute();
virtual void next();
virtual void pause();
--- trunk/extragear/multimedia/amarok/src/amarokcore/amarokdcopiface.h #453769:453770
@@ -74,8 +74,8 @@
virtual void enableRandomMode(bool enable) = 0; ///< Switch Random Mode \
on or off. virtual void enableRepeatPlaylist(bool enable) = 0; ///< Switch \
Repeat Playlist on or off. virtual void enableRepeatTrack(bool enable) = 0; \
///< Switch Repeat Track on or off.
- virtual void mdMountCommand( QString cmd ) = 0; ///< Sets the command used \
for mounting media device.
- virtual void mdUmountCommand( QString cmd ) = 0; ///< Sets the comment used for \
umounting media device. + virtual void mediaDeviceMount() = 0; ///< \
Sets the command used for mounting media device. + virtual void mediaDeviceUmount() \
= 0; ///< Sets the comment used for umounting media device. virtual void \
mute() = 0; ///< Toggle mute. virtual void next() = \
0; ///< Equivalent to pressing "Next" button. \
virtual void pause() = 0; ///< Equivalent to pressing \
"Pause" button.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic