kmainwindowiface.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
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
00133
void hide();
00134
00135
void maximize();
00136
00137
void minimize();
00138
00139
00140
void resize(
int newWidth,
int newHeight);
00141
00142
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
00150
00151
00152
private:
00153
KMainWindow *m_MainWindow;
00154
KDCOPActionProxy *m_dcopActionProxy;
00155
KDCOPPropertyProxy *m_dcopPropertyProxy;
00156 };
00157
00158
#endif
00159
00160
This file is part of the documentation for kdeui Library Version 3.4.0.