26 #include <tdelibs_export.h>
58 class TDEUI_EXPORT QXEmbed :
public TQWidget
72 QXEmbed( TQWidget *parent=0,
const char *name=0, WFlags f = 0 );
86 static void initialize();
88 enum Protocol { XEMBED, XPLAIN };
104 void setProtocol( Protocol proto );
134 WId embeddedWinId()
const;
144 static void embedClientIntoWindow( TQWidget* client, WId window );
156 static bool processClientCmdline( TQWidget* client,
int& argc,
char ** argv );
165 void sendDelete(
void );
176 void setAutoDelete(
bool );
184 bool autoDelete()
const;
187 TQSize sizeHint()
const;
188 TQSize minimumSizeHint()
const;
189 TQSizePolicy sizePolicy()
const;
190 bool eventFilter( TQObject *, TQEvent * );
191 bool customWhatsThis()
const;
192 void enterWhatsThisMode();
193 virtual void reparent( TQWidget * parent, WFlags f,
const TQPoint & p,
bool showIt =
false );
198 void updateEmbeddedFocus(
bool hasfocus );
207 void embeddedWindowDestroyed();
210 bool event( TQEvent * );
211 void keyPressEvent( TQKeyEvent * );
212 void keyReleaseEvent( TQKeyEvent * );
213 void focusInEvent( TQFocusEvent * );
214 void focusOutEvent( TQFocusEvent * );
215 void resizeEvent(TQResizeEvent *);
216 void showEvent( TQShowEvent * );
217 bool x11Event( XEvent* );
226 virtual void windowChanged( WId w );
228 bool focusNextPrevChild(
bool next );
234 void sendSyntheticConfigureNotifyEvent();
int event(const TQString &message, const TQString &text=TQString::null) TDE_DEPRECATED