[Marble-commits] KDE/kdeedu/marble/src/lib

Jens-Michael Hoffmann jensmh at gmx.de
Tue May 18 00:11:21 CEST 2010


SVN commit 1127888 by jmhoffmann:

Move class DataMigration into Marble namespace.

 M  +4 -1      DataMigration.cpp  
 M  +5 -0      DataMigration.h  


--- trunk/KDE/kdeedu/marble/src/lib/DataMigration.cpp #1127887:1127888
@@ -29,7 +29,8 @@
 // std
 #include <limits>
 
-using namespace Marble;
+namespace Marble
+{
 
 DataMigration::DataMigration( QObject *parent )
     : QObject( parent )
@@ -188,4 +189,6 @@
     }
 }
 
+}
+
 #include "DataMigration.moc"
--- trunk/KDE/kdeedu/marble/src/lib/DataMigration.h #1127887:1127888
@@ -13,6 +13,9 @@
 
 #include<QtCore/QObject>
 
+namespace Marble
+{
+
 class DataMigration : public QObject
 {
     Q_OBJECT
@@ -28,4 +31,6 @@
     static void moveFiles( const QString& source, const QString& target );
 };
 
+}
+
 #endif // MARBLE_DATAMIGRATION_H


More information about the Marble-commits mailing list