[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Oct 9 18:13:12 CEST 2009
SVN commit 1033165 by jmhoffmann:
Coding style: white space changes.
M +7 -7 MarbleWidgetInputHandler.h
--- trunk/KDE/kdeedu/marble/src/lib/MarbleWidgetInputHandler.h #1033164:1033165
@@ -46,19 +46,19 @@
void setPositionSignalConnected( bool connected ){ m_positionSignalConnected = connected; }
bool isPositionSignalConnected() const { return m_positionSignalConnected; }
- virtual void init(MarbleWidget*);
+ virtual void init( MarbleWidget* );
/**
* @brief Set whether a popup menu appears on a click (not drag) with the left mouse button
* @param enabled True to enable the popup menu (default), false to disable it
*/
- void setMouseButtonPopupEnabled(Qt::MouseButton mouseButton, bool enabled);
+ void setMouseButtonPopupEnabled( Qt::MouseButton mouseButton, bool enabled );
/**
* @brief Return whether the left mouse button popup menu is active
* @return True iff a popup menu is shown on left mouse button clicks
*/
- bool isMouseButtonPopupEnabled(Qt::MouseButton mouseButton) const;
+ bool isMouseButtonPopupEnabled( Qt::MouseButton mouseButton ) const;
Q_SIGNALS:
// Mouse button menus
@@ -81,7 +81,7 @@
QTimer *m_mouseWheelTimer;
Qt::MouseButtons m_disabledMouseButtons;
-
+
private:
Q_DISABLE_COPY( MarbleWidgetInputHandler )
};
@@ -90,7 +90,7 @@
class MARBLE_EXPORT MarbleWidgetDefaultInputHandler : public MarbleWidgetInputHandler
{
- Q_OBJECT
+ Q_OBJECT
public:
MarbleWidgetDefaultInputHandler();
@@ -98,8 +98,8 @@
static bool keyEvent( MarbleMap * map, QEvent* e );
- virtual void init(MarbleWidget*);
-
+ virtual void init( MarbleWidget* );
+
protected:
bool eventFilter( QObject *, QEvent * );
More information about the Marble-commits
mailing list