void Application::onTagTriggered() { TagDialog* td = new TagDialog( m_currentTrack, m_mw ); td->raise(); td->show(); td->activateWindow(); }
void TrackWidget::onTagClicked() { TagDialog* td = new TagDialog( m_track, window() ); td->raise(); td->show(); td->activateWindow(); AnalyticsService::instance().sendEvent( aApp->currentCategory(), TAG_CLICKED, "TagButtonPressed"); }
void AlbumsView::slotEditSelected() { Meta::TrackList selected = getSelectedTracks(); if( !selected.isEmpty() ) { TagDialog *dialog = new TagDialog( selected ); dialog->show(); } }
inline void FSBrowser::contextMenuActivated( int id ) { switch( id ) { case MakePlaylist: Playlist::instance()->insertMedia( selectedItems(), Playlist::Replace ); break; case SavePlaylist: playlistFromURLs( selectedItems() ); break; case AppendToPlaylist: Playlist::instance()->insertMedia( selectedItems() ); break; case EditTags: { KURL::List list = selectedItems(); TagDialog *dialog = NULL; if( list.count() == 1 ) { dialog = new TagDialog( list.first(), this ); } else { dialog = new TagDialog( list, this ); } dialog->show(); } break; case CopyToCollection: CollectionView::instance()->organizeFiles( selectedItems(), i18n( "Copy Files To Collection" ), true ); break; case MoveToCollection: CollectionView::instance()->organizeFiles( selectedItems(), i18n( "Move Files To Collection" ), false ); break; case CopyMediaDevice: MediaBrowser::queue()->addURLs( selectedItems() ); break; case SelectAllFiles: selectAll(); break; case BurnCd: K3bExporter::instance()->exportTracks( selectedItems() ); break; } }
void Application::onTagTriggered() { TagDialog* td = new TagDialog( mw->currentTrack(), mw ); td->show(); }