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

List:       kde-commits
Subject:    koffice/kformula
From:       John Layt <john () layt ! net>
Date:       2007-10-20 15:33:49
Message-ID: 1192894429.433706.5093.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 727456 by jlayt:

Port from KPrinter to QPrinter, remove dependency to KDE4_KDEPRINT_LIBS.


 M  +2 -2      KFormulaPartView.cpp  
 M  +3 -3      KFormulaPartView.h  


--- trunk/koffice/kformula/KFormulaPartView.cpp #727455:727456
@@ -149,11 +149,11 @@
     m_canvasController->setGeometry( 0, 0, width(), height() );
 }
 
-void KFormulaPartView::setupPrinter( KPrinter& )
+void KFormulaPartView::setupPrinter( QPrinter& )
 {
 }
 
-void KFormulaPartView::print( KPrinter& printer )
+void KFormulaPartView::print( QPrinter& printer )
 {
     Q_UNUSED( printer );
 }
--- trunk/koffice/kformula/KFormulaPartView.h #727455:727456
@@ -61,15 +61,15 @@
 
     /**
      * Setup the printer to use
-     * @param printer a reference to the KPrinter to use
+     * @param printer a reference to the QPrinter to use
      */
-    virtual void setupPrinter( KPrinter &printer );
+    virtual void setupPrinter( QPrinter &printer );
 
     /**
      * Prints the view using the @p printer
      * @param printer the printer to use
      */
-    virtual void print( KPrinter &printer );
+    virtual void print( QPrinter &printer );
 
     /**
      * Use this function to obtain the associated @ref KFormulaPartDocument
[prev in list] [next in list] [prev in thread] [next in thread] 

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