26 #include <tdelibs_export.h>
62 class TDEUI_EXPORT QXEmbed :
public TQWidget
76 QXEmbed( TQWidget *parent=0,
const char *name=0, WFlags f = 0 );
90 static void initialize();
92 enum Protocol { XEMBED, XPLAIN };
108 void setProtocol( Protocol proto );
138 WId embeddedWinId()
const;
148 static void embedClientIntoWindow( TQWidget* client, WId window );
160 static bool processClientCmdline( TQWidget* client,
int& argc,
char ** argv );
169 void sendDelete(
void );
180 void setAutoDelete(
bool );
188 bool autoDelete()
const;
191 TQSize sizeHint()
const;
192 TQSize minimumSizeHint()
const;
193 TQSizePolicy sizePolicy()
const;
194 bool eventFilter( TQObject *, TQEvent * );
195 bool customWhatsThis()
const;
196 void enterWhatsThisMode();
197 virtual void reparent( TQWidget * parent, WFlags f,
const TQPoint & p,
bool showIt =
false );
202 void updateEmbeddedFocus(
bool hasfocus );
211 void embeddedWindowDestroyed();
214 bool event( TQEvent * );
215 void keyPressEvent( TQKeyEvent * );
216 void keyReleaseEvent( TQKeyEvent * );
217 void focusInEvent( TQFocusEvent * );
218 void focusOutEvent( TQFocusEvent * );
219 void resizeEvent(TQResizeEvent *);
220 void showEvent( TQShowEvent * );
221 bool x11Event( XEvent* );
230 virtual void windowChanged( WId w );
232 bool focusNextPrevChild(
bool next );
238 void sendSyntheticConfigureNotifyEvent();
int event(const TQString &message, const TQString &text=TQString::null) KDE_DEPRECATED