|
|
|
@ -113,7 +113,7 @@ Disc::Disc( TQWidget* parent, TQObject *objParent, const char *name ) : Kaffeine
|
|
|
|
|
h1->addWidget( ripBtn );
|
|
|
|
|
vb->addLayout( h1 );
|
|
|
|
|
|
|
|
|
|
cdBtn->setIconSet( TDEGlobal::iconLoader()->loadIconSet("cdaudio_unmount", TDEIcon::Toolbar) );
|
|
|
|
|
cdBtn->setIconSet( TDEGlobal::iconLoader()->loadIconSet("media-optical-cdaudio", TDEIcon::Toolbar) );
|
|
|
|
|
ripBtn->setIconSet( TDEGlobal::iconLoader()->loadIconSet("kilogram", TDEIcon::Toolbar) );
|
|
|
|
|
|
|
|
|
|
connect( cdBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(startCD()) );
|
|
|
|
@ -205,13 +205,13 @@ void Disc::getTargets( TQStringList &uiNames, TQStringList &iconNames, TQStringL
|
|
|
|
|
iconNames.append( "kilogram" );
|
|
|
|
|
targetNames.append( "DISC_RIP" );
|
|
|
|
|
uiNames.append( i18n("Play Audio CD") );
|
|
|
|
|
iconNames.append( "cdaudio_unmount" );
|
|
|
|
|
iconNames.append( "media-optical-cdaudio" );
|
|
|
|
|
targetNames.append( "DISC_CDDA" );
|
|
|
|
|
uiNames.append( i18n("Play DVD") );
|
|
|
|
|
iconNames.append( "dvd_unmount" );
|
|
|
|
|
iconNames.append( "media-optical-dvd" );
|
|
|
|
|
targetNames.append( "DISC_DVD" );
|
|
|
|
|
uiNames.append( i18n("Play VCD") );
|
|
|
|
|
iconNames.append( "cdrom_unmount" );
|
|
|
|
|
iconNames.append( "media-optical-cdrom" );
|
|
|
|
|
targetNames.append( "DISC_VCD" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -266,9 +266,9 @@ TQWidget* Disc::inputMainWidget()
|
|
|
|
|
|
|
|
|
|
void Disc::setupActions()
|
|
|
|
|
{
|
|
|
|
|
new TDEAction(i18n("Open &DVD"), "dvd_unmount", 0, this, TQT_SLOT(startDVD()), actionCollection(), "file_open_dvd");
|
|
|
|
|
new TDEAction(i18n("Open &VCD"), "cdrom_unmount", 0, this, TQT_SLOT(startVCD()), actionCollection(), "file_open_vcd");
|
|
|
|
|
new TDEAction(i18n("Open &Audio-CD"), "cdaudio_unmount", 0, this, TQT_SLOT(startCD()), actionCollection(), "file_open_audiocd");
|
|
|
|
|
new TDEAction(i18n("Open &DVD"), "media-optical-dvd", 0, this, TQT_SLOT(startDVD()), actionCollection(), "file_open_dvd");
|
|
|
|
|
new TDEAction(i18n("Open &VCD"), "media-optical-cdrom", 0, this, TQT_SLOT(startVCD()), actionCollection(), "file_open_vcd");
|
|
|
|
|
new TDEAction(i18n("Open &Audio-CD"), "media-optical-cdaudio", 0, this, TQT_SLOT(startCD()), actionCollection(), "file_open_audiocd");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Disc::playerStopped()
|
|
|
|
|