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

tdeui

  • tdeui
tdemainwindowiface.h
1 /* This file is part of the KDE project
2  Copyright (C) 2001 Ian Reinhart Geiser <geiseri@yahoo.com>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this program; see the file COPYING. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef TDEWINDOW_INTERFACE_H
21 #define TDEWINDOW_INTERFACE_H
22 
23 #include <dcopobject.h>
24 #include <tqstringlist.h>
25 #include <tqcstring.h>
26 #include <dcopref.h>
27 
28 class KDCOPActionProxy;
29 class KDCOPPropertyProxy;
30 class TDEMainWindow;
31 
40 class TDEUI_EXPORT TDEMainWindowInterface : virtual public DCOPObject
41 {
42 K_DCOP
43 
44 public:
50  TDEMainWindowInterface( TDEMainWindow * mainWindow );
55  ~TDEMainWindowInterface();
56 
57  QCStringList functionsDynamic();
58  bool processDynamic(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData);
59 
60 
61 k_dcop:
66  QCStringList actions();
67 
74  bool activateAction( TQCString action);
75 
82  bool disableAction( TQCString action);
83 
90  bool enableAction( TQCString action);
91 
98  bool actionIsEnabled( TQCString action);
99 
106  TQCString actionToolTip( TQCString action);
107 
114  DCOPRef action( const TQCString &name );
115 
119  TQMap<TQCString,DCOPRef> actionMap();
126  int getWinID();
131  void grabWindowToClipBoard();
132 // bool isHidden();
133  void hide();
134 // bool isMaximized();
135  void maximize();
136 // bool isMinimized();
137  void minimize();
138 // int width();
139 // int height();
140  void resize(int newWidth, int newHeight);
141 // int Xpos();
142 // int Ypos();
143  void move(int newX, int newY);
144  void setGeometry(int newX, int newY, int newWidth, int newHeight);
145  void raise();
146  void lower();
147  void restore();
148  void show();
149  void close();
150  void setActiveWindow();
151  void setActiveWindowFocused();
152 
153 // QCStringList getQTProperties();
154 
155 private:
156  TDEMainWindow *m_MainWindow;
157  KDCOPActionProxy *m_dcopActionProxy;
158  KDCOPPropertyProxy *m_dcopPropertyProxy;
159 };
160 
161 #endif
162 
163 
TDEMainWindowInterface
DCOP interface to TDEMainWindow.
Definition: tdemainwindowiface.h:40
DCOPRef
TDEMainWindow
KDE top level main window
Definition: tdemainwindow.h:98
KDCOPActionProxy
A proxy class publishing a DCOP interface for actions.
Definition: kdcopactionproxy.h:39
KDCOPPropertyProxy
DCOPObject::processDynamic
virtual bool processDynamic(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
DCOPObject
DCOPObject::functionsDynamic
virtual QCStringList functionsDynamic()

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
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.8.8
This website is maintained by Timothy Pearson.