summaryrefslogtreecommitdiffstats
path: root/ksnapshot/ksnapshot.h
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
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /ksnapshot/ksnapshot.h
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksnapshot/ksnapshot.h')
-rw-r--r--ksnapshot/ksnapshot.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ksnapshot/ksnapshot.h b/ksnapshot/ksnapshot.h
index 99f0d8c1..c0d5becc 100644
--- a/ksnapshot/ksnapshot.h
+++ b/ksnapshot/ksnapshot.h
@@ -26,8 +26,8 @@ class KSnapshotPreview : public TQLabel
TQ_OBJECT
public:
- KSnapshotPreview(TQWidget *tqparent, const char *name = 0)
- : TQLabel(tqparent, name)
+ KSnapshotPreview(TQWidget *parent, const char *name = 0)
+ : TQLabel(parent, name)
{
tqsetAlignment(AlignHCenter | AlignVCenter);
setCursor(TQCursor(TQt::PointingHandCursor));
@@ -40,13 +40,13 @@ class KSnapshotPreview : public TQLabel
// does unexpected things when painting directly onto the pixmap
TQPixmap pixmap(pm);
TQPixmap handle(15, 15);
- TQBitmap tqmask(15, 15, true);
+ TQBitmap mask(15, 15, true);
{
- TQPainter p(&tqmask);
+ TQPainter p(&mask);
tqstyle().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), tqpalette().active());
p.end();
- handle.setMask(tqmask);
+ handle.setMask(mask);
}
{
@@ -95,7 +95,7 @@ class KSnapshot : public KDialogBase, virtual public KSnapshotIface
TQ_OBJECT
public:
- KSnapshot(TQWidget *tqparent= 0, const char *name= 0, bool grabCurrent=false);
+ KSnapshot(TQWidget *parent= 0, const char *name= 0, bool grabCurrent=false);
~KSnapshot();
enum CaptureMode { FullScreen=0, WindowUnderCursor=1, Region=2, ChildWindow=3 };