From 27edf28be2772229a7974a007313ea30d92c3ffd Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun/modules/winskin/waRegion.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'noatun/modules/winskin/waRegion.cpp') diff --git a/noatun/modules/winskin/waRegion.cpp b/noatun/modules/winskin/waRegion.cpp index 5f968b00..f76cdabb 100644 --- a/noatun/modules/winskin/waRegion.cpp +++ b/noatun/modules/winskin/waRegion.cpp @@ -31,14 +31,14 @@ WaRegion::WaRegion(TQString filename) { KSimpleConfig regionFile(filename, true); // Clear our variables by default - window_tqmask = 0; - shade_tqmask = 0; + window_mask = 0; + shade_mask = 0; // Make the new bitmaps, default window size - window_tqmask = new TQBitmap(WaSkinModel::instance()->getMapGeometry(_WA_MAPPING_MAIN).size(), true); - shade_tqmask = new TQBitmap(WaSkinModel::instance()->getMapGeometry(_WA_MAPPING_TITLE).size(), true); + window_mask = new TQBitmap(WaSkinModel::instance()->getMapGeometry(_WA_MAPPING_MAIN).size(), true); + shade_mask = new TQBitmap(WaSkinModel::instance()->getMapGeometry(_WA_MAPPING_TITLE).size(), true); - // Load the normal window tqmask data + // Load the normal window mask data regionFile.setGroup("Normal"); TQValueList num_points; @@ -53,22 +53,22 @@ WaRegion::WaRegion(TQString filename) { point_list = parseList(regionFile.readEntry(pointListNames[x])); } - // Now build the tqmask - buildPixmap(num_points, point_list, window_tqmask); + // Now build the mask + buildPixmap(num_points, point_list, window_mask); - // Load the windowshade tqmask data + // Load the windowshade mask data regionFile.setGroup("WindowShade"); num_points = parseList(regionFile.readEntry("NumPoints")); point_list = parseList(regionFile.readEntry("PointList")); - // Now build the tqmask - buildPixmap(num_points, point_list, shade_tqmask); + // Now build the mask + buildPixmap(num_points, point_list, shade_mask); } WaRegion::~WaRegion() { - delete window_tqmask; - delete shade_tqmask; + delete window_mask; + delete shade_mask; } void WaRegion::buildPixmap(const TQValueList &num_points_list, const TQValueList &points_list, TQBitmap *dest) { @@ -101,7 +101,7 @@ void WaRegion::buildPixmap(const TQValueList &num_points_list, const TQValu point_array.setPoint(i, x, y); } - // Now draw it as a filled polygon on the tqmask + // Now draw it as a filled polygon on the mask bmp.drawPolygon(point_array); } -- cgit v1.2.1