• 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
28class KDCOPActionProxy;
29class KDCOPPropertyProxy;
30class TDEMainWindow;
31
40class TDEUI_EXPORT TDEMainWindowInterface : virtual public DCOPObject
41{
42K_DCOP
43
44public:
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
61k_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
155private:
156 TDEMainWindow *m_MainWindow;
157 KDCOPActionProxy *m_dcopActionProxy;
158 KDCOPPropertyProxy *m_dcopPropertyProxy;
159};
160
161#endif
162
163
DCOPObject
DCOPObject::processDynamic
virtual bool processDynamic(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
DCOPObject::functionsDynamic
virtual QCStringList functionsDynamic()
DCOPRef
KDCOPActionProxy
A proxy class publishing a DCOP interface for actions.
Definition: kdcopactionproxy.h:40
KDCOPPropertyProxy
TDEMainWindowInterface
DCOP interface to TDEMainWindow.
Definition: tdemainwindowiface.h:41
TDEMainWindow
KDE top level main window
Definition: tdemainwindow.h:99

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.9.4
This website is maintained by Timothy Pearson.