[Kalzium] KDE/kdeedu/kalzium/src

Carsten Niehaus cniehaus at gmx.de
Sun Jul 17 12:34:04 CEST 2005


SVN commit 435533 by cniehaus:

* Fix compilation: Martin: Is this fix ok?

CCMAIL: kalzium at kde.org


 M  +0 -1      kalziumtip.cpp  
 M  +1 -0      kalziumtip.h  
 M  +4 -1      pse.cpp  


--- trunk/KDE/kdeedu/kalzium/src/kalziumtip.cpp #435532:435533
@@ -51,7 +51,6 @@
 
 void KalziumTip::showTip( QPoint mouse, Element* element, int visibleWidth, int visibleHeight )
 {
-	kdDebug() << "showTip" << endl;
 	//QWidget *p = 0;
         //if ( dynamic_cast<QWidget*>( parent() ) )
         //        p = static_cast<QWidget*>( parent() );
--- trunk/KDE/kdeedu/kalzium/src/kalziumtip.h #435532:435533
@@ -48,6 +48,7 @@
 		KalziumTip( QWidget * parent = 0, const char * name = 0, WFlags f = 0 );
 
 		void showTip(QPoint, Element* element); //show the tip
+		void showTip( QPoint mouse, Element* element, int visibleWidth, int visibleHeight );
 		void hide(); // hide it
 
 	protected:
--- trunk/KDE/kdeedu/kalzium/src/pse.cpp #435532:435533
@@ -174,7 +174,10 @@
               p = static_cast<QWidget*>( parent() );
 
 	if( p )
-		m_kalziumTip->showTip( mapFromGlobal(QCursor::pos()), d->element(number), p->width(), p->height() );	
+		m_kalziumTip->showTip( mapFromGlobal(QCursor::pos()), 
+				d->element(number), 
+				p->width(), 
+				p->height() );	
 }
 
 PSE::~PSE(){}


More information about the Kalzium mailing list