Warning, file /office/calligra/libs/main/KoViewAdaptor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* This file is part of the KDE project
0002    Copyright (c) 2000 Simon Hausmann <hausmann@kde.org>
0003    Copyright (C) 2006 Fredrik Edemar <f_edemar@linux.se>
0004 
0005    $Id: KoViewIface.h 539508 2006-05-10 20:01:40Z mlaurent $
0006 
0007    This library is free software; you can redistribute it and/or
0008    modify it under the terms of the GNU Library General Public
0009    License as published by the Free Software Foundation; either
0010    version 2 of the License, or (at your option) any later version.
0011 
0012    This library is distributed in the hope that it will be useful,
0013    but WITHOUT ANY WARRANTY; without even the implied warranty of
0014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0015    Library General Public License for more details.
0016 
0017    You should have received a copy of the GNU Library General Public License
0018    along with this library; see the file COPYING.LIB.  If not, write to
0019    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0020  * Boston, MA 02110-1301, USA.
0021 */
0022 #ifndef __KoViewAdaptor_h__
0023 #define __KoViewAdaptor_h__
0024 
0025 #ifndef QT_NO_DBUS
0026 
0027 #include <QMap>
0028 #include <QDBusAbstractAdaptor>
0029 
0030 class QString;
0031 class QStringList;
0032 
0033 #include "komain_export.h"
0034 
0035 class KoView;
0036 
0037 class KOMAIN_EXPORT KoViewAdaptor : public QDBusAbstractAdaptor
0038 {
0039     Q_OBJECT
0040     Q_CLASSINFO("D-Bus Interface", "org.kde.calligra.view")
0041 public:
0042     explicit KoViewAdaptor(KoView *view);
0043 
0044     ~KoViewAdaptor() override;
0045 
0046 public Q_SLOTS: // METHODS
0047     Q_SCRIPTABLE QStringList/*DCOPCStringList*/ actions();
0048 
0049 protected:
0050     KoView *m_pView;
0051 
0052 };
0053 
0054 #endif // QT_NO_DBUS
0055 
0056 #endif