summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqbitmap.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
commitd296f1d337dabfeae5191955fdadb874965dbbe9 (patch)
tree1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/src/kernel/tqbitmap.cpp
parenteaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff)
downloadexperimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz
experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip
rename the following methods:
tqparent parent tqmask mask
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqbitmap.cpp')
-rw-r--r--tqtinterface/qt4/src/kernel/tqbitmap.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqbitmap.cpp b/tqtinterface/qt4/src/kernel/tqbitmap.cpp
index 3e2ee39..e44b37e 100644
--- a/tqtinterface/qt4/src/kernel/tqbitmap.cpp
+++ b/tqtinterface/qt4/src/kernel/tqbitmap.cpp
@@ -128,8 +128,8 @@ void TQBitmap::resize_helper(const QSize s)
}
// Mask too....
- if (!mask().isNull()) {
- TQBitmap m = mask();
+ if (!QBitmap::mask().isNull()) {
+ TQBitmap m = QBitmap::mask();
if (m.size() != QSize(w,h)) {
TQBitmap pmr(QSize(w, h));
pmr.fill(Qt::color0);
@@ -153,8 +153,8 @@ void TQBitmap::resize_helper(const QSize s)
}
// This is the only correct way to return a pointer to an object returned by another function
-const TQBitmap *TQBitmap::tqmask() const {
- const QBitmap& ptrRef = mask();
+const TQBitmap *TQBitmap::mask() const {
+ const QBitmap& ptrRef = QBitmap::mask();
if (ptrRef.isNull() == true) {
return 0;
}
@@ -196,7 +196,7 @@ TQBitmap &TQBitmap::operator=( const TQImage &image )
using the TQColor objects \c TQt::color0 and \c TQt::color1.
Painting with \c color0 sets the bitmap bits to 0, and painting
with \c color1 sets the bits to 1. For a bitmap, 0-bits indicate
- background (or transtqparent) and 1-bits indicate foreground (or
+ background (or transparent) and 1-bits indicate foreground (or
opaque). Using the \c black and \c white TQColor objects make no
sense because the TQColor::pixel() value is not necessarily 0 for
black and 1 for white.