summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_parameterlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/ext/kvi_parameterlist.cpp')
-rw-r--r--src/kvilib/ext/kvi_parameterlist.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kvilib/ext/kvi_parameterlist.cpp b/src/kvilib/ext/kvi_parameterlist.cpp
index 318cd3d1..9affcab3 100644
--- a/src/kvilib/ext/kvi_parameterlist.cpp
+++ b/src/kvilib/ext/kvi_parameterlist.cpp
@@ -166,7 +166,7 @@ unsigned int KviParameterList::getUInt(bool * bOk)
return 0;
}
-QRect KviParameterList::getRect(bool * bOk)
+TQRect KviParameterList::getRect(bool * bOk)
{
int val[4];
for(int i=0;i<4;i++)
@@ -176,21 +176,21 @@ QRect KviParameterList::getRect(bool * bOk)
if(!pszv)
{
if(bOk)*bOk = false;
- return QRect(); // invalid
+ return TQRect(); // invalid
}
bool mybOk;
val[i] = pszv->toInt(&mybOk);
if(!mybOk)
{
if(bOk)*bOk = false;
- return QRect(); // invalid
+ return TQRect(); // invalid
}
}
if(bOk)*bOk = true;
- return QRect(val[0],val[1],val[2],val[3]);
+ return TQRect(val[0],val[1],val[2],val[3]);
}
-QPoint KviParameterList::getPoint(bool * bOk)
+TQPoint KviParameterList::getPoint(bool * bOk)
{
int val[2];
for(int i=0;i<2;i++)
@@ -200,21 +200,21 @@ QPoint KviParameterList::getPoint(bool * bOk)
if(!pszv)
{
if(bOk)*bOk = false;
- return QPoint(); // invalid
+ return TQPoint(); // invalid
}
bool mybOk;
val[i] = pszv->toInt(&mybOk);
if(!mybOk)
{
if(bOk)*bOk = false;
- return QPoint(); // invalid
+ return TQPoint(); // invalid
}
}
if(bOk)*bOk = true;
- return QPoint(val[0],val[1]);
+ return TQPoint(val[0],val[1]);
}
-QSize KviParameterList::getSize(bool * bOk)
+TQSize KviParameterList::getSize(bool * bOk)
{
int val[2];
for(int i=0;i<2;i++)
@@ -224,18 +224,18 @@ QSize KviParameterList::getSize(bool * bOk)
if(!pszv)
{
if(bOk)*bOk = false;
- return QSize(); // invalid
+ return TQSize(); // invalid
}
bool mybOk;
val[i] = pszv->toInt(&mybOk);
if(!mybOk)
{
if(bOk)*bOk = false;
- return QSize(); // invalid
+ return TQSize(); // invalid
}
}
if(bOk)*bOk = true;
- return QSize(val[0],val[1]);
+ return TQSize(val[0],val[1]);
}
//#ifdef COMPILE_ON_WINDOWS