summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/printerdlgimpl.cpp
diff options
context:
space:
mode:
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 );