~ubuntu-branches/ubuntu/maverick/amarok/maverick-backports

« back to all changes in this revision

Viewing changes to src/context/engines/photos/PhotosInfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-09-16 12:47:14 UTC
  • mfrom: (1.77.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100916124714-i8jk9s2z4iyixmcw
Tags: 2:2.3.2-0ubuntu1
* New upstream release.
* Drop patches that are applied upstream:
  - debian/mysql_no_openssl_fix.diff
  - kubuntu/08_fix_ftbfs_glib_2.25.diff
  - kubuntu/09_fix_applet_destructor_crash.diff
* Drop patch that is not needed anymore:
  - kubuntu/05_kstatusnotifieritem_gnome_support.diff
* Adapt patch to new upstream version:
  - debian/mysqle_amarok_local_errmsg_feature.diff
  - kubuntu/10_soundmenu_support.diff
  - kubuntu/11_soundmenu_mpris2.0.diff
* Update install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************************
 
2
 *
2
3
 * Copyright (c) 2009 Simon Esneault <simon.esneault@gmail.com>                         *
3
4
 *                                                                                      *
4
5
 * This program is free software; you can redistribute it and/or modify it under        *
18
19
#define AMAROK_PHOTOS_INFO
19
20
 
20
21
#include "context/DataEngine.h"
21
 
#include "core/support/Debug.h"
 
22
 
 
23
#include <KUrl>
22
24
 
23
25
//!  Struct PhotosInfo, contain all the info vor a photos
24
26
class PhotosInfo {
25
27
 
26
28
public:
27
29
 
28
 
    PhotosInfo()
29
 
    : photo( 0 )
30
 
    {}
31
 
 
32
 
    ~PhotosInfo()
33
 
    {
34
 
        delete photo;
35
 
    }
 
30
    PhotosInfo() {}
 
31
    ~PhotosInfo() {}
36
32
    
37
33
    QString title;      // Name of the phtos
38
 
    QString urlphoto;   // url of the photos, for the download
39
 
    QString urlpage;    // Url for the browser ( http://www.flickr.com/photos/wanderlustg/322285063/ )
40
 
    QPixmap *photo;     // Image data
 
34
    KUrl urlphoto;      // url of the photos, for the download
 
35
    KUrl urlpage;       // Url for the browser ( http://www.flickr.com/photos/wanderlustg/322285063/ )
 
36
    QPixmap photo;      // Image data
41
37
};
42
38
 
43
39
#endif