[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble
From: Inge Wallin <inge () lysator ! liu ! se>
Date: 2007-07-31 21:32:22
Message-ID: 1185917542.614250.5407.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 694835 by ingwa:
More krazy issue 14: inline methods in public classes
M +6 -0 ChangeLog
M +2 -2 src/lib/placemark.h
M +2 -2 src/lib/placemarkpainter.h
M +1 -1 src/lib/xmlhandler.h
--- trunk/KDE/kdeedu/marble/ChangeLog #694834:694835
@@ -1,5 +1,11 @@
2007-07-31 Inge Wallin <inge@lysator.liu.se>
+ More krazy issue 14: inline methods in public classes
+ * src/lib/placemarkpainter.h (drawLabelText): not inline
+ * src/lib/placemark.h (population): not inline
+ * src/lib/xmlhandler.h (popidx): not inline
+ (seleced): not inline
+
Make it easier to change test setup.
* src/MarbleTest.cpp (timeDemo): More logical setup
--- trunk/KDE/kdeedu/marble/src/lib/placemark.h #694834:694835
@@ -54,10 +54,10 @@
const int popidx() const { return m_popidx; }
void setPopidx( int popidx ) { m_popidx = popidx; }
- inline const int population() const { return m_population; }
+ const int population() const { return m_population; }
void setPopulation( int population ) { m_population = population; }
- inline const int selected() const { return m_selected; }
+ const int selected() const { return m_selected; }
void setSelected( int selected ) { m_selected = selected; }
--- trunk/KDE/kdeedu/marble/src/lib/placemarkpainter.h #694834:694835
@@ -61,8 +61,8 @@
PlaceMark *mark,
int textwidth,
int x, int y );
- inline void drawLabelText(QPainter& textpainter, PlaceMark*, QFont font,
- double outlineWidth);
+ void drawLabelText(QPainter& textpainter, PlaceMark*, QFont font,
+ double outlineWidth);
bool testbug();
protected:
--- trunk/KDE/kdeedu/marble/src/lib/xmlhandler.h #694834:694835
@@ -38,7 +38,7 @@
bool characters( const QString& str );
protected:
- inline int popIdx( int population );
+ int popIdx( int population );
private:
PlaceMarkContainer *m_placeMarkContainer;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic