summaryrefslogtreecommitdiffstats
path: root/kimgio
diff options
context:
space:
mode:
Diffstat (limited to 'kimgio')
-rw-r--r--kimgio/rgb.cpp2
-rw-r--r--kimgio/xcf.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kimgio/rgb.cpp b/kimgio/rgb.cpp
index ae2439083..cf1f2331a 100644
--- a/kimgio/rgb.cpp
+++ b/kimgio/rgb.cpp
@@ -310,7 +310,7 @@ void RLEData::write(TQDataStream& s)
bool RLEData::operator<(const RLEData& b) const
{
uchar ac, bc;
- for (unsigned i = 0; i < QMIN(size(), b.size()); i++) {
+ for (unsigned i = 0; i < TQMIN(size(), b.size()); i++) {
ac = at(i);
bc = b[i];
if (ac != bc)
diff --git a/kimgio/xcf.cpp b/kimgio/xcf.cpp
index 252b3e036..1c0bb79d1 100644
--- a/kimgio/xcf.cpp
+++ b/kimgio/xcf.cpp
@@ -116,7 +116,7 @@ XCFImageFormat::XCFImageFormat()
inline
int XCFImageFormat::add_lut( int a, int b ) {
- return QMIN( a + b, 255 );
+ return TQMIN( a + b, 255 );
}
void XCFImageFormat::readXCF(TQImageIO *io)