summaryrefslogtreecommitdiffstats
path: root/k9author/k9menu.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit5660db4e68c904cc2dd01888775483189cda7a10 (patch)
treef8bb487ab12519611d3ddca1839a03396e954c77 /k9author/k9menu.cpp
parent33e6166f7e62c479bad5d46ad240ea9704f848fd (diff)
downloadk9copy-5660db4e68c904cc2dd01888775483189cda7a10.tar.gz
k9copy-5660db4e68c904cc2dd01888775483189cda7a10.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);