1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a options group to set renaming files
8
* operations during camera downloading
10
* Copyright (C) 2004-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
11
* Copyright (C) 2006-2011 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
* Copyright (C) 2011 by Andi Clemens <andi dot clemens at googlemail dot com>
14
* This program is free software; you can redistribute it
15
* and/or modify it under the terms of the GNU General
16
* Public License as published by the Free Software Foundation;
17
* either version 2, or (at your option)
20
* This program is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
* GNU General Public License for more details.
25
* ============================================================ */
27
#ifndef RENAMECUSTOMIZER_H
28
#define RENAMECUSTOMIZER_H
43
class AdvancedRenameManager;
45
class RenameCustomizer : public QWidget
58
RenameCustomizer(QWidget* parent, const QString& cameraTitle);
61
void setUseDefault(bool val);
62
bool useDefault() const;
63
QString newName(const QString& fileName, const QDateTime& date) const;
64
Case changeCase() const;
66
int startIndex() const;
67
void setStartIndex(int startIndex);
70
AdvancedRenameManager* renameManager() const;
87
void slotRadioButtonClicked(int);
88
void slotRenameOptionsChanged();
92
class RenameCustomizerPriv;
93
RenameCustomizerPriv* const d;
96
} // namespace Digikam
98
#endif /* RENAMECUSTOMIZER_H */