• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

tdemainwindowiface.h

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 TDEWINDOW_INTERFACE_H
00021 #define TDEWINDOW_INTERFACE_H
00022 
00023 #include <dcopobject.h>
00024 #include <tqstringlist.h>
00025 #include <tqcstring.h>
00026 #include <dcopref.h>
00027 
00028 class KDCOPActionProxy;
00029 class KDCOPPropertyProxy;
00030 class TDEMainWindow;
00031 
00040 class TDEUI_EXPORT TDEMainWindowInterface : virtual public DCOPObject
00041 {
00042 K_DCOP
00043 
00044 public:
00050     TDEMainWindowInterface( TDEMainWindow * mainWindow );
00055     ~TDEMainWindowInterface();
00056 
00057     QCStringList functionsDynamic();
00058     bool processDynamic(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData);
00059 
00060 
00061 k_dcop:
00066     QCStringList actions();
00067 
00074     bool activateAction( TQCString action);
00075 
00082     bool disableAction( TQCString action);
00083 
00090     bool enableAction( TQCString action);
00091 
00098     bool actionIsEnabled( TQCString action);
00099 
00106     TQCString actionToolTip( TQCString action);
00107 
00114     DCOPRef action( const TQCString &name );
00115 
00119         TQMap<TQCString,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     void setActiveWindow();
00151     void setActiveWindowFocused();
00152 
00153 //  QCStringList getQTProperties();
00154 
00155 private:
00156     TDEMainWindow *m_MainWindow;
00157     KDCOPActionProxy *m_dcopActionProxy;
00158     KDCOPPropertyProxy *m_dcopPropertyProxy;
00159 };
00160 
00161 #endif
00162 
00163 

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.6.3
This website is maintained by Timothy Pearson.