~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/libs/threadimageio/previewloadthread.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.3.2 upstream) (37 hardy)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20080717202539-1bw3w3nrsso7yj4z
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 *
 
3
 * This file is a part of digiKam project
 
4
 * http://www.digikam.org
 
5
 *
 
6
 * Date        : 2006-01-16
 
7
 * Description : image file IO threaded interface.
 
8
 *
 
9
 * Copyright (C) 2006-2007 by Marcel Wiesweg <marcel.wiesweg@gmx.de>
 
10
 *
 
11
 * This program is free software; you can redistribute it
 
12
 * and/or modify it under the terms of the GNU General
 
13
 * Public License as published by the Free Software Foundation;
 
14
 * either version 2, or (at your option)
 
15
 * any later version.
 
16
 * 
 
17
 * This program is distributed in the hope that it will be useful,
 
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
 * GNU General Public License for more details.
 
21
 *
 
22
 * ============================================================ */
 
23
 
 
24
#ifndef PREVIEW_LOAD_THREAD_H
 
25
#define PREVIEW_LOAD_THREAD_H
 
26
 
 
27
#include "managedloadsavethread.h"
 
28
 
 
29
namespace Digikam
 
30
{
 
31
 
 
32
class DIGIKAM_EXPORT PreviewLoadThread : public ManagedLoadSaveThread
 
33
{
 
34
    Q_OBJECT
 
35
 
 
36
public:
 
37
 
 
38
    PreviewLoadThread();
 
39
 
 
40
    /**
 
41
     * Load a preview that is optimized for fast loading.
 
42
     */
 
43
    void load(LoadingDescription description);
 
44
    /**
 
45
     * Load a preview with higher resolution, trading more quality
 
46
     * for less speed.
 
47
     * In the LoadingDescription container, provide "0" as maximum size.
 
48
     */
 
49
    void loadHighQuality(LoadingDescription description);
 
50
 
 
51
};
 
52
 
 
53
}   // namespace Digikam
 
54
 
 
55
 
 
56
#endif // SHARED_LOAD_SAVE_THREAD_H