File indexing completed on 2025-01-05 03:57:53

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2021-08-27
0007  * Description : Showfoto folder view bookmarks item
0008  *
0009  * SPDX-FileCopyrightText: 2021-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #include "showfotofolderviewbookmarkitem.h"
0016 
0017 // Local include
0018 
0019 #include "digikam_debug.h"
0020 
0021 namespace ShowFoto
0022 {
0023 
0024 ShowfotoFolderViewBookmarkItem::ShowfotoFolderViewBookmarkItem(QTreeWidgetItem* const parent)
0025     : QTreeWidgetItem(parent)
0026 {
0027     setDisabled(false);
0028     setSelected(false);
0029 }
0030 
0031 ShowfotoFolderViewBookmarkItem::~ShowfotoFolderViewBookmarkItem()
0032 {
0033 }
0034 
0035 void ShowfotoFolderViewBookmarkItem::setPath(const QString& path)
0036 {
0037     m_path = path;
0038 }
0039 
0040 QString ShowfotoFolderViewBookmarkItem::path() const
0041 {
0042     return m_path;
0043 }
0044 
0045 } // namespace ShowFoto