home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / KoMainWindowIface.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-30  |  1.4 KB  |  49 lines

  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.  
  27. class KDCOPActionProxy;
  28. class KoMainWindow;
  29.  
  30. class KoMainWindowIface : public DCOPObject
  31. {
  32.     K_DCOP
  33. public:
  34.     KoMainWindowIface( KoMainWindow *mainwindow );
  35.     virtual ~KoMainWindowIface();
  36.  
  37. k_dcop:
  38.     DCOPRef action( const QCString &name );
  39.     QCStringList actions();
  40.     QMap<QCString,DCOPRef> actionMap();
  41.     ASYNC print(bool quick);
  42.  
  43. protected:
  44.     KoMainWindow *m_pMainWindow;
  45.     KDCOPActionProxy *m_actionProxy;
  46. };
  47.  
  48. #endif
  49.