summaryrefslogtreecommitdiffstats
path: root/kmplot/kmplot/keditparametric.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmplot/kmplot/keditparametric.cpp')
-rw-r--r--kmplot/kmplot/keditparametric.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmplot/kmplot/keditparametric.cpp b/kmplot/kmplot/keditparametric.cpp
index 67ee0421..332d93f9 100644
--- a/kmplot/kmplot/keditparametric.cpp
+++ b/kmplot/kmplot/keditparametric.cpp
@@ -22,7 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
-// Qt includes
+// TQt includes
#include <tqcheckbox.h>
// KDE includes
@@ -41,8 +41,8 @@
#include "xparser.h"
#include "View.h"
-KEditParametric::KEditParametric( XParser* parser, TQWidget* parent, const char* name ) :
- QEditParametric( parent, name ), m_parser(parser)
+KEditParametric::KEditParametric( XParser* parser, TQWidget* tqparent, const char* name ) :
+ QEditParametric( tqparent, name ), m_parser(parser)
{
connect( customMinRange, TQT_SIGNAL ( toggled(bool) ), this, TQT_SLOT( customMinRange_toggled(bool) ) );
connect( customMaxRange, TQT_SIGNAL ( toggled(bool) ), this, TQT_SLOT( customMaxRange_toggled(bool) ) );
@@ -103,7 +103,7 @@ void KEditParametric::setWidgets()
void KEditParametric::accept()
{
- if ( kLineEditXFunction->text().contains('y') != 0 || kLineEditYFunction->text().contains('y') != 0)
+ if ( kLineEditXFunction->text().tqcontains('y') != 0 || kLineEditYFunction->text().tqcontains('y') != 0)
{
KMessageBox::error( this, i18n( "Recursive function not allowed"));
kLineEditXFunction->setFocus();
@@ -116,7 +116,7 @@ void KEditParametric::accept()
{
TQString fname;
m_parser->fixFunctionName(fname, XParser::ParametricX, m_x_id);
- int const pos = fname.find('(');
+ int const pos = fname.tqfind('(');
kLineEditName->setText(fname.mid(1,pos-1));
}
@@ -308,7 +308,7 @@ void KEditParametric::splitEquation( const TQString equation, TQString &name, TQ
{
int start = 0;
if( equation[ 0 ] == 'x' || equation[ 0 ] == 'y' ) start++;
- int length = equation.find( '(' ) - start;
+ int length = equation.tqfind( '(' ) - start;
name = equation.mid( start, length );
expression = equation.section( '=', 1, 1 );