summaryrefslogtreecommitdiffstats
path: root/k9author/k9menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'k9author/k9menu.cpp')
-rw-r--r--k9author/k9menu.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/k9author/k9menu.cpp b/k9author/k9menu.cpp
index a911e97..82e1010 100644
--- a/k9author/k9menu.cpp
+++ b/k9author/k9menu.cpp
@@ -19,8 +19,8 @@
#include <tqdom.h>
#include "k9tools.h"
-k9Menu::k9Menu(TQObject *tqparent, const char *name)
- : TQObject(tqparent, name),m_format(PAL) {
+k9Menu::k9Menu(TQObject *parent, const char *name)
+ : TQObject(parent, name),m_format(PAL) {
m_buttons.setAutoDelete(false);
m_canvas=new TQCanvas(this);
TQPixmap pix(720,576);
@@ -79,10 +79,10 @@ void k9Menu::createMenus(TQDomElement *_rootNode) {
penhi.setWidth(lineWidth*2);
phi.setPen(penhi);
phi.setBrush(TQt::NoBrush);
- //create the hilite tqmask
- TQBitmap tqmask(720,height);
- tqmask.fill(TQt::color0);
- TQPainter pmk(&tqmask);
+ //create the hilite mask
+ TQBitmap mask(720,height);
+ mask.fill(TQt::color0);
+ TQPainter pmk(&mask);
TQPen penmk;
penmk.setColor(TQt::color1);
penmk.setWidth(lineWidth*2);
@@ -99,7 +99,7 @@ void k9Menu::createMenus(TQDomElement *_rootNode) {
pbg.end();
phi.end();
pmk.end();
- pixhi.setMask(tqmask);
+ pixhi.setMask(mask);
//save menu image
TQString bgFileName=m_workDir+KApplication::randomString(8)+".jpg";
@@ -117,7 +117,7 @@ void k9Menu::createMenus(TQDomElement *_rootNode) {
spumux(hiFileName,mpgFileName);
appendMenu(_rootNode);
-// tqmask.save(m_workDir+"/tqmask.bmp","BMP",-1);
+// mask.save(m_workDir+"/mask.bmp","BMP",-1);
TQFile::remove(bgFileName);
TQFile::remove(m2vFileName);