Krita Source Code Documentation
Loading...
Searching...
No Matches
krecentfilesaction_p.h
Go to the documentation of this file.
1/* This file is part of the KDE libraries
2 SPDX-FileCopyrightText: 1999 Reginald Stadlbauer <reggie@kde.org>
3 SPDX-FileCopyrightText: 1999 Simon Hausmann <hausmann@kde.org>
4 SPDX-FileCopyrightText: 2000 Nicolas Hadacek <haadcek@kde.org>
5 SPDX-FileCopyrightText: 2000 Kurt Granroth <granroth@kde.org>
6 SPDX-FileCopyrightText: 2000 Michael Koch <koch@kde.org>
7 SPDX-FileCopyrightText: 2001 Holger Freyther <freyther@kde.org>
8 SPDX-FileCopyrightText: 2002 Ellis Whitehead <ellis@kde.org>
9 SPDX-FileCopyrightText: 2002 Joseph Wenninger <jowenn@kde.org>
10 SPDX-FileCopyrightText: 2003 Andras Mantia <amantia@kde.org>
11 SPDX-FileCopyrightText: 2005-2006 Hamish Rodda <rodda@kde.org>
12
13 SPDX-License-Identifier: LGPL-2.0-only
14*/
15
16#ifndef KRECENTFILESACTION_P_H
17#define KRECENTFILESACTION_P_H
18
19#include "krecentfilesaction.h"
20
22{
23 Q_DECLARE_PUBLIC(KRecentFilesAction)
24
25public:
36
38 {
39 }
40
41 void init();
42
43 void _k_urlSelected(QAction *);
44
45 void updateIcon(const QStandardItem *item);
46
48 QMap<QAction *, QUrl> m_urls;
51 QAction *clearAction;
52 const QStandardItemModel *m_recentFilesModel;
54
56};
57
58#endif // KRECENTFILESACTION_P_H
const QStandardItemModel * m_recentFilesModel
KRecentFilesActionPrivate(KRecentFilesAction *parent)
QMap< QAction *, QUrl > m_urls
void updateIcon(const QStandardItem *item)
Recent files action.