~ubuntu-branches/ubuntu/trusty/digikam/trusty

« back to all changes in this revision

Viewing changes to extra/libkipi/tests/kipiimagecollectionshared.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-09-27 21:41:30 UTC
  • mfrom: (1.2.43)
  • mto: This revision was merged to the branch mainline in revision 86.
  • Revision ID: package-import@ubuntu.com-20120927214130-i8v3ufr21nesp29i
Tags: 4:3.0.0~beta1a-1
* New upstream release

* Fix "wrongly conflicts phonon-backend-vlc" dropped (Closes: #688142)
* debian/watch include download.kde.org

* digikam 3.0.0 uses features from unreleased kdegraphics >=4.10 & ships 
a private version of the kdegraphics libs - this is not the Debian way :-(
* Unsatisfactory Conflicts: libkipi8, libkexiv2-10, libkdcraw20, libksane0
* Suspend digikam-dbg >130Mb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/** ===========================================================
 
2
 * @file
 
3
 *
 
4
 * This file is a part of kipi-plugins project
 
5
 * <a href="http://www.digikam.org">http://www.digikam.org</a>
 
6
 *
 
7
 * @date   2009-11-21
 
8
 * @brief  kipi host test application
 
9
 *
 
10
 * @author Copyright (C) 2009-2010 by Michael G. Hansen
 
11
 *         <a href="mailto:mike at mghansen dot de">mike at mghansen dot de</a>
 
12
 *
 
13
 * This program is free software; you can redistribute it
 
14
 * and/or modify it under the terms of the GNU General
 
15
 * Public License as published by the Free Software Foundation;
 
16
 * either version 2, or (at your option) any later version.
 
17
 *
 
18
 * This program is distributed in the hope that it will be useful,
 
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
21
 * GNU General Public License for more details.
 
22
 *
 
23
 * ============================================================ */
 
24
 
 
25
#ifndef __KIPIIMAGECOLLECTIONSHARED_H
 
26
#define __KIPIIMAGECOLLECTIONSHARED_H
 
27
 
 
28
// libkipi includes
 
29
 
 
30
#include "imagecollectionshared.h"
 
31
 
 
32
using namespace KIPI;
 
33
 
 
34
namespace KXMLKipiCmd
 
35
{
 
36
 
 
37
class KipiImageCollectionShared : public ImageCollectionShared
 
38
{
 
39
public:
 
40
 
 
41
    // re-implemented inherited functions:
 
42
    KipiImageCollectionShared(const KUrl& albumPath);
 
43
    KipiImageCollectionShared(const KUrl::List& images);
 
44
    virtual ~KipiImageCollectionShared();
 
45
 
 
46
    virtual QString    name();
 
47
    virtual KUrl::List images();
 
48
    virtual KUrl       path();
 
49
    virtual KUrl       uploadPath();
 
50
    virtual KUrl       uploadRoot();
 
51
    virtual bool       isDirectory();
 
52
 
 
53
    // functions used internally:
 
54
    void addImages(const KUrl::List& images);
 
55
    void addImage(const KUrl& image);
 
56
 
 
57
private:
 
58
 
 
59
    KUrl       m_albumPath;
 
60
    KUrl::List m_images;
 
61
};
 
62
 
 
63
} // namespace KXMLKipiCmd
 
64
 
 
65
#endif // __KIPIIMAGECOLLECTIONSHARED_H