-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 4ee784e..5f750ba 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -89,49 +89,49 @@ PlayListWidget::PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* par | |||
89 | this,SLOT( openURL() ) ); | 89 | this,SLOT( openURL() ) ); |
90 | pmPlayList->insertSeparator(-1); | 90 | pmPlayList->insertSeparator(-1); |
91 | (void)new MenuItem( pmPlayList, tr( "Save Playlist" ), | 91 | (void)new MenuItem( pmPlayList, tr( "Save Playlist" ), |
92 | this, SLOT(writem3u() ) ); | 92 | this, SLOT(writem3u() ) ); |
93 | pmPlayList->insertSeparator(-1); | 93 | pmPlayList->insertSeparator(-1); |
94 | (void)new MenuItem( pmPlayList, tr( "Rescan for Audio Files" ), | 94 | (void)new MenuItem( pmPlayList, tr( "Rescan for Audio Files" ), |
95 | audioView, SLOT( scanFiles() ) ); | 95 | audioView, SLOT( scanFiles() ) ); |
96 | (void)new MenuItem( pmPlayList, tr( "Rescan for Video Files" ), | 96 | (void)new MenuItem( pmPlayList, tr( "Rescan for Video Files" ), |
97 | videoView, SLOT( scanFiles() ) ); | 97 | videoView, SLOT( scanFiles() ) ); |
98 | 98 | ||
99 | pmView->insertItem( Resource::loadPixmap("fullscreen") , tr( "Full Screen"), | 99 | pmView->insertItem( Resource::loadPixmap("fullscreen") , tr( "Full Screen"), |
100 | &mediaPlayerState, SLOT( toggleFullscreen() ) ); | 100 | &mediaPlayerState, SLOT( toggleFullscreen() ) ); |
101 | 101 | ||
102 | Config cfg( "OpiePlayer" ); | 102 | Config cfg( "OpiePlayer" ); |
103 | bool b= cfg.readBoolEntry("FullScreen", 0); | 103 | bool b= cfg.readBoolEntry("FullScreen", 0); |
104 | mediaPlayerState.setFullscreen( b ); | 104 | mediaPlayerState.setFullscreen( b ); |
105 | pmView->setItemChecked( -16, b ); | 105 | pmView->setItemChecked( -16, b ); |
106 | 106 | ||
107 | (void)new ToolButton( vbox1, tr( "Move Up" ), "opieplayer2/up", | 107 | (void)new ToolButton( vbox1, tr( "Move Up" ), "opieplayer2/up", |
108 | d->selectedFiles, SLOT(moveSelectedUp() ) ); | 108 | d->selectedFiles, SLOT(moveSelectedUp() ) ); |
109 | (void)new ToolButton( vbox1, tr( "Remove" ), "opieplayer2/cut", | 109 | (void)new ToolButton( vbox1, tr( "Remove" ), "opieplayer2/cut", |
110 | d->selectedFiles, SLOT(removeSelected() ) ); | 110 | d->selectedFiles, SLOT(removeSelected() ) ); |
111 | (void)new ToolButton( vbox1, tr( "Move Down" ), "opieplayer2/down", | 111 | (void)new ToolButton( vbox1, tr( "Move Down" ), "opieplayer2/down", |
112 | d->selectedFiles, SLOT(moveSelectedDown() ) ); | 112 | d->selectedFiles, SLOT(moveSelectedDown() ) ); |
113 | // QVBox *stretch2 = new QVBox( vbox1 ); | 113 | QVBox *stretch2 = new QVBox( vbox1 ); |
114 | 114 | ||
115 | connect( tbDeletePlaylist, ( SIGNAL( released() ) ), | 115 | connect( tbDeletePlaylist, ( SIGNAL( released() ) ), |
116 | SLOT( deletePlaylist() ) ); | 116 | SLOT( deletePlaylist() ) ); |
117 | connect( pmView, SIGNAL( activated( int ) ), | 117 | connect( pmView, SIGNAL( activated( int ) ), |
118 | this, SLOT( pmViewActivated( int ) ) ); | 118 | this, SLOT( pmViewActivated( int ) ) ); |
119 | connect( skinsMenu, SIGNAL( activated( int ) ) , | 119 | connect( skinsMenu, SIGNAL( activated( int ) ) , |
120 | this, SLOT( skinsMenuActivated( int ) ) ); | 120 | this, SLOT( skinsMenuActivated( int ) ) ); |
121 | connect( d->selectedFiles, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int) ), | 121 | connect( d->selectedFiles, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int) ), |
122 | this,SLOT( playlistViewPressed( int, QListViewItem *, const QPoint&, int ) ) ); | 122 | this,SLOT( playlistViewPressed( int, QListViewItem *, const QPoint&, int ) ) ); |
123 | connect( audioView, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int ) ), | 123 | connect( audioView, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int ) ), |
124 | this,SLOT( viewPressed( int, QListViewItem *, const QPoint&, int ) ) ); | 124 | this,SLOT( viewPressed( int, QListViewItem *, const QPoint&, int ) ) ); |
125 | connect( audioView, SIGNAL( returnPressed( QListViewItem *) ), | 125 | connect( audioView, SIGNAL( returnPressed( QListViewItem *) ), |
126 | this,SLOT( playIt( QListViewItem *) ) ); | 126 | this,SLOT( playIt( QListViewItem *) ) ); |
127 | connect( audioView, SIGNAL( doubleClicked( QListViewItem *) ), | 127 | connect( audioView, SIGNAL( doubleClicked( QListViewItem *) ), |
128 | this, SLOT( addToSelection( QListViewItem *) ) ); | 128 | this, SLOT( addToSelection( QListViewItem *) ) ); |
129 | connect( videoView, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int) ), | 129 | connect( videoView, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int) ), |
130 | this,SLOT( viewPressed( int, QListViewItem *, const QPoint&, int) ) ); | 130 | this,SLOT( viewPressed( int, QListViewItem *, const QPoint&, int) ) ); |
131 | connect( videoView, SIGNAL( returnPressed( QListViewItem *) ), | 131 | connect( videoView, SIGNAL( returnPressed( QListViewItem *) ), |
132 | this,SLOT( playIt( QListViewItem *) ) ); | 132 | this,SLOT( playIt( QListViewItem *) ) ); |
133 | connect( videoView, SIGNAL( doubleClicked( QListViewItem *) ), | 133 | connect( videoView, SIGNAL( doubleClicked( QListViewItem *) ), |
134 | this, SLOT( addToSelection( QListViewItem *) ) ); | 134 | this, SLOT( addToSelection( QListViewItem *) ) ); |
135 | connect( playLists, SIGNAL( fileSelected( const DocLnk &) ), | 135 | connect( playLists, SIGNAL( fileSelected( const DocLnk &) ), |
136 | this, SLOT( loadList( const DocLnk & ) ) ); | 136 | this, SLOT( loadList( const DocLnk & ) ) ); |
137 | connect( tabWidget, SIGNAL ( currentChanged(QWidget*) ), | 137 | connect( tabWidget, SIGNAL ( currentChanged(QWidget*) ), |