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

« back to all changes in this revision

Viewing changes to libs/database/albumdb.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:
82
82
     * Returned is a joint result of main and user settings.
83
83
     * If you are not interested in a specific value, pass 0.
84
84
     */
85
 
    void getFilterSettings(QStringList *imageFilter, QStringList *videoFilter, QStringList *audioFilter);
 
85
    void getFilterSettings(QStringList* imageFilter, QStringList* videoFilter, QStringList* audioFilter);
86
86
 
87
87
    /**
88
88
     * Returns the user-configurable filter settings.
89
89
     * If you are not interested in a specific value, pass 0.
90
90
     */
91
 
    void getUserFilterSettings(QString *imageFilterString, QString *videoFilterString, QString *audioFilterString);
 
91
    void getUserFilterSettings(QString* imageFilterString, QString* videoFilterString, QString* audioFilterString);
92
92
 
93
93
    /**
94
94
     * Sets the main filter settings of the database. Should only be called at schema update.
312
312
     * @param iconAlbumRelativePath Returns the path below the album root of the image
313
313
     * @returns true if there is an icon set.
314
314
     */
315
 
    bool getAlbumIcon(int albumID, int *iconAlbumRootId, QString *iconAlbumRelativePath);
 
315
    bool getAlbumIcon(int albumID, int* iconAlbumRootId, QString* iconAlbumRelativePath);
316
316
 
317
317
    /**
318
318
     * Given an albumid, this returns the album root id for that album
393
393
    void deleteTag(int tagID);
394
394
 
395
395
    /**
396
 
     * Set a new name for the tag. 
 
396
     * Set a new name for the tag.
397
397
     * @param tagID the id of the tag
398
398
     * @param name  the new name for the tag
399
399
     */
419
419
     * @param icon an icon name that can be loaded by the system iconloader
420
420
     * @returns true if there is an icon set.
421
421
     */
422
 
    bool getTagIcon(int tagID, int *iconAlbumRootId, QString *iconAlbumRelativePath, QString *icon);
 
422
    bool getTagIcon(int tagID, int* iconAlbumRootId, QString* iconAlbumRelativePath, QString* icon);
423
423
 
424
424
    /**
425
425
     * Set the parent tagid for the tag. This is equivalent to reparenting
716
716
     * 12) Int       WhiteBalanceColorTemperature
717
717
     * 13) Int       meteringMode
718
718
     * 14) Double    subjectDistance
719
 
     * 15) Double    subjectDistanceCategory  
 
719
     * 15) Double    subjectDistanceCategory
720
720
     * You can leave out entries from this list. Indicate the values that you have
721
721
     * passed in the ImageMetadata flag in the third parameters.
722
722
     */
723
723
    void addImageMetadata(qlonglong imageID, const QVariantList& infos,
724
 
                           DatabaseFields::ImageMetadata fields = DatabaseFields::ImageMetadataAll);
 
724
                          DatabaseFields::ImageMetadata fields = DatabaseFields::ImageMetadataAll);
725
725
 
726
726
    /**
727
727
     * Change the indicated fields of the image information for the specified item.
755
755
     * passed in the ImageInfo flag in the third parameters.
756
756
     */
757
757
    void addImagePosition(qlonglong imageID, const QVariantList& infos,
758
 
                           DatabaseFields::ImagePositions fields = DatabaseFields::ImagePositionsAll);
 
758
                          DatabaseFields::ImagePositions fields = DatabaseFields::ImagePositionsAll);
759
759
 
760
760
    /**
761
761
     * Change the indicated fields of the image information for the specified item.
930
930
     * @return It will always return true. Maybe that will change.
931
931
     */
932
932
    //bool setItemDate(int albumID, const QString& name,
933
 
      //               const QDateTime& datetime);
 
933
    //               const QDateTime& datetime);
934
934
 
935
935
    /**
936
936
     * Get the caption for the item
1114
1114
    /**
1115
1115
     * Constructor
1116
1116
     */
1117
 
    AlbumDB(DatabaseBackend *backend);
 
1117
    AlbumDB(DatabaseBackend* backend);
1118
1118
 
1119
1119
    /**
1120
1120
     * Destructor