~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/database/imagelister.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
     * @param extraValue If -1, nothing is sent. If it takes another value,
58
58
     *                   this value will be sent as a second parameter.
59
59
     */
60
 
    static KIO::TransferJob *startListJob(const DatabaseUrl& url, int extraValue = -1);
 
60
    static KIO::TransferJob* startListJob(const DatabaseUrl& url, int extraValue = -1);
61
61
 
62
62
    ImageLister();
63
63
 
75
75
    /**
76
76
     * Convenience method for Album, Tag and Date URLs, _not_ for Search URLs.
77
77
     */
78
 
    void list(ImageListerReceiver *receiver,
 
78
    void list(ImageListerReceiver* receiver,
79
79
              const DatabaseUrl& url);
80
80
 
81
81
    /**
82
82
      * List images in the Album (physical album) specified by albumRoot, album.
83
83
      * The results will be fed to the specified receiver.
84
84
      */
85
 
    void listAlbum(ImageListerReceiver *receiver,
 
85
    void listAlbum(ImageListerReceiver* receiver,
86
86
                   int albumRootId, const QString& album);
87
87
 
88
88
    /**
89
89
     * List the images which have assigned the tag specified by tagId
90
90
     */
91
 
    void listTag(ImageListerReceiver *receiver, int tagId);
 
91
    void listTag(ImageListerReceiver* receiver, int tagId);
92
92
    /**
93
93
      * List those images whose date lies in the range beginning with startDate (inclusive)
94
94
      * and ending before endDate (exclusive).
95
95
      */
96
 
    void listDateRange(ImageListerReceiver *receiver, const QDate& startDate, const QDate& endDate);
 
96
    void listDateRange(ImageListerReceiver* receiver, const QDate& startDate, const QDate& endDate);
97
97
 
98
98
    /**
99
99
     * Execute the search specified by search XML
101
101
     * @param xml SearchXml describing the query
102
102
     * @param limit limit the count of the result set. If limit = 0, then no limit is set.
103
103
     */
104
 
    void listSearch(ImageListerReceiver *receiver,
 
104
    void listSearch(ImageListerReceiver* receiver,
105
105
                    const QString& xml,
106
106
                    int limit = 0);
107
107
 
110
110
     * @param receiver receiver for the searches
111
111
     * @param xml SearchXml describing the query
112
112
     */
113
 
    void listHaarSearch(ImageListerReceiver *receiver,
 
113
    void listHaarSearch(ImageListerReceiver* receiver,
114
114
                        const QString& xml);
115
115
 
116
116
private:
117
117
 
118
 
    void listFromIdList(ImageListerReceiver *receiver, QList<qlonglong> imageIds);
 
118
    void listFromIdList(ImageListerReceiver* receiver, QList<qlonglong> imageIds);
119
119
    QSet<int> albumRootsToList();
120
120
 
121
121
private: