<commit_before>//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009      <NAME> <<EMAIL>>
//

// self
#include "AbstractDataPluginItem.h"

// Marble
#include "AbstractProjection.h"
#include "GeoDataCoordinates.h"
#include "ViewportParams.h"

// Qt
#include <QtGui/QAction>
#include <QtCore/QDebug>
#include <QtCore/QRect>
#include <QtCore/QSize>

namespace Marble {

class AbstractDataPluginItemPrivate {
 public:
    AbstractDataPluginItemPrivate()
        : m_id( "" ),
          m_coordinates(),
          m_target( "" ),
          m_addedAngularResolution( 0 )
    {
    };
    
    QString m_id;
    GeoDataCoordinates m_coordinates;
    QString m_target;
    qreal m_addedAngularResolution;
};

AbstractDataPluginItem::AbstractDataPluginItem( QObject *parent )
    : QObject( parent ),
      GeoGraphicsItem(),
      d( new AbstractDataPluginItemPrivate )
{
}

AbstractDataPluginItem::~AbstractDataPluginItem() {
    delete d;
}

QString AbstractDataPluginItem::target() {
    return d->m_target;
}

void AbstractDataPluginItem::setTarget( const QString& target ) {
    d->m_target = target;
}

QString AbstractDataPluginItem::id() const {
    return d->m_id;
}

void AbstractDataPluginItem::setId( const QString& id ) {
    d->m_id = id;
}

qreal AbstractDataPluginItem::addedAngularResolution() const {
    return d->m_addedAngularResolution;
}

void AbstractDataPluginItem::setAddedAngularResolution( qreal resolution ) {
    d->m_addedAngularResolution = resolution;
}

} // Marble namespace

#include "AbstractDataPluginItem.moc"
<commit_msg>Reverted r976860.<commit_after>//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009      <NAME> <<EMAIL>>
//

// self
#include "AbstractDataPluginItem.h"

// Marble
#include "AbstractProjection.h"
#include "GeoDataCoordinates.h"
#include "ViewportParams.h"

// Qt
#include <QtGui/QAction>
#include <QtCore/QDebug>
#include <QtCore/QRect>
#include <QtCore/QSize>

namespace Marble {

class AbstractDataPluginItemPrivate {
 public:
    AbstractDataPluginItemPrivate()
        : m_addedAngularResolution( 0 )
    {
    };
    
    QString m_id;
    GeoDataCoordinates m_coordinates;
    QString m_target;
    qreal m_addedAngularResolution;
};

AbstractDataPluginItem::AbstractDataPluginItem( QObject *parent )
    : QObject( parent ),
      GeoGraphicsItem(),
      d( new AbstractDataPluginItemPrivate )
{
}

AbstractDataPluginItem::~AbstractDataPluginItem() {
    delete d;
}

QString AbstractDataPluginItem::target() {
    return d->m_target;
}

void AbstractDataPluginItem::setTarget( const QString& target ) {
    d->m_target = target;
}

QString AbstractDataPluginItem::id() const {
    return d->m_id;
}

void AbstractDataPluginItem::setId( const QString& id ) {
    d->m_id = id;
}

qreal AbstractDataPluginItem::addedAngularResolution() const {
    return d->m_addedAngularResolution;
}

void AbstractDataPluginItem::setAddedAngularResolution( qreal resolution ) {
    d->m_addedAngularResolution = resolution;
}

} // Marble namespace

#include "AbstractDataPluginItem.moc"

{'fraction_non_alphanumeric': 0.10755215985894799, 'fraction_numerical': 0.0047017337643255955, 'mean_word_length': 3.947674418604651, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2996160', 'n_tokens_mistral': 1093, 'n_tokens_neox': 1081, 'n_words': 258}