digiKam
Loading...
Searching...
No Matches
editablesearchtreeview.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2008-01-14
7 * Description : Basic search tree view with editing functionality
8 *
9 * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2009-2010 by Johannes Wienke <languitar at semipol dot de>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Local includes
19
20#include "searchtreeview.h"
22
23namespace Digikam
24{
25
33{
34 Q_OBJECT
35
36public:
37
47 EditableSearchTreeView(QWidget* const parent, SearchModel* const searchModel,
48 SearchModificationHelper* const searchModificationHelper);
49
53 ~EditableSearchTreeView() override;
54
55protected:
56
60 QString contextMenuTitle() const override;
61
65 void addCustomContextMenuActions(ContextMenuHelper& cmh, Album* album) override;
66
70 void handleCustomContextMenuAction(QAction* action, const AlbumPointer<Album>& album) override;
71
72private:
73
74 class Private;
75 Private* const d = nullptr;
76};
77
78} // namespace Digikam
Definition albumpointer.h:38
Abstract base class for all album types.
Definition album.h:57
A helper class to add actions and special menus to the context menu.
Definition contextmenuhelper.h:70
Definition editablesearchtreeview.h:33
~EditableSearchTreeView() override
Definition editablesearchtreeview.cpp:65
void addCustomContextMenuActions(ContextMenuHelper &cmh, Album *album) override
Definition editablesearchtreeview.cpp:75
QString contextMenuTitle() const override
Definition editablesearchtreeview.cpp:70
void handleCustomContextMenuAction(QAction *action, const AlbumPointer< Album > &album) override
Definition editablesearchtreeview.cpp:95
Definition albummodel.h:89
Definition searchmodificationhelper.h:49
Definition searchtreeview.h:27
Definition datefolderview.cpp:34