• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

kmainwindowiface.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright (C) 2001 Ian Reinhart Geiser <geiseri@yahoo.com>
00003 
00004    This program is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012     General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this program; see the file COPYING.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017    Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef KWINDOW_INTERFACE_H
00021 #define KWINDOW_INTERFACE_H
00022 
00023 #include <dcopobject.h>
00024 #include <qstringlist.h>
00025 #include <qcstring.h>
00026 #include <dcopref.h>
00027 
00028 class KDCOPActionProxy;
00029 class KDCOPPropertyProxy;
00030 class KMainWindow;
00031 
00040 class KDEUI_EXPORT KMainWindowInterface : virtual public DCOPObject
00041 {
00042 K_DCOP
00043 
00044 public:
00050     KMainWindowInterface( KMainWindow * mainWindow );
00055     ~KMainWindowInterface();
00056 
00057     QCStringList functionsDynamic();
00058     bool processDynamic(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData);
00059 
00060 
00061 k_dcop:
00066     QCStringList actions();
00067 
00074     bool activateAction( QCString action);
00075 
00082     bool disableAction( QCString action);
00083 
00090     bool enableAction( QCString action);
00091 
00098     bool actionIsEnabled( QCString action);
00099 
00106     QCString actionToolTip( QCString action);
00107 
00114     DCOPRef action( const QCString &name );
00115 
00119         QMap<QCString,DCOPRef> actionMap();
00126     int getWinID();
00131     void grabWindowToClipBoard();
00132 //  bool isHidden();
00133     void hide();
00134 //  bool isMaximized();
00135     void maximize();
00136 //  bool isMinimized();
00137     void minimize();
00138 //  int width();
00139 //  int height();
00140     void resize(int newWidth, int newHeight);
00141 //  int Xpos();
00142 //  int Ypos();
00143     void move(int newX, int newY);
00144     void setGeometry(int newX, int newY, int newWidth, int newHeight);
00145     void raise();
00146     void lower();
00147     void restore();
00148     void show();
00149     void close();
00150 
00151 //  QCStringList getQTProperties();
00152 
00153 private:
00154     KMainWindow *m_MainWindow;
00155     KDCOPActionProxy *m_dcopActionProxy;
00156     KDCOPPropertyProxy *m_dcopPropertyProxy;
00157 };
00158 
00159 #endif
00160 
00161 

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal