summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-20 18:53:33 (UTC)
committer llornkcor <llornkcor>2002-04-20 18:53:33 (UTC)
commitb8bdd6ceaab890f8b35492a11e13bcdb101b1220 (patch) (side-by-side diff)
tree1ba128f600c5b0e5f2b0dce459b77270287e59ca
parent703c9c483b5e3fa6d2090398d6ee3a5638326b02 (diff)
downloadopie-b8bdd6ceaab890f8b35492a11e13bcdb101b1220.zip
opie-b8bdd6ceaab890f8b35492a11e13bcdb101b1220.tar.gz
opie-b8bdd6ceaab890f8b35492a11e13bcdb101b1220.tar.bz2
changed MediaPlayer to OpiePlayer in config stuff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/mediaplayerstate.cpp4
-rw-r--r--core/multimedia/opieplayer/playlistwidget.cpp12
2 files changed, 8 insertions, 8 deletions
diff --git a/core/multimedia/opieplayer/mediaplayerstate.cpp b/core/multimedia/opieplayer/mediaplayerstate.cpp
index a960c49..4e14436 100644
--- a/core/multimedia/opieplayer/mediaplayerstate.cpp
+++ b/core/multimedia/opieplayer/mediaplayerstate.cpp
@@ -42,14 +42,14 @@
MediaPlayerState::MediaPlayerState( QObject *parent, const char *name )
: QObject( parent, name ), decoder( NULL ), libmpeg3decoder( NULL ) {
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
readConfig( cfg );
loadPlugins();
}
MediaPlayerState::~MediaPlayerState() {
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
writeConfig( cfg );
}
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp
index 4b1ff22..218fd49 100644
--- a/core/multimedia/opieplayer/playlistwidget.cpp
+++ b/core/multimedia/opieplayer/playlistwidget.cpp
@@ -289,7 +289,7 @@ populateVideoView();
setCentralWidget( vbox5 );
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
readConfig( cfg );
QString currentPlaylist = cfg.readEntry("CurrentPlaylist","");
// qDebug("currentList is "+currentPlaylist);
@@ -301,7 +301,7 @@ populateVideoView();
PlayListWidget::~PlayListWidget() {
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
writeConfig( cfg );
@@ -625,7 +625,7 @@ void PlayListWidget::saveList() {
if(!lnk.writeLink())
qDebug("Writing doclink did not work");
}
- Config config( "MediaPlayer" );
+ Config config( "OpiePlayer" );
config.writeEntry("CurrentPlaylist",filename);
setCaption(tr("OpiePlayer: ")+filename);
d->selectedFiles->first();
@@ -645,7 +645,7 @@ void PlayListWidget::loadList( const DocLnk & lnk) {
tabWidget->setCurrentPage(0);
- Config config( "MediaPlayer" );
+ Config config( "OpiePlayer" );
config.writeEntry("CurrentPlaylist", name);
// d->selectedFiles->first();
}
@@ -668,7 +668,7 @@ void PlayListWidget::setView( char view ) {
void PlayListWidget::addSelected() {
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
cfg.setGroup("PlayList");
QString currentPlaylist = cfg.readEntry("CurrentPlaylist","");
int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 );
@@ -879,7 +879,7 @@ void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *item, const
}
void PlayListWidget::listDelete() {
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
cfg.setGroup("PlayList");
QString currentPlaylist = cfg.readEntry("CurrentPlaylist","");
QString file;