F:/KPlato/koffice/libs/kofficecore/KoApplicationAdaptor.h

Aller à la documentation de ce fichier.
00001 /* This file is part of the KDE project
00002    Copyright (C) 2000 David Faure <faure@kde.org>
00003    Copyright (C) 2006 Fredrik Edemar <f_edemar@linux.se>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef __KoApplicationAdaptor_h__
00022 #define __KoApplicationAdaptor_h__
00023 
00024 #include <QtCore/QObject>
00025 #include <QtDBus/QtDBus>
00026 class QByteArray;
00027 template<class T> class QList;
00028 template<class Key, class Value> class QMap;
00029 class QString;
00030 class QStringList;
00031 
00032 
00036 class KoApplicationAdaptor : public QDBusAbstractAdaptor
00037 {
00038   Q_OBJECT
00039   Q_CLASSINFO("D-Bus Interface", "org.kde.koffice.application")
00040 public:
00041    KoApplicationAdaptor(QObject *parent);
00042    virtual ~KoApplicationAdaptor();
00043 
00044 public Q_SLOTS: // METHODS
00049    Q_SCRIPTABLE QString createDocument( const QString &nativeFormat );
00050 
00055    Q_SCRIPTABLE QStringList getDocuments();
00056 
00062    Q_SCRIPTABLE QStringList getViews();
00063 
00068    Q_SCRIPTABLE QStringList getWindows();
00069 };
00070 
00071 #endif
00072 

Généré le Wed Nov 22 23:41:02 2006 pour KPlato par  doxygen 1.5.1-p1