[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/example
From: Christian Mueller <cmueller () gmx ! de>
Date: 2006-05-15 23:59:30
Message-ID: 1147737570.475268.14708.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 541345 by cmueller:
Fix for issue reported by the EBN code checks:
Use lowercase true/false
M +1 -1 example_part.cc
M +1 -1 example_part.h
M +1 -1 example_view.cc
--- trunk/koffice/example/example_part.cc #541344:541345
@@ -43,7 +43,7 @@
KoTemplateChooseDia::ReturnType ret = KoTemplateChooseDia::choose(
.... )
*/
- return TRUE;
+ return true;
}
KoView* ExamplePart::createViewInstance( QWidget* parent, const char* name )
--- trunk/koffice/example/example_part.h #541344:541345
@@ -28,7 +28,7 @@
public:
ExamplePart( QWidget *parentWidget = 0, QObject* parent = 0, bool singleViewMode \
= false );
- virtual void paintContent( QPainter& painter, const QRect& rect, bool \
transparent = FALSE, double zoomX = 1.0, double zoomY = 1.0 ); + virtual void \
paintContent( QPainter& painter, const QRect& rect, bool transparent = false, double \
zoomX = 1.0, double zoomY = 1.0 );
virtual bool initDoc(InitDocFlags flags, QWidget* parentWidget=0);
--- trunk/koffice/example/example_view.cc #541344:541345
@@ -53,7 +53,7 @@
// ### TODO: Scaling
// Let the document do the drawing
- koDocument()->paintEverything( painter, ev->rect(), FALSE, this );
+ koDocument()->paintEverything( painter, ev->rect(), false, this );
painter.end();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic