Warning, file /office/calligra/gemini/desktopviewproxy.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * <one line to give the library's name and an idea of what it does.> 0003 * SPDX-FileCopyrightText: 2013 Dan Leinir Turthra Jensen <admin@leinir.dk> 0004 * 0005 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0006 * 0007 */ 0008 0009 #ifndef DESKTOPVIEWPROXY_H 0010 #define DESKTOPVIEWPROXY_H 0011 0012 #include <QObject> 0013 0014 class QUrl; 0015 class KoMainWindow; 0016 class MainWindow; 0017 class DesktopViewProxy : public QObject 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit DesktopViewProxy(MainWindow* mainWindow, KoMainWindow* parent = 0); 0022 ~DesktopViewProxy() override; 0023 0024 public Q_SLOTS: 0025 void fileNew(); 0026 void fileOpen(); 0027 void fileSave(); 0028 bool fileSaveAs(); 0029 void reload(); 0030 void loadExistingAsNew(); 0031 void slotFileOpenRecent(const QUrl &url); 0032 0033 Q_SIGNALS: 0034 void documentSaved(); 0035 0036 private: 0037 class Private; 0038 Private* d; 0039 }; 0040 0041 #endif // DESKTOPVIEWPROXY_H