|
|
|
@ -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("media-optical-cdaudio", TDEIcon::Toolbar) );
|
|
|
|
|
cdBtn->setIconSet( TDEGlobal::iconLoader()->loadIconSet("media-optical-cdaudio-unmounted", 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( "media-optical-cdaudio" );
|
|
|
|
|
iconNames.append( "media-optical-cdaudio-unmounted" );
|
|
|
|
|
targetNames.append( "DISC_CDDA" );
|
|
|
|
|
uiNames.append( i18n("Play DVD") );
|
|
|
|
|
iconNames.append( "media-optical-dvd" );
|
|
|
|
|
iconNames.append( "media-optical-dvd-unmounted" );
|
|
|
|
|
targetNames.append( "DISC_DVD" );
|
|
|
|
|
uiNames.append( i18n("Play VCD") );
|
|
|
|
|
iconNames.append( "media-optical-cdrom" );
|
|
|
|
|
iconNames.append( "media-optical-cdrom-unmounted" );
|
|
|
|
|
targetNames.append( "DISC_VCD" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -266,9 +266,9 @@ TQWidget* Disc::inputMainWidget()
|
|
|
|
|
|
|
|
|
|
void Disc::setupActions()
|
|
|
|
|
{
|
|
|
|
|
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");
|
|
|
|
|
new TDEAction(i18n("Open &DVD"), "media-optical-dvd-unmounted", 0, this, TQT_SLOT(startDVD()), actionCollection(), "file_open_dvd");
|
|
|
|
|
new TDEAction(i18n("Open &VCD"), "media-optical-cdrom-unmounted", 0, this, TQT_SLOT(startVCD()), actionCollection(), "file_open_vcd");
|
|
|
|
|
new TDEAction(i18n("Open &Audio-CD"), "media-optical-cdaudio-unmounted", 0, this, TQT_SLOT(startCD()), actionCollection(), "file_open_audiocd");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Disc::playerStopped()
|
|
|
|
|