lib

KoMainWindowIface.h
1/* This file is part of the KDE project
2 Copyright (c) 2001 Davud Faure <faure@kde.org>
3
4 $Id: KoMainWindowIface.h 466447 2005-10-02 17:54:10Z zander $
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
10
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
15
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20*/
21#ifndef __KoMainWindowIface_h__
22#define __KoMainWindowIface_h__
23
24#include <dcopobject.h>
25#include <dcopref.h>
26
28class KoMainWindow;
29
30class KoMainWindowIface : public DCOPObject
31{
32 K_DCOP
33public:
34 KoMainWindowIface( KoMainWindow *mainwindow );
35 virtual ~KoMainWindowIface();
36
37k_dcop:
38 DCOPRef action( const TQCString &name );
39 QCStringList actions();
40 TQMap<TQCString,DCOPRef> actionMap();
41 ASYNC print(bool quick);
42
43protected:
44 KoMainWindow *m_pMainWindow;
45 KDCOPActionProxy *m_actionProxy;
46};
47
48#endif
Main window for a KOffice application.