summaryrefslogtreecommitdiffstats
path: root/k9author
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:54:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:54:11 -0600
commit96eb89ccf6579e7573dcdd6a031997005b4798e1 (patch)
tree61ea63b675d6b8b0de7b7d129b5e188b1340d10d /k9author
parent5a6cd8f08ce0415f0b76460689ef32a71cb0530f (diff)
downloadk9copy-96eb89ccf6579e7573dcdd6a031997005b4798e1.tar.gz
k9copy-96eb89ccf6579e7573dcdd6a031997005b4798e1.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'k9author')
-rw-r--r--k9author/k9menu.cpp12
-rw-r--r--k9author/k9newdvd.cpp8
2 files changed, 10 insertions, 10 deletions
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;