summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/printerdlgimpl.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
commit2bc1d72869b62af05ae4feafd878203b526da8c5 (patch)
tree2676903bb600bd9646644856e354940471ad84e2 /filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp
parent937b2991d8e78166eea904c80ad04d34607017a4 (diff)
downloadtdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz
tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp b/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp
index 9a842dfb..da11d799 100644
--- a/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp
+++ b/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp
@@ -61,8 +61,8 @@
#include "dictmanager.h"
-PrinterDlgImpl::PrinterDlgImpl(TQWidget* tqparent, SambaShare* share)
- : KcmPrinterDlg(tqparent,"sharedlgimpl")
+PrinterDlgImpl::PrinterDlgImpl(TQWidget* parent, SambaShare* share)
+ : KcmPrinterDlg(parent,"sharedlgimpl")
{
if (!share) {
kdWarning() << "PrinterDlgImpl::Constructor : share parameter is null!" << endl;
@@ -212,19 +212,19 @@ void PrinterDlgImpl::printersChkToggled(bool b)
p.drawPixmap(dist+dist/2,2*dist,pix2);
p.end();
- TQBitmap tqmask(w,h);
+ TQBitmap mask(w,h);
- tqmask.fill(TQt::black); // everything is transparent
+ mask.fill(TQt::black); // everything is transparent
- p.begin(&tqmask);
+ p.begin(&mask);
p.setRasterOp(TQt::OrROP);
- p.drawPixmap(dist+dist/2,0,*pix2.tqmask());
- p.drawPixmap(dist/2,dist,*pix2.tqmask());
- p.drawPixmap(dist+dist/2,2*dist,*pix2.tqmask());
+ p.drawPixmap(dist+dist/2,0,*pix2.mask());
+ p.drawPixmap(dist/2,dist,*pix2.mask());
+ p.drawPixmap(dist+dist/2,2*dist,*pix2.mask());
p.end();
- pix.setMask(tqmask);
+ pix.setMask(mask);
printerPixLbl->setPixmap(pix);
pixFrame->tqlayout()->setMargin( 2 );