summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/playlistwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp
index b9b63c7..26103c3 100644
--- a/core/multimedia/opieplayer/playlistwidget.cpp
+++ b/core/multimedia/opieplayer/playlistwidget.cpp
@@ -1137,65 +1137,65 @@ void PlayListWidget::keyReleaseEvent( QKeyEvent *e)
1137 addSelected(); 1137 addSelected();
1138 break; 1138 break;
1139 case Key_R: //remove from playlist 1139 case Key_R: //remove from playlist
1140 removeSelected(); 1140 removeSelected();
1141 break; 1141 break;
1142// case Key_P: //play 1142// case Key_P: //play
1143// qDebug("Play"); 1143// qDebug("Play");
1144// playSelected(); 1144// playSelected();
1145// break; 1145// break;
1146 case Key_Space: 1146 case Key_Space:
1147 qDebug("Play"); 1147 qDebug("Play");
1148// playSelected(); puh 1148// playSelected(); puh
1149 break; 1149 break;
1150 case Key_1: 1150 case Key_1:
1151 tabWidget->setCurrentPage(0); 1151 tabWidget->setCurrentPage(0);
1152 break; 1152 break;
1153 case Key_2: 1153 case Key_2:
1154 tabWidget->setCurrentPage(1); 1154 tabWidget->setCurrentPage(1);
1155 break; 1155 break;
1156 case Key_3: 1156 case Key_3:
1157 tabWidget->setCurrentPage(2); 1157 tabWidget->setCurrentPage(2);
1158 break; 1158 break;
1159 case Key_4: 1159 case Key_4:
1160 tabWidget->setCurrentPage(3); 1160 tabWidget->setCurrentPage(3);
1161 break; 1161 break;
1162 case Key_Down: 1162 case Key_Down:
1163 if ( !d->selectedFiles->next() ) 1163 if ( !d->selectedFiles->next() )
1164 d->selectedFiles->first(); 1164 d->selectedFiles->first();
1165 1165
1166 break; 1166 break;
1167 case Key_Up: 1167 case Key_Up:
1168 if ( !d->selectedFiles->prev() ) 1168 if ( !d->selectedFiles->prev() )
1169 d->selectedFiles->last(); 1169 // d->selectedFiles->last();
1170 1170
1171 break; 1171 break;
1172 1172
1173 } 1173 }
1174} 1174}
1175 1175
1176void PlayListWidget::keyPressEvent( QKeyEvent *e) 1176void PlayListWidget::keyPressEvent( QKeyEvent *e)
1177{ 1177{
1178// qDebug("Key press"); 1178// qDebug("Key press");
1179// switch ( e->key() ) { 1179// switch ( e->key() ) {
1180// ////////////////////////////// Zaurus keys 1180// ////////////////////////////// Zaurus keys
1181// case Key_A: //add to playlist 1181// case Key_A: //add to playlist
1182// qDebug("Add"); 1182// qDebug("Add");
1183// addSelected(); 1183// addSelected();
1184// break; 1184// break;
1185// case Key_R: //remove from playlist 1185// case Key_R: //remove from playlist
1186// removeSelected(); 1186// removeSelected();
1187// break; 1187// break;
1188// case Key_P: //play 1188// case Key_P: //play
1189// qDebug("Play"); 1189// qDebug("Play");
1190// playSelected(); 1190// playSelected();
1191// break; 1191// break;
1192// case Key_Space: 1192// case Key_Space:
1193// qDebug("Play"); 1193// qDebug("Play");
1194// playSelected(); 1194// playSelected();
1195// break; 1195// break;
1196// } 1196// }
1197} 1197}
1198 1198
1199void PlayListWidget::doBlank() { 1199void PlayListWidget::doBlank() {
1200 qDebug("do blanking"); 1200 qDebug("do blanking");
1201 fd=open("/dev/fb0",O_RDWR); 1201 fd=open("/dev/fb0",O_RDWR);