Logo Search packages:      
Sourcecode: marble version File versions

katlascrosshair.h

//
// C++ Interface: katlascrosshair
//
// Description: KAtlasCrossHair 

// KAtlasWindRose paints a crosshair
//
// Author: Torsten Rahn <tackat@kde.org>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution

#ifndef KATLASCROSSHAIR_H
#define KATLASCROSSHAIR_H

#include <QObject>
#include <QPainter>

/**
@author Torsten Rahn
*/

00022 class KAtlasCrossHair : public QObject {

Q_OBJECT

public:
      KAtlasCrossHair(QObject *parent = 0);

      void paintCrossHair( QPainter*, int, int );

      const bool isEnabled() const { return m_enabled; }
      void setEnabled( bool enabled ){ m_enabled = enabled; }

protected:
      bool m_enabled;
};

#endif // KATLASCROSSHAIR_H

Generated by  Doxygen 1.6.0   Back to index