~ubuntu-branches/ubuntu/wily/marble/wily-proposed

« back to all changes in this revision

Viewing changes to src/lib/marble/geodata/data/GeoDataTour.cpp

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark, Jonathan Riddell, Scarlett Clark
  • Date: 2014-07-24 23:38:32 UTC
  • mfrom: (1.5.2)
  • Revision ID: package-import@ubuntu.com-20140724233832-7v4421t4khrhw487
Tags: 4:4.13.90-0ubuntu1
[ Jonathan Riddell ]
* Switch to libmarblewidget19 for new soversion

[ Scarlett Clark ]
* New upstream beta release
* Update: do_not_install_private_headers. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
{
20
20
public:
21
21
    GeoDataTourPrivate() :
22
 
        m_id(""),
23
22
        m_playlist(0)
24
23
    {}
25
 
    QString m_id;
26
24
    GeoDataPlaylist *m_playlist;
27
25
};
28
26
 
47
45
    return *this;
48
46
}
49
47
 
 
48
bool GeoDataTour::operator==(const GeoDataTour& other) const
 
49
{
 
50
    return equals( other ) &&
 
51
           *d->m_playlist == *other.d->m_playlist;
 
52
}
 
53
 
 
54
bool GeoDataTour::operator!=(const GeoDataTour& other) const
 
55
{
 
56
    return !this->operator==(other);
 
57
}
 
58
 
50
59
GeoDataTour::~GeoDataTour()
51
60
{
52
61
    delete d;
53
62
}
54
63
 
55
 
QString GeoDataTour::id() const
56
 
{
57
 
    return d->m_id;
58
 
}
59
 
 
60
 
void GeoDataTour::setId(const QString &value)
61
 
{
62
 
    d->m_id = value;
63
 
}
64
 
 
65
64
GeoDataPlaylist* GeoDataTour::playlist()
66
65
{
67
66
    return d->m_playlist;