~ubuntu-branches/ubuntu/natty/digikam/natty

« back to all changes in this revision

Viewing changes to digikam/imageviewutilities.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-08-26 19:25:16 UTC
  • mfrom: (1.2.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100826192516-mkbdww0h5v2x4yoy
Tags: 2:1.4.0-0ubuntu1
* New upstream bugfix release (LP: #626751)
* Install the file NEWS as upstream changelog because "ChangeLog" is
  too verbose.
* Don't copy the desktop .pot file to imageplugins, not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Date        : 2009-05-04
7
7
 * Description : Various operations on images
8
8
 *
9
 
 * Copyright (C) 2009 by Marcel Wiesweg <marcel.wiesweg@gmx.de>
 
9
 * Copyright (C) 2009-2010 by Marcel Wiesweg <marcel.wiesweg@gmx.de>
10
10
 *
11
11
 * This program is free software; you can redistribute it
12
12
 * and/or modify it under the terms of the GNU General
38
38
#include "imageinfo.h"
39
39
 
40
40
class KJob;
41
 
namespace KIO { class Job; }
 
41
namespace KIO
 
42
{
 
43
    class Job;
 
44
}
42
45
 
43
46
namespace Digikam
44
47
{
45
 
 
46
48
class Album;
47
49
 
48
50
class ImageViewUtilities : public QObject
51
53
 
52
54
public:
53
55
 
54
 
    ImageViewUtilities(QWidget *parentWidget);
 
56
    ImageViewUtilities(QWidget* parentWidget);
55
57
 
56
58
public Q_SLOTS:
57
59
 
58
 
    void createNewAlbumForInfos(const QList<ImageInfo>& infos, Album *currentAlbum);
 
60
    void createNewAlbumForInfos(const QList<ImageInfo>& infos, Album* currentAlbum);
59
61
    bool deleteImages(const QList<ImageInfo>& infos, bool deletePermanently);
60
62
    void deleteImagesDirectly(const QList<ImageInfo>& infos, bool useTrash);
61
63
 
65
67
 
66
68
    void notifyFileContentChanged(const KUrl::List& urls);
67
69
 
68
 
    void openInEditor(const ImageInfo& info, const QList<ImageInfo>& allInfosToOpen, Album *currentAlbum);
 
70
    void openInEditor(const ImageInfo& info, const QList<ImageInfo>& allInfosToOpen, Album* currentAlbum);
69
71
    void rename(const KUrl& imageUrl, const QString& newName);
70
 
    void setAsAlbumThumbnail(Album *album, const ImageInfo& imageInfo);
 
72
    void setAsAlbumThumbnail(Album* album, const ImageInfo& imageInfo);
71
73
 
72
74
Q_SIGNALS:
73
75
 
84
86
 
85
87
protected:
86
88
 
87
 
    QWidget *m_widget;
 
89
    QWidget* m_widget;
88
90
};
89
91
 
90
92
} // namespace Digikam
91
93
 
92
94
#endif /* IMAGEVIEWUTILITIES_H */
93