Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAutoSaveRecoveryDialog.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 SPDX-FileCopyrightText: 2012 Boudewijn Rempt <boud@valdyas.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#ifndef KISAUTOSAVERECOVERYDIALOG_H
7#define KISAUTOSAVERECOVERYDIALOG_H
8
9#include <KoDialog.h>
10#include <QStringList>
11#include <QModelIndex>
12
13class QListView;
14
15Q_DECLARE_METATYPE(QModelIndex)
16
18{
19 Q_OBJECT
20public:
21
22 explicit KisAutoSaveRecoveryDialog(const QStringList &filenames, QWidget *parent = 0);
24 QStringList recoverableFiles();
25 static QString autoSaveLocation();
26
27public Q_SLOTS:
28
29 void toggleFileItem(bool toggle);
30 void slotDeleteAll();
31
32private:
33
34 QListView *m_listView;
35
36 class FileItemModel;
38};
39
40
41#endif // KISAUTOSAVERECOVERYDIALOG_H
A dialog base class with standard buttons and predefined layouts.
Definition KoDialog.h:116
Q_DECLARE_METATYPE(KisPaintopLodLimitations)