@ -56,7 +56,7 @@ double View::xmin = 0;
double View : : xmax = 0 ;
double View : : xmax = 0 ;
View : : View ( bool const r , bool & mo , KPopupMenu * p , TQWidget * parent , const char * name ) : DCOPObject ( " View " ) , TQWidget ( parent , name , WStaticContents ) , buffer ( width ( ) , height ( ) ) , m_popupmenu ( p ) , m_modified ( mo ) , m_readonly ( r ) , m_dcop_client ( K Application: : kApplication ( ) - > dcopClient ( ) )
View : : View ( bool const r , bool & mo , KPopupMenu * p , TQWidget * parent , const char * name ) : DCOPObject ( " View " ) , TQWidget ( parent , name , WStaticContents ) , buffer ( width ( ) , height ( ) ) , m_popupmenu ( p ) , m_modified ( mo ) , m_readonly ( r ) , m_dcop_client ( TDE Application: : kApplication ( ) - > dcopClient ( ) )
{
{
csmode = csparam = - 1 ;
csmode = csparam = - 1 ;
cstype = 0 ;
cstype = 0 ;
@ -346,7 +346,7 @@ void View::plotfkt(Ufkt *ufkt, TQPainter *pDC)
y = m_parser - > euler_method ( x , ufkt ) ;
y = m_parser - > euler_method ( x , ufkt ) ;
if ( int ( x * 100 ) % 2 = = 0 )
if ( int ( x * 100 ) % 2 = = 0 )
{
{
K Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
TDE Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
increaseProgressBar ( ) ;
increaseProgressBar ( ) ;
}
}
break ;
break ;
@ -1283,7 +1283,7 @@ void View::findMinMaxValue(Ufkt *ufkt, char p_mode, bool minimum, double &dmin,
y = m_parser - > euler_method ( x , ufkt ) ;
y = m_parser - > euler_method ( x , ufkt ) ;
if ( int ( x * 100 ) % 2 = = 0 )
if ( int ( x * 100 ) % 2 = = 0 )
{
{
K Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
TDE Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
increaseProgressBar ( ) ;
increaseProgressBar ( ) ;
}
}
break ;
break ;
@ -1416,7 +1416,7 @@ void View::getYValue(Ufkt *ufkt, char p_mode, double x, double &y, const TQStri
y = m_parser - > euler_method ( x , ufkt ) ;
y = m_parser - > euler_method ( x , ufkt ) ;
if ( int ( x * 100 ) % 2 = = 0 )
if ( int ( x * 100 ) % 2 = = 0 )
{
{
K Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
TDE Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
increaseProgressBar ( ) ;
increaseProgressBar ( ) ;
}
}
@ -1716,7 +1716,7 @@ void View::areaUnderGraph( Ufkt *ufkt, char const p_mode, double &dmin, double
y = m_parser - > euler_method ( x , ufkt ) ;
y = m_parser - > euler_method ( x , ufkt ) ;
if ( int ( x * 100 ) % 2 = = 0 )
if ( int ( x * 100 ) % 2 = = 0 )
{
{
K Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
TDE Application: : kApplication ( ) - > processEvents ( ) ; //makes the program usable when drawing a complicated integral function
increaseProgressBar ( ) ;
increaseProgressBar ( ) ;
}
}
break ;
break ;