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

List:       kde-commits
Subject:    playground/games/palapeli-goldberg-slicer/src
From:       Johannes Loehnert <loehnert.kde () gmx ! de>
Date:       2010-06-30 20:13:26
Message-ID: 20100630201326.E48BEAC8E2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1144786 by jloehnert:

fixed krazy issues (keeps complaining about Pala includes however)

 M  +7 -5      slicer-goldberg.cpp  
 M  +0 -8      slicer-goldberg.h  


--- trunk/playground/games/palapeli-goldberg-slicer/src/slicer-goldberg.cpp #1144785:1144786
@@ -25,6 +25,8 @@
 #include <KLocalizedString>
 #include <KPluginFactory>
 #include <KPluginLoader>
+
+#include "goldberg-engine.h"
 #include "grid-rect.h"
 #include "grid-hex.h"
 #include "grid-cairo.h"
@@ -46,14 +48,14 @@
 
     m_tesselations.clear();
     m_tesselations.append(i18n("Rectangular grid"));
-    m_tesselations.append(i18n("Cairo Pentagonal"));
-    m_tesselations.append(i18n("Hexagonal"));
-    m_tesselations.append(i18n("Rotrex (rhombi-trihexagonal)"));
+    m_tesselations.append(i18nc("Puzzle grid type", "Cairo Pentagonal"));
+    m_tesselations.append(i18nc("Puzzle grid type", "Hexagonal"));
+    m_tesselations.append(i18nc("Puzzle grid type", "Rotrex (rhombi-trihexagonal)"));
     if (m_qvoronoi_available) {
-        m_tesselations.append(i18n("Irregular"));
+        m_tesselations.append(i18nc("Puzzle grid type", "Irregular"));
     }
     else {
-        m_tesselations.append(i18n("(QHull missing): Irregular"));
+        m_tesselations.append(i18nc("Puzzle grid type", "(QHull missing): Irregular"));
     }
     sprop = new Pala::StringProperty(i18n("Tesselation type"));
     sprop->setChoices(m_tesselations);
--- trunk/playground/games/palapeli-goldberg-slicer/src/slicer-goldberg.h #1144785:1144786
@@ -25,14 +25,6 @@
 #include <Pala/SlicerProperty>
 #include <Pala/SlicerPropertySet>
 
-#include "goldberg-engine.h"
-
-#include "grid-rect.h"
-#include "grid-hex.h"
-#include "grid-cairo.h"
-#include "grid-rotrex.h"
-#include "grid-voronoi.h"
-
 class GoldbergSlicer : public Pala::Slicer {
     Q_OBJECT
     public:
[prev in list] [next in list] [prev in thread] [next in thread] 

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