diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/k9copy.cpp | 66 | ||||
-rw-r--r-- | src/k9main.cpp | 16 | ||||
-rw-r--r-- | src/k9settings.cpp | 4 | ||||
-rw-r--r-- | src/kviewmpeg2.cpp | 10 |
4 files changed, 48 insertions, 48 deletions
diff --git a/src/k9copy.cpp b/src/k9copy.cpp index 7fe8849..273a90d 100644 --- a/src/k9copy.cpp +++ b/src/k9copy.cpp @@ -129,8 +129,8 @@ void k9Copy::createCopyWindows() { m_previewAcc=addToolWindow(m_mp2,KDockWidget::DockRight,getMainDockWidget(),0,i18n("Preview"),i18n("Preview")); m_ToolViews.append(m_previewAcc); - connect(m_k9Main,TQT_SIGNAL(showPreview( k9DVD*, k9DVDTitle*,int )),m_mp2,TQT_SLOT(open( k9DVD*, k9DVDTitle*,int ))); - connect(m_k9Main,TQT_SIGNAL(stopPreview()),m_mp2,TQT_SLOT(bStopClick())); + connect(m_k9Main,TQ_SIGNAL(showPreview( k9DVD*, k9DVDTitle*,int )),m_mp2,TQ_SLOT(open( k9DVD*, k9DVDTitle*,int ))); + connect(m_k9Main,TQ_SIGNAL(stopPreview()),m_mp2,TQ_SLOT(bStopClick())); m_factors =new k9TitleFactor( this); m_factors->setUseDvdAuthor(m_useDvdAuthor); @@ -138,8 +138,8 @@ void k9Copy::createCopyWindows() { acc=addToolWindow(m_factors,KDockWidget::DockBottom,getMainDockWidget(),10,i18n("Shrink Factor"),i18n("Shrink Factor")); m_ToolViews.append(acc); - connect(m_k9Main,TQT_SIGNAL(SelectionChanged( k9DVD*,bool )),m_factors,TQT_SLOT(SelectionChanged( k9DVD*,bool ))); - connect(m_k9Main,TQT_SIGNAL(changedTitle( k9DVDTitle* )),m_factors,TQT_SLOT(changedTitle( k9DVDTitle* ))); + connect(m_k9Main,TQ_SIGNAL(SelectionChanged( k9DVD*,bool )),m_factors,TQ_SLOT(SelectionChanged( k9DVD*,bool ))); + connect(m_k9Main,TQ_SIGNAL(changedTitle( k9DVDTitle* )),m_factors,TQ_SLOT(changedTitle( k9DVDTitle* ))); KDockWidget *dw=dockManager->findWidgetParentDock (m_factors); dw->setForcedFixedHeight(h); @@ -148,10 +148,10 @@ void k9Copy::createCopyWindows() { // allow the view to change the statusbar and caption - connect(m_k9Main, TQT_SIGNAL(changeStatusbar(const TQString&,int )), - this, TQT_SLOT(changeStatusbar(const TQString&,int))); - connect(m_k9Main, TQT_SIGNAL(changeCaption(const TQString&)), - this, TQT_SLOT(changeCaption(const TQString&))); + connect(m_k9Main, TQ_SIGNAL(changeStatusbar(const TQString&,int )), + this, TQ_SLOT(changeStatusbar(const TQString&,int))); + connect(m_k9Main, TQ_SIGNAL(changeCaption(const TQString&)), + this, TQ_SLOT(changeCaption(const TQString&))); setAutoSaveSettings(); KSimpleConfig settings("K9Copy"); @@ -195,8 +195,8 @@ void k9Copy::createImportWindows() { acc=addToolWindow(m_menuEdit, KDockWidget::DockRight, getMainDockWidget(),20,i18n("Edit menu"),i18n("Edit Menu")); m_ToolViews.append(acc); - connect (m_k9Import,TQT_SIGNAL(titleSelected(k9Title*)),m_menuEdit,TQT_SLOT(titleSelected(k9Title*))); - connect (m_k9Import,TQT_SIGNAL(rootSelected(k9NewDVD*)),m_menuEdit,TQT_SLOT(rootSelected(k9NewDVD*))); + connect (m_k9Import,TQ_SIGNAL(titleSelected(k9Title*)),m_menuEdit,TQ_SLOT(titleSelected(k9Title*))); + connect (m_k9Import,TQ_SIGNAL(rootSelected(k9NewDVD*)),m_menuEdit,TQ_SLOT(rootSelected(k9NewDVD*))); m_k9Import->setMenuEdit(m_menuEdit); m_newTitle=new k9NewTitle(this); @@ -211,16 +211,16 @@ void k9Copy::createImportWindows() { m_chapterEdit->setIcon(SmallIcon("title")); acc=addToolWindow(m_chapterEdit, KDockWidget::DockBottom, getMainDockWidget(),20,i18n("Chapter properties"),i18n("Chapter properties")); m_ToolViews.append(acc); - connect(m_k9Import,TQT_SIGNAL(aviFileSelected(k9AviFile*)),m_chapterEdit,TQT_SLOT(setAviFile(k9AviFile*))); + connect(m_k9Import,TQ_SIGNAL(aviFileSelected(k9AviFile*)),m_chapterEdit,TQ_SLOT(setAviFile(k9AviFile*))); // allow the view to change the statusbar and caption /* - connect(m_k9Main, TQT_SIGNAL(changeStatusbar(const TQString&,int )), - this, TQT_SLOT(changeStatusbar(const TQString&,int))); - connect(m_k9Main, TQT_SIGNAL(changeCaption(const TQString&)), - this, TQT_SLOT(changeCaption(const TQString&))); + connect(m_k9Main, TQ_SIGNAL(changeStatusbar(const TQString&,int )), + this, TQ_SLOT(changeStatusbar(const TQString&,int))); + connect(m_k9Main, TQ_SIGNAL(changeCaption(const TQString&)), + this, TQ_SLOT(changeCaption(const TQString&))); */ setAutoSaveSettings(); KSimpleConfig settings("K9Copy"); @@ -251,18 +251,18 @@ bool k9Copy::queryClose ( ) { void k9Copy::setupActions() { - 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()); + m_actions["open"]=KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection()); + m_actions["quit"]=KStdAction::quit(this, TQ_SLOT(quit()), actionCollection()); + m_actions["preferences"]=KStdAction::preferences(this,TQ_SLOT(preferences()),actionCollection()); + KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()), actionCollection()); setStandardToolBarMenuEnabled(TRUE); createStandardStatusBarAction(); PlayTitleAction = new TDEAction(i18n("Play title"), 0, - this, TQT_SLOT(ActionPlayTitle()), + this, TQ_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, - this, TQT_SLOT(ActionCopy()), + this, TQ_SLOT(ActionCopy()), actionCollection(), "Copy"); m_actions["copy"]=CopyAction; CopyAction->setIcon("dvdcopy"); mkMpeg2Action = new TDEAction(i18n("Extract MPEG2"),0, - this, TQT_SLOT(ActionMpeg2()), + this, TQ_SLOT(ActionMpeg2()), actionCollection(),"MakeMPEG2"); m_actions["mp2"]=mkMpeg2Action; mkMpeg2Action->setIcon("mpeg"); mkMP4Action = new TDEAction(i18n("Create MPEG-4"),0, - this, TQT_SLOT(ActionMP4()), + this, TQ_SLOT(ActionMP4()), actionCollection(),"MakeMPEG4"); m_actions["mp4"]=mkMP4Action; mkMP4Action->setIcon("mp4"); ejectAction = new TDEAction(i18n("Eject"),0, - this, TQT_SLOT(ActionEject()), + this, TQ_SLOT(ActionEject()), actionCollection() , "Eject"); ejectAction->setIcon("player_eject"); @@ -300,19 +300,19 @@ void k9Copy::setupActions() { backupAction= new TDERadioAction(i18n("DVD Backup"),0, - this, TQT_SLOT(ActionBackup()), + this, TQ_SLOT(ActionBackup()), actionCollection(), "backup"); backupAction->setExclusiveGroup("mode"); m_actions["backup"]=backupAction; authorAction= new TDERadioAction(i18n("DVD Author"),0, - this, TQT_SLOT(ActionAuthor()), + this, TQ_SLOT(ActionAuthor()), actionCollection(), "author"); authorAction->setExclusiveGroup("mode"); m_actions["author"]=authorAction; m_actions["create"]= new TDEAction(i18n("Create DVD"),0, - this, TQT_SLOT(ActionCreate()), + this, TQ_SLOT(ActionCreate()), actionCollection(), "Create"); m_actions["create"]->setIcon("author"); @@ -354,7 +354,7 @@ void k9Copy::optionsConfigureToolbars() { // use the standard toolbar editor saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup()); KEditToolbar dlg(factory()); - connect(&dlg,TQT_SIGNAL(newToolbarConfig()),this,TQT_SLOT(newToolbarConfig())); + connect(&dlg,TQ_SIGNAL(newToolbarConfig()),this,TQ_SLOT(newToolbarConfig())); dlg.exec(); } @@ -375,8 +375,8 @@ void k9Copy::fileOpen() { void k9Copy::addMp4TitleOptions() { m_mp4=new k9MP4Title(this); m_ToolViews.append(addToolWindow(m_mp4,KDockWidget::DockBottom,getMainDockWidget(),10,i18n("MPEG4 Encoding options"),i18n("MPEG4 Encoding Options"))); - connect(m_k9Main,TQT_SIGNAL(changedTitle( k9DVDTitle* )),m_mp4,TQT_SLOT(titleChanged( k9DVDTitle* ))); - connect(m_k9Main,TQT_SIGNAL(SelectionChanged( k9DVD*,bool )),m_mp4,TQT_SLOT(selectionChanged( k9DVD*,bool ))); + connect(m_k9Main,TQ_SIGNAL(changedTitle( k9DVDTitle* )),m_mp4,TQ_SLOT(titleChanged( k9DVDTitle* ))); + connect(m_k9Main,TQ_SIGNAL(SelectionChanged( k9DVD*,bool )),m_mp4,TQ_SLOT(selectionChanged( k9DVD*,bool ))); } @@ -399,8 +399,8 @@ void k9Copy::preferences() { m_previewAcc=addToolWindow(m_mp2,KDockWidget::DockRight,getMainDockWidget(),0,i18n("Preview"),i18n("Preview")); m_ToolViews.append(m_previewAcc); //kViewMPEG2 * v=(kViewMPEG2*) m_mp2; - connect(m_k9Main,TQT_SIGNAL(showPreview( k9DVD*, k9DVDTitle*,int )),m_mp2,TQT_SLOT(open( k9DVD*, k9DVDTitle*,int ))); - connect(m_k9Main,TQT_SIGNAL(stopPreview()),m_mp2,TQT_SLOT(bStopClick())); + connect(m_k9Main,TQ_SIGNAL(showPreview( k9DVD*, k9DVDTitle*,int )),m_mp2,TQ_SLOT(open( k9DVD*, k9DVDTitle*,int ))); + connect(m_k9Main,TQ_SIGNAL(stopPreview()),m_mp2,TQ_SLOT(bStopClick())); m_mp4->load(); } diff --git a/src/k9main.cpp b/src/k9main.cpp index 77dfc10..0167945 100644 --- a/src/k9main.cpp +++ b/src/k9main.cpp @@ -110,15 +110,15 @@ k9Main::k9Main(TQWidget* parent, const char* name, k9CdDrives *_drives) listView1->setDefaultRenameAction(TQListView::Accept); // TDEStandardDirs kd; m_prefOutput=locateLocal("tmp","k9copy/",true); //kd.findResource("tmp",""); - connect(drives,TQT_SIGNAL(deviceAdded( k9CdDrive*)),this,TQT_SLOT(deviceAdded( k9CdDrive* ))); - connect(drives,TQT_SIGNAL(deviceRemoved( k9CdDrive*)),this,TQT_SLOT(deviceRemoved( k9CdDrive* ))); + connect(drives,TQ_SIGNAL(deviceAdded( k9CdDrive*)),this,TQ_SLOT(deviceAdded( k9CdDrive* ))); + connect(drives,TQ_SIGNAL(deviceRemoved( k9CdDrive*)),this,TQ_SLOT(deviceRemoved( k9CdDrive* ))); readSettings(); bInputOpen->setPixmap(SmallIcon("document-open")); bInputOpenDir->setPixmap(SmallIcon("folder_open")); emit SelectionChanged(NULL,true); m_update=new k9UpdateFactor(this,""); - connect(m_update,TQT_SIGNAL(updateFactor_internal()),this,TQT_SLOT(updateFactor_internal())); + connect(m_update,TQ_SIGNAL(updateFactor_internal()),this,TQ_SLOT(updateFactor_internal())); } @@ -532,9 +532,9 @@ void k9Main::Open() k9DVDTitle * l_track; TQString t; TQTime h; - connect(listView1,TQT_SIGNAL(itemRenamed(TQListViewItem*,int)),this,TQT_SLOT(itemRenamed(TQListViewItem *,int))); - connect(listView1,TQT_SIGNAL(expanded( TQListViewItem*)),this,TQT_SLOT(expanded( TQListViewItem* ))); - connect(listView1,TQT_SIGNAL(collapsed( TQListViewItem*)),this,TQT_SLOT(collapsed( TQListViewItem* ))); + connect(listView1,TQ_SIGNAL(itemRenamed(TQListViewItem*,int)),this,TQ_SLOT(itemRenamed(TQListViewItem *,int))); + connect(listView1,TQ_SIGNAL(expanded( TQListViewItem*)),this,TQ_SLOT(expanded( TQListViewItem* ))); + connect(listView1,TQ_SIGNAL(collapsed( TQListViewItem*)),this,TQ_SLOT(collapsed( TQListViewItem* ))); closeDVD(); TQString sDevice=getDevice(cbInputDev); @@ -1414,8 +1414,8 @@ long k9Main::getFreeSpace(const TQString & _path) KDiskFreeSp *FreeSp=new KDiskFreeSp(); ; - connect(FreeSp,TQT_SIGNAL(foundMountPoint (const TQString &, unsigned long , unsigned long , unsigned long )),this,TQT_SLOT(foundMountPoint (const TQString &, unsigned long , unsigned long , unsigned long ))); - connect(FreeSp,TQT_SIGNAL(done ( )),this,TQT_SLOT(fspDone ())); + connect(FreeSp,TQ_SIGNAL(foundMountPoint (const TQString &, unsigned long , unsigned long , unsigned long )),this,TQ_SLOT(foundMountPoint (const TQString &, unsigned long , unsigned long , unsigned long ))); + connect(FreeSp,TQ_SIGNAL(done ( )),this,TQ_SLOT(fspDone ())); TQString mountPoint = TDEIO::findPathMountPoint( _path ); FreeSp->readDF(mountPoint); do diff --git a/src/k9settings.cpp b/src/k9settings.cpp index e79c356..83fd37b 100644 --- a/src/k9settings.cpp +++ b/src/k9settings.cpp @@ -66,8 +66,8 @@ k9settings::k9settings(TQWidget *parent,const TQString &caption): KDialogBase ( grid->addWidget(m_prefAuthor,0,0); - connect(this, TQT_SIGNAL(okClicked()), TQT_SLOT(slotOkClicked())); - connect(this, TQT_SIGNAL(applyClicked()), TQT_SLOT(slotApplyClicked())); + connect(this, TQ_SIGNAL(okClicked()), TQ_SLOT(slotOkClicked())); + connect(this, TQ_SIGNAL(applyClicked()), TQ_SLOT(slotApplyClicked())); } void k9settings::slotOkClicked() { diff --git a/src/kviewmpeg2.cpp b/src/kviewmpeg2.cpp index 7f369a1..b0946dc 100644 --- a/src/kviewmpeg2.cpp +++ b/src/kviewmpeg2.cpp @@ -82,9 +82,9 @@ kViewMPEG2::kViewMPEG2() { m_layout=NULL; bPlay->setPixmap(SmallIcon("media-playback-start")); bStop->setPixmap(SmallIcon("media-playback-stop")); - connect(&m_player , TQT_SIGNAL(setPosition(uint32_t)), this, TQT_SLOT(setPosition(uint32_t))); - connect(&m_player , TQT_SIGNAL(setMax(uint32_t)), this, TQT_SLOT(setMax(uint32_t))); - connect(&m_player , TQT_SIGNAL(setMin(uint32_t)), this, TQT_SLOT(setMin(uint32_t))); + connect(&m_player , TQ_SIGNAL(setPosition(uint32_t)), this, TQ_SLOT(setPosition(uint32_t))); + connect(&m_player , TQ_SIGNAL(setMax(uint32_t)), this, TQ_SLOT(setMax(uint32_t))); + connect(&m_player , TQ_SIGNAL(setMin(uint32_t)), this, TQ_SLOT(setMin(uint32_t))); lockSlider=false; stopped=true; @@ -103,7 +103,7 @@ kViewMPEG2::kViewMPEG2() { } m_player.getDecoder()->setUseGL(m_prefUseGL); if (m_prefUseGL) { - connect(m_player.getDecoder() , TQT_SIGNAL(ppmReady(uchar *,int,int,int)), this, TQT_SLOT(drawppm(uchar *,int,int,int))); + connect(m_player.getDecoder() , TQ_SIGNAL(ppmReady(uchar *,int,int,int)), this, TQ_SLOT(drawppm(uchar *,int,int,int))); m_GLwidget= k9GLWidget::createWidget(label); m_widget=NULL; @@ -115,7 +115,7 @@ kViewMPEG2::kViewMPEG2() { config.save(); } else { - connect(m_player.getDecoder() , TQT_SIGNAL(pixmapReady(TQImage *)), this, TQT_SLOT(drawPixmap(TQImage *))); + connect(m_player.getDecoder() , TQ_SIGNAL(pixmapReady(TQImage *)), this, TQ_SLOT(drawPixmap(TQImage *))); m_widget=new k9Widget(label); m_layout->addWidget(m_widget,0,0); |