summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqwidget.cpp')
-rw-r--r--src/kernel/tqwidget.cpp45
1 files changed, 1 insertions, 44 deletions
diff --git a/src/kernel/tqwidget.cpp b/src/kernel/tqwidget.cpp
index f4f1a8b1c..8dfda823c 100644
--- a/src/kernel/tqwidget.cpp
+++ b/src/kernel/tqwidget.cpp
@@ -66,9 +66,6 @@
#include "qt_windows.h"
#include "qinputcontext_p.h"
#endif
-#if defined(TQ_WS_QWS)
-#include "qwsmanager_qws.h"
-#endif
#include "qfontdata_p.h"
@@ -455,7 +452,7 @@
in the file qapp_xxx.cpp.
*****************************************************************************/
-#if defined(TQ_WS_QWS) || defined(Q_OS_TEMP)
+#if defined(Q_OS_TEMP)
static const int WDictSize = 163; // plenty for small devices
#else
static const int WDictSize = 1123; // plenty for 5 big complex windows
@@ -908,8 +905,6 @@ TQWidget::TQWidget( TQWidget *parent, const char *name, WFlags f, NFlags n )
own_palette = 0;
sizehint_forced = 0;
is_closing = 0;
- in_show = 0;
- in_show_maximized = 0;
im_enabled = FALSE;
#ifndef TQT_NO_LAYOUT
lay_out = 0;
@@ -1159,10 +1154,6 @@ void TQWidget::createTLExtra()
x->ussize = 0;
#endif
x->savedFlags = 0;
-#if defined(TQ_WS_QWS) && !defined(TQT_NO_QWS_MANAGER)
- x->decor_allocated_region = TQRegion();
- x->qwsManager = 0;
-#endif
createTLSysExtra();
}
}
@@ -1221,9 +1212,6 @@ void TQWidget::deleteExtra()
delete extra->topextra->icon;
#endif
delete extra->topextra->focusData;
-#if defined(TQ_WS_QWS) && !defined(TQT_NO_QWS_MANAGER)
- delete extra->topextra->qwsManager;
-#endif
delete extra->topextra;
}
delete extra;
@@ -3992,8 +3980,6 @@ void TQWidget::show()
return;
}
- in_show = TRUE; // set qws recursion watch
-
TQApplication::sendPostedEvents( this, TQEvent::ChildInserted );
uint state = isTopLevel() ? windowState() : 0;
@@ -4085,8 +4071,6 @@ void TQWidget::show()
#if defined(QT_ACCESSIBILITY_SUPPORT)
TQAccessible::updateAccessibility( this, 0, TQAccessible::ObjectShow );
#endif
-
- in_show = FALSE; // reset qws recursion watch
}
/*! \fn void TQWidget::iconify()
@@ -4923,12 +4907,6 @@ bool TQWidget::event( TQEvent *e )
case TQEvent::ApplicationPaletteChange:
if ( !own_palette && !isDesktop() )
unsetPalette();
-# if defined(TQ_WS_QWS) && !defined (TQT_NO_QWS_MANAGER)
- if ( isTopLevel() && topData()->qwsManager ) {
- TQRegion r( topData()->qwsManager->region() );
- TQApplication::postEvent(topData()->qwsManager, new TQPaintEvent(r, FALSE) );
- }
-# endif
break;
#endif
@@ -5632,27 +5610,6 @@ bool TQWidget::x11Event( XEvent * )
}
#endif
-#if defined(TQ_WS_QWS)
-
-/*!
- This special event handler can be reimplemented in a subclass to
- receive native TQt/Embedded events.
-
- In your reimplementation of this function, if you want to stop the
- event being handled by TQt, return TRUE. If you return FALSE, this
- native event is passed back to TQt, which translates the event into
- a TQt event and sends it to the widget.
-
- \warning This function is not portable.
-
- \sa TQApplication::qwsEventFilter()
-*/
-bool TQWidget::qwsEvent( TQWSEvent * )
-{
- return FALSE;
-}
-
-#endif
/*!
\property TQWidget::autoMask