|
|
@ -44,7 +44,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
k9Copy::k9Copy()
|
|
|
|
k9Copy::k9Copy()
|
|
|
|
: KMdiMainFrm( 0, "k9Copy" ,KMdi::IDEAlMode ) {
|
|
|
|
: KMdiMainFrm( 0, "k9Copy" ,KMdi::IDEAlMode ) {
|
|
|
|
// tell the KMainWindow that this is indeed the main widget
|
|
|
|
// tell the TDEMainWindow that this is indeed the main widget
|
|
|
|
m_k9MainView=NULL;
|
|
|
|
m_k9MainView=NULL;
|
|
|
|
m_k9ImportView =NULL;
|
|
|
|
m_k9ImportView =NULL;
|
|
|
|
|
|
|
|
|
|
|
@ -260,7 +260,7 @@ void k9Copy::setupActions() {
|
|
|
|
setStandardToolBarMenuEnabled(TRUE);
|
|
|
|
setStandardToolBarMenuEnabled(TRUE);
|
|
|
|
createStandardStatusBarAction();
|
|
|
|
createStandardStatusBarAction();
|
|
|
|
|
|
|
|
|
|
|
|
PlayTitleAction = new KAction(i18n("Play title"), 0,
|
|
|
|
PlayTitleAction = new TDEAction(i18n("Play title"), 0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionPlayTitle()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionPlayTitle()),
|
|
|
|
actionCollection(), "PlayTitle");
|
|
|
|
actionCollection(), "PlayTitle");
|
|
|
|
m_actions["playtitle"]=PlayTitleAction;
|
|
|
|
m_actions["playtitle"]=PlayTitleAction;
|
|
|
@ -269,28 +269,28 @@ void k9Copy::setupActions() {
|
|
|
|
img.loadFromData( img_preview, sizeof( img_preview ), "PNG" );
|
|
|
|
img.loadFromData( img_preview, sizeof( img_preview ), "PNG" );
|
|
|
|
PlayTitleAction->setIconSet(TQIconSet(img));
|
|
|
|
PlayTitleAction->setIconSet(TQIconSet(img));
|
|
|
|
|
|
|
|
|
|
|
|
CopyAction = new KAction(i18n("Copy"), 0,
|
|
|
|
CopyAction = new TDEAction(i18n("Copy"), 0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionCopy()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionCopy()),
|
|
|
|
actionCollection(), "Copy");
|
|
|
|
actionCollection(), "Copy");
|
|
|
|
m_actions["copy"]=CopyAction;
|
|
|
|
m_actions["copy"]=CopyAction;
|
|
|
|
CopyAction->setIcon("dvdcopy");
|
|
|
|
CopyAction->setIcon("dvdcopy");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkMpeg2Action = new KAction(i18n("Extract MPEG2"),0,
|
|
|
|
mkMpeg2Action = new TDEAction(i18n("Extract MPEG2"),0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionMpeg2()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionMpeg2()),
|
|
|
|
actionCollection(),"MakeMPEG2");
|
|
|
|
actionCollection(),"MakeMPEG2");
|
|
|
|
m_actions["mp2"]=mkMpeg2Action;
|
|
|
|
m_actions["mp2"]=mkMpeg2Action;
|
|
|
|
|
|
|
|
|
|
|
|
mkMpeg2Action->setIcon("mpeg");
|
|
|
|
mkMpeg2Action->setIcon("mpeg");
|
|
|
|
|
|
|
|
|
|
|
|
mkMP4Action = new KAction(i18n("Create MPEG-4"),0,
|
|
|
|
mkMP4Action = new TDEAction(i18n("Create MPEG-4"),0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionMP4()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionMP4()),
|
|
|
|
actionCollection(),"MakeMPEG4");
|
|
|
|
actionCollection(),"MakeMPEG4");
|
|
|
|
m_actions["mp4"]=mkMP4Action;
|
|
|
|
m_actions["mp4"]=mkMP4Action;
|
|
|
|
|
|
|
|
|
|
|
|
mkMP4Action->setIcon("mp4");
|
|
|
|
mkMP4Action->setIcon("mp4");
|
|
|
|
|
|
|
|
|
|
|
|
ejectAction = new KAction(i18n("Eject"),0,
|
|
|
|
ejectAction = new TDEAction(i18n("Eject"),0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionEject()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionEject()),
|
|
|
|
actionCollection() , "Eject");
|
|
|
|
actionCollection() , "Eject");
|
|
|
|
ejectAction->setIcon("player_eject");
|
|
|
|
ejectAction->setIcon("player_eject");
|
|
|
@ -298,19 +298,19 @@ void k9Copy::setupActions() {
|
|
|
|
m_actions["eject"]=ejectAction;
|
|
|
|
m_actions["eject"]=ejectAction;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
backupAction= new KRadioAction(i18n("DVD Backup"),0,
|
|
|
|
backupAction= new TDERadioAction(i18n("DVD Backup"),0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionBackup()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionBackup()),
|
|
|
|
actionCollection(), "backup");
|
|
|
|
actionCollection(), "backup");
|
|
|
|
backupAction->setExclusiveGroup("mode");
|
|
|
|
backupAction->setExclusiveGroup("mode");
|
|
|
|
m_actions["backup"]=backupAction;
|
|
|
|
m_actions["backup"]=backupAction;
|
|
|
|
|
|
|
|
|
|
|
|
authorAction= new KRadioAction(i18n("DVD Author"),0,
|
|
|
|
authorAction= new TDERadioAction(i18n("DVD Author"),0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionAuthor()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionAuthor()),
|
|
|
|
actionCollection(), "author");
|
|
|
|
actionCollection(), "author");
|
|
|
|
authorAction->setExclusiveGroup("mode");
|
|
|
|
authorAction->setExclusiveGroup("mode");
|
|
|
|
m_actions["author"]=authorAction;
|
|
|
|
m_actions["author"]=authorAction;
|
|
|
|
|
|
|
|
|
|
|
|
m_actions["create"]= new KAction(i18n("Create DVD"),0,
|
|
|
|
m_actions["create"]= new TDEAction(i18n("Create DVD"),0,
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionCreate()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(ActionCreate()),
|
|
|
|
actionCollection(), "Create");
|
|
|
|
actionCollection(), "Create");
|
|
|
|
m_actions["create"]->setIcon("author");
|
|
|
|
m_actions["create"]->setIcon("author");
|
|
|
|