summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-12-11 23:35:31 (UTC)
committer harlekin <harlekin>2002-12-11 23:35:31 (UTC)
commita1ff0243520fca8406d90b0875ef141b7555d748 (patch) (unidiff)
tree739fb7fbd60e1e19eb017e28afea3b8c6efd918b
parentd4a0626f01fae21ed19d0eea88d8eca1935c6bc8 (diff)
downloadopie-a1ff0243520fca8406d90b0875ef141b7555d748.zip
opie-a1ff0243520fca8406d90b0875ef141b7555d748.tar.gz
opie-a1ff0243520fca8406d90b0875ef141b7555d748.tar.bz2
buttons centered again
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index c35e03d..a65495e 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -58,3 +58,3 @@
58PlayListWidget::PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name ) 58PlayListWidget::PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name )
59 : PlayListWidgetGui( mediaPlayerState, parent, name ) , currentFileListView( 0 ) 59 : PlayListWidgetGui( mediaPlayerState, parent, name ) , currentFileListView( 0 )
60{ 60{
@@ -103,5 +103,5 @@ PlayListWidget::PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* par
103 103
104 (void)new ToolButton( vbox1, tr( "Move Up" ), "opieplayer2/up", 104 (void)new ToolButton( vbox1, tr( "Move Up" ), "opieplayer2/up",
105 d->selectedFiles, SLOT(moveSelectedUp() ) ); 105 d->selectedFiles, SLOT(moveSelectedUp() ) );
106 (void)new ToolButton( vbox1, tr( "Remove" ), "opieplayer2/cut", 106 (void)new ToolButton( vbox1, tr( "Remove" ), "opieplayer2/cut",
107 d->selectedFiles, SLOT(removeSelected() ) ); 107 d->selectedFiles, SLOT(removeSelected() ) );
@@ -109,3 +109,3 @@ PlayListWidget::PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* par
109 d->selectedFiles, SLOT(moveSelectedDown() ) ); 109 d->selectedFiles, SLOT(moveSelectedDown() ) );
110 // QVBox *stretch2 = new QVBox( vbox1 ); 110 QVBox *stretch2 = new QVBox( vbox1 );
111 111
@@ -190,3 +190,3 @@ void PlayListWidget::writeDefaultPlaylist() {
190 delete m3uList; 190 delete m3uList;
191 191
192 } 192 }
@@ -201,3 +201,3 @@ void PlayListWidget::addToSelection( const DocLnk& lnk ) {
201 } 201 }
202// writeCurrentM3u(); 202// writeCurrentM3u();
203} 203}
@@ -263,3 +263,3 @@ void PlayListWidget::addAllToList() {
263 d->selectedFiles->addToSelection( lnk); 263 d->selectedFiles->addToSelection( lnk);
264 } 264 }
265 265
@@ -273,3 +273,3 @@ void PlayListWidget::addAllToList() {
273 d->selectedFiles->addToSelection( lnk); 273 d->selectedFiles->addToSelection( lnk);
274 } 274 }
275 275
@@ -279,3 +279,3 @@ void PlayListWidget::addAllToList() {
279 // } 279 // }
280 280
281 281
@@ -283,3 +283,3 @@ void PlayListWidget::addAllToList() {
283// scanForAudio(); 283// scanForAudio();
284// if(!videoScan) 284// if(!videoScan)
285// scanForVideo(); 285// scanForVideo();
@@ -298,3 +298,3 @@ void PlayListWidget::addAllToList() {
298 tabWidget->setCurrentPage(0); 298 tabWidget->setCurrentPage(0);
299 299
300 writeCurrentM3u(); 300 writeCurrentM3u();
@@ -317,3 +317,3 @@ void PlayListWidget::addAllMusicToList() {
317 d->selectedFiles->addToSelection( lnk); 317 d->selectedFiles->addToSelection( lnk);
318 } 318 }
319 319
@@ -346,3 +346,3 @@ void PlayListWidget::addAllVideoToList() {
346 d->selectedFiles->addToSelection( lnk); 346 d->selectedFiles->addToSelection( lnk);
347 } 347 }
348 348
@@ -357,5 +357,5 @@ void PlayListWidget::addAllVideoToList() {
357 } 357 }
358*/ 358*/
359 tabWidget->setCurrentPage(0); 359 tabWidget->setCurrentPage(0);
360 writeCurrentM3u(); 360 writeCurrentM3u();
361 d->selectedFiles->first(); 361 d->selectedFiles->first();
@@ -385,4 +385,4 @@ void PlayListWidget::setDocument( const QString& fileref ) {
385 addToSelection( DocLnk( fileref ) ); 385 addToSelection( DocLnk( fileref ) );
386 writeCurrentM3u(); 386 writeCurrentM3u();
387 387
388 d->setDocumentUsed = TRUE; 388 d->setDocumentUsed = TRUE;
@@ -507,3 +507,3 @@ void PlayListWidget::removeSelected() {
507 d->selectedFiles->removeSelected( ); 507 d->selectedFiles->removeSelected( );
508 writeCurrentM3u(); 508 writeCurrentM3u();
509} 509}
@@ -533,6 +533,6 @@ void PlayListWidget::addToSelection( QListViewItem *it) {
533 d->selectedFiles->addToSelection( lnk); 533 d->selectedFiles->addToSelection( lnk);
534 534
535 writeCurrentM3u(); 535 writeCurrentM3u();
536// tabWidget->setCurrentPage(0); 536// tabWidget->setCurrentPage(0);
537 537
538 } 538 }
@@ -695,3 +695,3 @@ void PlayListWidget::openFile() {
695 } 695 }
696 696
697 delete fileDlg; 697 delete fileDlg;
@@ -701,3 +701,3 @@ void PlayListWidget::openFile() {
701reads m3u and shows files/urls to playlist widget */ 701reads m3u and shows files/urls to playlist widget */
702void PlayListWidget::readm3u( const QString &filename ) { 702void PlayListWidget::readm3u( const QString &filename ) {
703 qDebug( "read m3u filename " + filename ); 703 qDebug( "read m3u filename " + filename );
@@ -716,3 +716,3 @@ void PlayListWidget::readm3u( const QString &filename ) {
716 lnk.setFile( s ); //sets file name 716 lnk.setFile( s ); //sets file name
717 717
718 } else { 718 } else {
@@ -721,3 +721,3 @@ void PlayListWidget::readm3u( const QString &filename ) {
721 // if(s.right(4) == '.') {//if regular file 721 // if(s.right(4) == '.') {//if regular file
722 if(s.left(1) != "/") { 722 if(s.left(1) != "/") {
723 // qDebug("set link "+QFileInfo(filename).dirPath()+"/"+s); 723 // qDebug("set link "+QFileInfo(filename).dirPath()+"/"+s);
@@ -748,3 +748,3 @@ void PlayListWidget::readm3u( const QString &filename ) {
748 setCaption(tr("OpiePlayer: ")+ QFileInfo(filename).baseName()); 748 setCaption(tr("OpiePlayer: ")+ QFileInfo(filename).baseName());
749 749
750} 750}
@@ -817,3 +817,3 @@ void PlayListWidget::writeCurrentM3u() {
817 delete m3uList; 817 delete m3uList;
818 818
819} 819}
@@ -852,3 +852,3 @@ void PlayListWidget::writem3u() {
852 delete m3uList; 852 delete m3uList;
853 853
854 delete fileDlg; 854 delete fileDlg;
@@ -863,3 +863,3 @@ void PlayListWidget::writem3u() {
863 config.setGroup( "PlayList" ); 863 config.setGroup( "PlayList" );
864 864
865 config.writeEntry("CurrentPlaylist",filename); 865 config.writeEntry("CurrentPlaylist",filename);