From 96eb89ccf6579e7573dcdd6a031997005b4798e1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 23:54:11 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- k9author/k9menu.cpp | 12 ++++++------ k9author/k9newdvd.cpp | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'k9author') diff --git a/k9author/k9menu.cpp b/k9author/k9menu.cpp index ea9c622..c91ca5f 100644 --- a/k9author/k9menu.cpp +++ b/k9author/k9menu.cpp @@ -102,11 +102,11 @@ void k9Menu::createMenus(TQDomElement *_rootNode) { pixhi.setMask(mask); //save menu image - TQString bgFileName=m_workDir+KApplication::randomString(8)+".jpg"; - TQString hiFileName=m_workDir+KApplication::randomString(8)+".png"; - TQString m2vFileName= m_workDir+KApplication::randomString(8)+".m2v"; - TQString mpaFileName= m_workDir+KApplication::randomString(8)+".m2v"; - TQString mpgFileName= m_workDir+KApplication::randomString(8)+".mpg"; + TQString bgFileName=m_workDir+TDEApplication::randomString(8)+".jpg"; + TQString hiFileName=m_workDir+TDEApplication::randomString(8)+".png"; + TQString m2vFileName= m_workDir+TDEApplication::randomString(8)+".m2v"; + TQString mpaFileName= m_workDir+TDEApplication::randomString(8)+".m2v"; + TQString mpgFileName= m_workDir+TDEApplication::randomString(8)+".mpg"; pixbg.save(bgFileName,"JPEG",-1); pixhi.save(hiFileName,"PNG",-1); @@ -210,7 +210,7 @@ void k9Menu::spumux(const TQString &_hiFileName,const TQString &_mpgFileName) { i++; } - TQString spuFileName(m_workDir + KApplication::randomString(8)+ ".xml"); + TQString spuFileName(m_workDir + TDEApplication::randomString(8)+ ".xml"); TQFile file( spuFileName ); if ( file.open( IO_WriteOnly ) ) { TQTextStream stream( &file ); diff --git a/k9author/k9newdvd.cpp b/k9author/k9newdvd.cpp index 454099e..013e02e 100644 --- a/k9author/k9newdvd.cpp +++ b/k9author/k9newdvd.cpp @@ -80,7 +80,7 @@ void k9NewDVD::createXML() { m_rootMenu->setWorkDir(m_workDir); - TQString menuFileName=m_workDir+KApplication::randomString(8)+".mpg"; + TQString menuFileName=m_workDir+TDEApplication::randomString(8)+".mpg"; m_rootMenu->setMenuFileName(menuFileName); m_xml=new TQDomDocument(); @@ -110,7 +110,7 @@ void k9NewDVD::createXML() { m_cancel=m_processList->getCancel(); bool error=false; if (!m_cancel) { - TQString dvdAuthor(m_workDir+"/"+KApplication::randomString(8)+".xml"); + TQString dvdAuthor(m_workDir+"/"+TDEApplication::randomString(8)+".xml"); TQFile file( dvdAuthor); file.open(IO_WriteOnly); @@ -154,7 +154,7 @@ void k9NewDVD::addTitles (TQDomElement &_root) { TQDomElement pgc; k9Menu *menu=title->getMenu(); menu->setWorkDir(m_workDir); - TQString menuFileName=m_workDir+KApplication::randomString(8)+".mpg"; + TQString menuFileName=m_workDir+TDEApplication::randomString(8)+".mpg"; m_tmpFiles << menuFileName, menu->setMenuFileName(menuFileName); m_processList->addProgress(i18n("Creating menu for title %1").arg(title->getNum()+1)); @@ -225,7 +225,7 @@ void k9NewDVD::createMencoderCmd(TQString &_cmd,TQString &_chapters, k9AviFile * } } while (!bEnd); - TQString fileName= m_workDir + KApplication::randomString(8)+".mpeg"; + TQString fileName= m_workDir + TDEApplication::randomString(8)+".mpeg"; TQString t1=_aviFile->getStart().toString("hh:mm:ss.zzz"); int length=_aviFile->getStart().msecsTo(end); TQTime l; -- cgit v1.2.1