[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kde4/kdegraphics/kghostview
From:       Wilco Greven <greven () kde ! org>
Date:       2005-05-31 22:31:28
Message-ID: 1117578688.886982.9284.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 420383 by wgreven:

Thanks fixx11h.h.


 M  +4 -4      kpswidget.cpp  
 M  +1 -0      kpswidget.h  


--- branches/work/kde4/kdegraphics/kghostview/kpswidget.cpp #420382:420383
@@ -142,7 +142,7 @@
 
     _interpreterReady = false;
     _interpreterBusy = true;
-    setCursor( waitCursor );
+    setCursor( Qt::WaitCursor );
 
     XEvent e;
     e.xclient.type = ClientMessage;
@@ -298,12 +298,12 @@
 
     if( newWidth != width() || newHeight != height() )
     {
-	setEraseColor( white );
+	setEraseColor( Qt::white );
 	setFixedSize( newWidth, newHeight );
 	kapp->processEvents();
 
 	_backgroundPixmap.resize( size() );
-	_backgroundPixmap.fill( white );
+	_backgroundPixmap.fill( Qt::white );
 	// The line below is needed to work around certain "features" of styles such as liquid
 	// see bug:61711 for more info (LPC, 20 Aug '03)
 	setBackgroundOrigin( QWidget::WidgetOrigin );
@@ -377,7 +377,7 @@
               _usePipe ? KProcess::All : KProcess::AllOutput ) ) 
     {
 	_interpreterBusy = true;
-	setCursor( waitCursor );
+	setCursor( Qt::WaitCursor );
 
 	_stdinReady = true;
 	_interpreterReady = false;
--- branches/work/kde4/kdegraphics/kghostview/kpswidget.h #420382:420383
@@ -30,6 +30,7 @@
 #undef min
 
 #include <X11/X.h>
+#include <fixx11h.h>
 
 class KProcess;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic