summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-08-19 20:47:11 (UTC)
committer harlekin <harlekin>2002-08-19 20:47:11 (UTC)
commit7f1a7e9b3272f7848423583ea5fc04eb67d97f14 (patch) (side-by-side diff)
treeb8496afa48a9cddfe8ec701aac44cb90f926e165
parent6c0751d0d1869089066269430b4664655e1dbe68 (diff)
downloadopie-7f1a7e9b3272f7848423583ea5fc04eb67d97f14.zip
opie-7f1a7e9b3272f7848423583ea5fc04eb67d97f14.tar.gz
opie-7f1a7e9b3272f7848423583ea5fc04eb67d97f14.tar.bz2
properties editing is opie only and should not be in the mediaplayer
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp32
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.h1
2 files changed, 0 insertions, 33 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 6299328..10f1792 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -837,8 +837,6 @@ void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , in
QPopupMenu m;
m.insertItem( tr( "Play" ), this, SLOT( playSelected() ));
m.insertItem( tr( "Add to Playlist" ), this, SLOT( addSelected() ));
- m.insertSeparator();
- m.insertItem( tr( "Properties" ), this, SLOT( listDelete() ));
m.exec( QCursor::pos() );
}
break;
@@ -865,36 +863,6 @@ void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *, const QPoi
};
}
-void PlayListWidget::listDelete() {
- Config cfg( "OpiePlayer" );
- cfg.setGroup("PlayList");
- QString currentPlaylist = cfg.readEntry("CurrentPlaylist","");
- QString file;
- // int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 );
- switch ( tabWidget->currentPageIndex()) {
- case 0:
- break;
- case 1:
- {
- file = audioView->currentItem()->text(0);
- QListIterator<DocLnk> Pdit( files.children() );
- for ( ; Pdit.current(); ++Pdit ) {
- if( Pdit.current()->name() == file) {
- LnkProperties prop( Pdit.current() );
- prop.showMaximized();
- prop.exec();
- }
- }
- populateAudioView();
- }
- break;
- case 2:
- {
-
- }
- break;
- };
-}
void PlayListWidget::scanForAudio() {
qDebug("scan for audio");
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h
index dd4bee0..8076707 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.h
+++ b/noncore/multimedia/opieplayer2/playlistwidget.h
@@ -98,7 +98,6 @@ private slots:
void viewPressed( int, QListViewItem *, const QPoint&, int);
void playlistViewPressed( int, QListViewItem *, const QPoint&, int);
void playSelected();
- void listDelete();
protected slots:
/* void cancelMenuTimer(); */