Marble

MarbleDebug.h
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2009 Patrick Spendrin <[email protected]>
9 //
10 
11 #ifndef MARBLE_MARBLEDEBUG_H
12 #define MARBLE_MARBLEDEBUG_H
13 
14 #include <QDebug>
15 
16 #include "marble_export.h"
17 
18 namespace Marble
19 {
20 
24 class MARBLE_EXPORT MarbleDebug
25 {
26 public:
30  static bool isEnabled();
31 
36  static void setEnabled(bool enabled);
37 
38 private:
39  static bool m_enabled;
40 
41 };
42 
46 MARBLE_EXPORT QDebug mDebug();
47 
48 } // namespace Marble
49 
50 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
a class which takes all the settings and exposes them
Definition: MarbleDebug.h:24
QDebug mDebug()
a function to replace qDebug() in Marble library code
Definition: MarbleDebug.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jul 10 2020 23:17:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.