summaryrefslogtreecommitdiffstats
path: root/k9author/k9menuedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'k9author/k9menuedit.cpp')
-rw-r--r--k9author/k9menuedit.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/k9author/k9menuedit.cpp b/k9author/k9menuedit.cpp
index 1c8365c..ee94b3d 100644
--- a/k9author/k9menuedit.cpp
+++ b/k9author/k9menuedit.cpp
@@ -242,7 +242,7 @@ void k9MenuEdit::titleSelected(k9Title *_title) {
disconnect (this,TQT_SIGNAL(endScriptChanged(const TQString&)),0,0);
cbEnd->setEnabled(true);
m_menuEditor->clearSelection();
- lTitle->setText(i18n("Title %1 Menu").tqarg(_title->getNum()+1));
+ lTitle->setText(i18n("Title %1 Menu").arg(_title->getNum()+1));
setCanvas(_title->getMenu()->getCanvas());
m_menuType=TITLEMENU;
cbStart->clear();
@@ -266,8 +266,8 @@ void k9MenuEdit::titleSelected(k9Title *_title) {
k9NewDVD *newDVD=(k9NewDVD*)_title->parent() ;
k9NewDVDItems *items=newDVD->getTitles();
for (k9Title *title=items->first();title;title=items->next()) {
- cbEnd->insertItem(i18n("Play Title %1").tqarg(title->getNum()+1));
- TQString script=TQString("g6=%1; call vmgm menu;" ).tqarg(title->getNum()+1);
+ cbEnd->insertItem(i18n("Play Title %1").arg(title->getNum()+1));
+ TQString script=TQString("g6=%1; call vmgm menu;" ).arg(title->getNum()+1);
m_endScripts << script;
}
for (int i=0;i<m_endScripts.count();i++ ){
@@ -292,9 +292,9 @@ void k9MenuEdit::rootSelected(k9NewDVD *_newDVD) {
m_startScripts << "";
k9NewDVDItems *items=_newDVD->getTitles();
for (k9Title *title=items->first();title;title=items->next()) {
- cbStart->insertItem(i18n("Play Title %1").tqarg(title->getNum()+1));
- // TQString script=TQString("if (g5==0) {g5=1; jump title %1;}" ).tqarg(title->getNum()+1);
- TQString script=TQString("g6=%1;" ).tqarg(title->getNum()+1);
+ cbStart->insertItem(i18n("Play Title %1").arg(title->getNum()+1));
+ // TQString script=TQString("if (g5==0) {g5=1; jump title %1;}" ).arg(title->getNum()+1);
+ TQString script=TQString("g6=%1;" ).arg(title->getNum()+1);
m_startScripts << script;
if (script==_newDVD->getRootMenu()->getStartScript())
cbStart->setCurrentItem(cbStart->count()-1);