[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Mar 26 17:29:47 CET 2010
SVN commit 1107734 by jmhoffmann:
PlacemarkInfoDialog: move implementation of method showMessage and
corresponding include directives from header to source file.
M +9 -0 PlacemarkInfoDialog.cpp
M +1 -9 PlacemarkInfoDialog.h
--- trunk/KDE/kdeedu/marble/src/lib/PlacemarkInfoDialog.cpp #1107733:1107734
@@ -17,6 +17,8 @@
#include <QtCore/QFile>
#include <QtCore/QLocale>
#include <QtCore/QTimer>
+#include <QtGui/QFont>
+#include <QtGui/QStatusBar>
#include "GeoDataCoordinates.h"
#include "MarbleDirs.h"
@@ -45,6 +47,13 @@
showContent();
}
+void PlacemarkInfoDialog::showMessage( QString text )
+{
+ QFont statusFont = QStatusBar().font();
+ statusFont.setPointSize( qRound( 0.9 * statusFont.pointSize() ) );
+ m_pStatusLabel->setFont( statusFont );
+ m_pStatusLabel->setText( text );
+}
void PlacemarkInfoDialog::showContent()
{
--- trunk/KDE/kdeedu/marble/src/lib/PlacemarkInfoDialog.h #1107733:1107734
@@ -16,8 +16,6 @@
#include <QtCore/QPersistentModelIndex>
#include <QtCore/QString>
-#include <QtGui/QFont>
-#include <QtGui/QStatusBar>
#include "DeferredFlag.h"
@@ -44,13 +42,7 @@
public Q_SLOTS:
void setFlagLabel();
- void showMessage( QString text )
- {
- QFont statusFont = QStatusBar().font();
- statusFont.setPointSize( qRound( 0.9 * statusFont.pointSize() ) );
- m_pStatusLabel->setFont( statusFont );
- m_pStatusLabel->setText( text );
- }
+ void showMessage( QString text );
protected:
void showContent();
More information about the Marble-commits
mailing list