File indexing completed on 2025-01-05 03:53:23
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2018-05-20 0007 * Description : a tool to export images to Box web service 0008 * 0009 * SPDX-FileCopyrightText: 2018 by Tarek Talaat <tarektalaat93 at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #include "boxnewalbumdlg.h" 0016 0017 // Local includes 0018 0019 #include "digikam_debug.h" 0020 #include "boxitem.h" 0021 0022 namespace DigikamGenericBoxPlugin 0023 { 0024 0025 BOXNewAlbumDlg::BOXNewAlbumDlg(QWidget* const parent, const QString& toolName) 0026 : WSNewAlbumDialog(parent, toolName) 0027 { 0028 hideDateTime(); 0029 hideDesc(); 0030 hideLocation(); 0031 getMainWidget()->setMinimumSize(300, 0); 0032 } 0033 0034 BOXNewAlbumDlg::~BOXNewAlbumDlg() 0035 { 0036 } 0037 0038 void BOXNewAlbumDlg::getFolderTitle(BOXFolder& folder) 0039 { 0040 folder.title = QLatin1Char('/') + getTitleEdit()->text(); 0041 } 0042 0043 } // namespace DigikamGenericBoxPlugin 0044 0045 #include "moc_boxnewalbumdlg.cpp"