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

« back to all changes in this revision

Viewing changes to utilities/queuemanager/queuesettingsview.h

  • Committer: Package Import Robot
  • Author(s): Felix Geyer, Rohan Garg, Philip Muškovac, Felix Geyer
  • Date: 2011-09-23 18:18:55 UTC
  • mfrom: (1.2.36 upstream)
  • Revision ID: package-import@ubuntu.com-20110923181855-ifs67wxkugshev9k
Tags: 2:2.1.1-0ubuntu1
[ Rohan Garg ]
* New upstream release (LP: #834190)
  - debian/control
    + Build with libqtwebkit-dev
 - debian/kipi-plugins-common
    + Install libkvkontakte required by kipi-plugins
 - debian/digikam
    + Install panoramagui

[ Philip Muškovac ]
* New upstream release
  - debian/control:
    + Add libcv-dev, libcvaux-dev, libhighgui-dev, libboost-graph1.46-dev,
      libksane-dev, libxml2-dev, libxslt-dev, libqt4-opengl-dev, libqjson-dev,
      libgpod-dev and libqca2-dev to build-deps
    + Add packages for kipi-plugins, libmediawiki, libkface, libkgeomap and
      libkvkontakte
  - debian/rules:
    + Don't build with gphoto2 since it doesn't build with it.
  - Add kubuntu_fix_test_linking.diff to fix linking of the dngconverter test
  - update install files
  - update kubuntu_01_mysqld_executable_name.diff for new cmake layout
    and rename to kubuntu_mysqld_executable_name.diff
* Fix typo in digikam-data description (LP: #804894)
* Fix Vcs links

[ Felix Geyer ]
* Move library data files to the new packages libkface-data, libkgeomap-data
  and libkvkontakte-data.
* Override version of the embedded library packages to 1.0~digikam<version>.
* Exclude the library packages from digikam-dbg to prevent file conflicts in
  the future.
* Call dh_install with --list-missing.

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        : 2009-02-21
7
 
 * Description : a view to show Queue Settings.
8
 
 *
9
 
 * Copyright (C) 2009-2010 Gilles Caulier <caulier dot gilles at gmail dot com>
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 QUEUE_SETTINGS_VIEW_H
25
 
#define QUEUE_SETTINGS_VIEW_H
26
 
 
27
 
// Qt includes
28
 
 
29
 
#include <QScrollArea>
30
 
#include <QList>
31
 
#include <QMap>
32
 
 
33
 
// KDE includes
34
 
 
35
 
#include <kurl.h>
36
 
#include <ktabwidget.h>
37
 
 
38
 
// Local includes
39
 
 
40
 
#include "drawdecoding.h"
41
 
 
42
 
namespace Digikam
43
 
{
44
 
 
45
 
class QueueSettings
46
 
{
47
 
public:
48
 
 
49
 
    enum ConflictRule
50
 
    {
51
 
        OVERWRITE = 0,
52
 
        ASKTOUSER
53
 
    };
54
 
 
55
 
    enum RenamingRule
56
 
    {
57
 
        USEORIGINAL = 0,
58
 
        CUSTOMIZE
59
 
    };
60
 
 
61
 
public:
62
 
 
63
 
    QueueSettings()
64
 
    {
65
 
        conflictRule = OVERWRITE;
66
 
        renamingRule = USEORIGINAL;
67
 
    };
68
 
 
69
 
    QString      renamingParser;
70
 
 
71
 
    KUrl         targetUrl;
72
 
 
73
 
    ConflictRule conflictRule;
74
 
    RenamingRule renamingRule;
75
 
 
76
 
    DRawDecoding rawDecodingSettings;
77
 
};
78
 
 
79
 
// --------------------------------------------------------
80
 
 
81
 
class AssignedBatchTools;
82
 
 
83
 
class QueueSettingsView : public KTabWidget
84
 
{
85
 
    Q_OBJECT
86
 
 
87
 
public:
88
 
 
89
 
    QueueSettingsView(QWidget* parent=0);
90
 
    ~QueueSettingsView();
91
 
 
92
 
    void setBusy(bool b);
93
 
 
94
 
Q_SIGNALS:
95
 
 
96
 
    void signalSettingsChanged(const QueueSettings&);
97
 
 
98
 
public Q_SLOTS:
99
 
 
100
 
    void slotQueueSelected(int, const QueueSettings&, const AssignedBatchTools&);
101
 
 
102
 
private Q_SLOTS:
103
 
 
104
 
    void slotResetSettings();
105
 
    void slotSettingsChanged();
106
 
 
107
 
private:
108
 
 
109
 
    class QueueSettingsViewPriv;
110
 
    QueueSettingsViewPriv* const d;
111
 
};
112
 
 
113
 
}  // namespace Digikam
114
 
 
115
 
#endif /* QUEUE_SETTINGS_VIEW_H */