[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Mar 26 17:37:16 CET 2010
SVN commit 1107737 by jmhoffmann:
PlacemarkInfoDialog: move include directive from header to source file.
The empty namespace declaration is necessary to make the namespace known
for the following "using namespace" statement.
M +1 -0 PlacemarkInfoDialog.cpp
M +4 -3 PlacemarkInfoDialog.h
--- trunk/KDE/kdeedu/marble/src/lib/PlacemarkInfoDialog.cpp #1107736:1107737
@@ -20,6 +20,7 @@
#include <QtGui/QFont>
#include <QtGui/QStatusBar>
+#include "DeferredFlag.h"
#include "GeoDataCoordinates.h"
#include "MarbleDirs.h"
#include "MarblePlacemarkModel.h"
--- trunk/KDE/kdeedu/marble/src/lib/PlacemarkInfoDialog.h #1107736:1107737
@@ -17,16 +17,17 @@
#include <QtCore/QPersistentModelIndex>
#include <QtCore/QString>
-#include "DeferredFlag.h"
-
// FIXME: remove "using namespace" from header
+namespace Marble
+{
+}
using namespace Marble;
#include "ui_PlacemarkInfoDialog.h"
namespace Marble
{
-
+class DeferredFlag;
class Placemark;
class PlacemarkInfoDialog : public QDialog, private Ui::PlacemarkInfoDialog
More information about the Marble-commits
mailing list