diff options
Diffstat (limited to 'k9author/k9menuedit.cpp')
-rw-r--r-- | k9author/k9menuedit.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/k9author/k9menuedit.cpp b/k9author/k9menuedit.cpp index 54a9a7a..f64bc93 100644 --- a/k9author/k9menuedit.cpp +++ b/k9author/k9menuedit.cpp @@ -43,7 +43,7 @@ k9MenuEdit::k9MenuEdit(TQWidget* parent, const char* name,TQCanvas *_canvas) m_canvas->resize(720,m_imageHeight); m_text=NULL; m_menuEditor->setMenu(this); - connect(m_menuEditor,TQT_SIGNAL(itemSelected()),this,TQT_SLOT(itemSelected())); + connect(m_menuEditor,TQ_SIGNAL(itemSelected()),this,TQ_SLOT(itemSelected())); cbPosTitle->setEnabled(false); } void k9MenuEdit::updateTextPos(const TQPoint &_point) { @@ -238,8 +238,8 @@ void k9MenuEdit::setCanvas(TQCanvas* _value) { } void k9MenuEdit::titleSelected(k9Title *_title) { - disconnect (this,TQT_SIGNAL(startScriptChanged(const TQString&)),0,0); - disconnect (this,TQT_SIGNAL(endScriptChanged(const TQString&)),0,0); + disconnect (this,TQ_SIGNAL(startScriptChanged(const TQString&)),0,0); + disconnect (this,TQ_SIGNAL(endScriptChanged(const TQString&)),0,0); cbEnd->setEnabled(true); m_menuEditor->clearSelection(); lTitle->setText(i18n("Title %1 Menu").arg(_title->getNum()+1)); @@ -257,7 +257,7 @@ void k9MenuEdit::titleSelected(k9Title *_title) { m_startScripts << "if (g1==0) {g1=1; jump title 1 chapter 1;}"; if (_title->getMenu()->getStartScript() !="") cbStart->setCurrentItem(cbStart->count()-1); - connect (this,TQT_SIGNAL(startScriptChanged(const TQString&)),_title->getMenu(),TQT_SLOT(setStartScript(const TQString&))); + connect (this,TQ_SIGNAL(startScriptChanged(const TQString&)),_title->getMenu(),TQ_SLOT(setStartScript(const TQString&))); cbEnd->insertItem(i18n("Play Root Menu")); m_endScripts << "g6=0; call vmgm menu;"; @@ -274,13 +274,13 @@ void k9MenuEdit::titleSelected(k9Title *_title) { if (_title->getMenu()->getEndScript()== *(m_endScripts.at(i))) cbEnd->setCurrentItem(i); } - connect (this,TQT_SIGNAL(endScriptChanged(const TQString&)),_title->getMenu(),TQT_SLOT(setEndScript(const TQString&))); + connect (this,TQ_SIGNAL(endScriptChanged(const TQString&)),_title->getMenu(),TQ_SLOT(setEndScript(const TQString&))); } void k9MenuEdit::rootSelected(k9NewDVD *_newDVD) { - disconnect (this,TQT_SIGNAL(startScriptChanged(const TQString&)),0,0); - disconnect (this,TQT_SIGNAL(endScriptChanged(const TQString&)),0,0); + disconnect (this,TQ_SIGNAL(startScriptChanged(const TQString&)),0,0); + disconnect (this,TQ_SIGNAL(endScriptChanged(const TQString&)),0,0); cbEnd->setEnabled(false); m_menuEditor->clearSelection(); lTitle->setText(i18n("Root Menu")); @@ -299,7 +299,7 @@ void k9MenuEdit::rootSelected(k9NewDVD *_newDVD) { if (script==_newDVD->getRootMenu()->getStartScript()) cbStart->setCurrentItem(cbStart->count()-1); } - connect (this,TQT_SIGNAL(startScriptChanged(const TQString&)),_newDVD->getRootMenu(),TQT_SLOT(setStartScript(const TQString&))); + connect (this,TQ_SIGNAL(startScriptChanged(const TQString&)),_newDVD->getRootMenu(),TQ_SLOT(setStartScript(const TQString&))); } void k9MenuEdit::bAddTextClick() { |