summaryrefslogtreecommitdiffstats
path: root/src/k9copy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k9copy.cpp')
-rw-r--r--src/k9copy.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/k9copy.cpp b/src/k9copy.cpp
index b7ec0c0..7fe8849 100644
--- a/src/k9copy.cpp
+++ b/src/k9copy.cpp
@@ -122,7 +122,7 @@ void k9Copy::createCopyWindows() {
m_ToolViews.append(acc);
if (m_useXine) {
- m_mp2=new K9Mplayer(TQT_TQOBJECT(this));
+ m_mp2=new K9Mplayer(this);
} else
m_mp2=new kViewMPEG2();
@@ -251,18 +251,18 @@ bool k9Copy::queryClose ( ) {
void k9Copy::setupActions() {
- m_actions["open"]=KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(fileOpen()), actionCollection());
- m_actions["quit"]=KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(quit()), actionCollection());
- m_actions["preferences"]=KStdAction::preferences(TQT_TQOBJECT(this),TQT_SLOT(preferences()),actionCollection());
- KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection());
- KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection());
+ m_actions["open"]=KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
+ m_actions["quit"]=KStdAction::quit(this, TQT_SLOT(quit()), actionCollection());
+ m_actions["preferences"]=KStdAction::preferences(this,TQT_SLOT(preferences()),actionCollection());
+ KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection());
+ KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection());
setStandardToolBarMenuEnabled(TRUE);
createStandardStatusBarAction();
PlayTitleAction = new TDEAction(i18n("Play title"), 0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionPlayTitle()),
+ this, TQT_SLOT(ActionPlayTitle()),
actionCollection(), "PlayTitle");
m_actions["playtitle"]=PlayTitleAction;
@@ -271,28 +271,28 @@ void k9Copy::setupActions() {
PlayTitleAction->setIconSet(TQIconSet(img));
CopyAction = new TDEAction(i18n("Copy"), 0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionCopy()),
+ this, TQT_SLOT(ActionCopy()),
actionCollection(), "Copy");
m_actions["copy"]=CopyAction;
CopyAction->setIcon("dvdcopy");
mkMpeg2Action = new TDEAction(i18n("Extract MPEG2"),0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionMpeg2()),
+ this, TQT_SLOT(ActionMpeg2()),
actionCollection(),"MakeMPEG2");
m_actions["mp2"]=mkMpeg2Action;
mkMpeg2Action->setIcon("mpeg");
mkMP4Action = new TDEAction(i18n("Create MPEG-4"),0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionMP4()),
+ this, TQT_SLOT(ActionMP4()),
actionCollection(),"MakeMPEG4");
m_actions["mp4"]=mkMP4Action;
mkMP4Action->setIcon("mp4");
ejectAction = new TDEAction(i18n("Eject"),0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionEject()),
+ this, TQT_SLOT(ActionEject()),
actionCollection() , "Eject");
ejectAction->setIcon("player_eject");
@@ -300,19 +300,19 @@ void k9Copy::setupActions() {
backupAction= new TDERadioAction(i18n("DVD Backup"),0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionBackup()),
+ this, TQT_SLOT(ActionBackup()),
actionCollection(), "backup");
backupAction->setExclusiveGroup("mode");
m_actions["backup"]=backupAction;
authorAction= new TDERadioAction(i18n("DVD Author"),0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionAuthor()),
+ this, TQT_SLOT(ActionAuthor()),
actionCollection(), "author");
authorAction->setExclusiveGroup("mode");
m_actions["author"]=authorAction;
m_actions["create"]= new TDEAction(i18n("Create DVD"),0,
- TQT_TQOBJECT(this), TQT_SLOT(ActionCreate()),
+ this, TQT_SLOT(ActionCreate()),
actionCollection(), "Create");
m_actions["create"]->setIcon("author");
@@ -393,7 +393,7 @@ void k9Copy::preferences() {
m_ToolViews.removeRef(m_previewAcc);
if (m_useXine)
- m_mp2=new K9Mplayer(TQT_TQOBJECT(this));
+ m_mp2=new K9Mplayer(this);
else
m_mp2=new kViewMPEG2();
m_previewAcc=addToolWindow(m_mp2,KDockWidget::DockRight,getMainDockWidget(),0,i18n("Preview"),i18n("Preview"));