[Marble-commits] KDE/kdeedu/marble/src/plugins
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Aug 14 01:49:23 CEST 2009
SVN commit 1011117 by jmhoffmann:
Coding style: opening braces of namespaces and classes should be on their own line.
M +2 -1 positionprovider/geoclue/GeoCluePositionProviderPlugin.h
M +2 -1 render/geodata/GeoRendererView.h
M +2 -1 render/navigation/NavigationFloatItem.h
M +2 -1 render/osmannotate/AreaAnnotation.h
M +2 -1 render/osmannotate/GeoWidgetBubble.h
M +2 -1 render/osmannotate/TextAnnotation.h
M +2 -1 render/osmannotate/TextEditor.h
M +2 -1 render/osmannotate/TmpGraphicsItem.h
M +2 -1 render/osmannotate/osm/OsmBoundsGraphicsItem.h
M +2 -1 render/osmannotate/osm/OsmBoundsTagHandler.h
M +2 -1 render/osmannotate/osm/OsmElementDictionary.h
M +2 -1 render/osmannotate/osm/OsmWayGraphicsItem.h
M +2 -1 render/panoramio/PanoramioModel.h
M +4 -2 render/panoramio/PanoramioPlugin.h
M +4 -2 render/panoramio/PanoramioWidget.h
M +2 -1 render/panoramio/imagewidget.h
M +2 -1 render/panoramio/jsonparser.h
M +2 -1 render/stars/StarsPlugin.h
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCluePositionProviderPlugin.h #1011116:1011117
@@ -18,7 +18,8 @@
-namespace GeoCute {
+namespace GeoCute
+{
class PositionProvider;
}
--- trunk/KDE/kdeedu/marble/src/plugins/render/geodata/GeoRendererView.h #1011116:1011117
@@ -31,7 +31,8 @@
class GeoDataGeometry;
class GeoPainter;
-class GeoRendererView : public QAbstractItemView {
+class GeoRendererView : public QAbstractItemView
+{
public:
GeoRendererView( QWidget * parent = 0 );
--- trunk/KDE/kdeedu/marble/src/plugins/render/navigation/NavigationFloatItem.h #1011116:1011117
@@ -29,7 +29,8 @@
* @short Provides a float item with zoom and move controls
*
*/
-class NavigationFloatItem: public AbstractFloatItem {
+class NavigationFloatItem: public AbstractFloatItem
+{
Q_OBJECT
//Q_INTERFACES( MarbleLayerInterface )
MARBLE_PLUGIN( NavigationFloatItem )
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/AreaAnnotation.h #1011116:1011117
@@ -14,7 +14,8 @@
#include "TmpGraphicsItem.h"
#include "GeoDataPolygon.h"
-namespace Marble {
+namespace Marble
+{
class AreaAnnotation : public TmpGraphicsItem
{
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/GeoWidgetBubble.h #1011116:1011117
@@ -14,7 +14,8 @@
#include <QtCore/QString>
#include <QtGui/QWidget>
-namespace Marble {
+namespace Marble
+{
class GeoPainter;
class ViewportParams;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/TextAnnotation.h #1011116:1011117
@@ -15,7 +15,8 @@
#include "GeoDataPlacemark.h"
-namespace Marble{
+namespace Marble
+{
class GeoDataPlacemark;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/TextEditor.h #1011116:1011117
@@ -19,7 +19,8 @@
class QHBoxLayout;
class QVBoxLayout;
-namespace Marble {
+namespace Marble
+{
class TextEditor : public QWidget
{
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/TmpGraphicsItem.h #1011116:1011117
@@ -20,7 +20,8 @@
#include "GeoDataLatLonAltBox.h"
#include "marble_export.h"
-namespace Marble {
+namespace Marble
+{
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/osm/OsmBoundsGraphicsItem.h #1011116:1011117
@@ -17,7 +17,8 @@
#include <QtGui/QPen>
-namespace Marble{
+namespace Marble
+{
class GeoPainter;
class ViewportParams;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/osm/OsmBoundsTagHandler.h #1011116:1011117
@@ -16,7 +16,8 @@
namespace Marble
{
-namespace osm {
+namespace osm
+{
class OsmBoundsTagHandler : public GeoTagHandler
{
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/osm/OsmElementDictionary.h #1011116:1011117
@@ -14,7 +14,8 @@
namespace Marble
{
-namespace osm {
+namespace osm
+{
extern const char* osmTag_osm;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/osm/OsmWayGraphicsItem.h #1011116:1011117
@@ -13,7 +13,8 @@
#include "GeoGraphicsItem.h"
-namespace Marble{
+namespace Marble
+{
class GeoDataPlacemark;
class GeoDataPoint;
--- trunk/KDE/kdeedu/marble/src/plugins/render/panoramio/PanoramioModel.h #1011116:1011117
@@ -14,7 +14,8 @@
#include "AbstractDataPluginModel.h"
#include "jsonparser.h"
-namespace Marble {
+namespace Marble
+{
const quint32 numberOfImagesPerFetch = 7;
--- trunk/KDE/kdeedu/marble/src/plugins/render/panoramio/PanoramioPlugin.h #1011116:1011117
@@ -17,9 +17,11 @@
#include <QtGui/QIcon>
-namespace Marble {
+namespace Marble
+{
-class PanoramioPlugin : public AbstractDataPlugin {
+class PanoramioPlugin : public AbstractDataPlugin
+{
Q_OBJECT
Q_INTERFACES( Marble::RenderPluginInterface )
MARBLE_PLUGIN( PanoramioPlugin )
--- trunk/KDE/kdeedu/marble/src/plugins/render/panoramio/PanoramioWidget.h #1011116:1011117
@@ -16,11 +16,13 @@
#include <QtCore/QDate>
#include <QtGui/QPixmap>
-namespace Marble {
+namespace Marble
+{
const QString standardImageSize = "mini_square";
-class PanoramioWidget : public AbstractDataPluginWidget {
+class PanoramioWidget : public AbstractDataPluginWidget
+{
public:
PanoramioWidget( QObject *parent );
--- trunk/KDE/kdeedu/marble/src/plugins/render/panoramio/imagewidget.h #1011116:1011117
@@ -18,7 +18,8 @@
@author Shashank Singh <shashank.singh at geodesic.com>
*/
-class imageWidget : public QWidget {
+class imageWidget : public QWidget
+{
Q_OBJECT
Q_DISABLE_COPY(imageWidget) //i am trying to save this class from deepcopy
public:
--- trunk/KDE/kdeedu/marble/src/plugins/render/panoramio/jsonparser.h #1011116:1011117
@@ -26,7 +26,8 @@
(3)some other plan that i have yet not thought upon :)
@author Shashank Singh
*/
-struct panoramioDataStructure {
+struct panoramioDataStructure
+{
long int count;// Total number of photographs will be stored in this int
long int photo_id ; // Id of each photograph
QString photo_title; // Title of each photograph
--- trunk/KDE/kdeedu/marble/src/plugins/render/stars/StarsPlugin.h #1011116:1011117
@@ -26,7 +26,8 @@
namespace Marble
{
-class StarPoint {
+class StarPoint
+{
public:
StarPoint() {}
/**
More information about the Marble-commits
mailing list