diff options
Diffstat (limited to 'src/kernel/tqwidget.h')
-rw-r--r-- | src/kernel/tqwidget.h | 51 |
1 files changed, 1 insertions, 50 deletions
diff --git a/src/kernel/tqwidget.h b/src/kernel/tqwidget.h index d328dd95d..a83c90a91 100644 --- a/src/kernel/tqwidget.h +++ b/src/kernel/tqwidget.h @@ -61,7 +61,6 @@ struct TQWExtra; struct TQTLWExtra; class TQFocusData; class TQCursor; -class TQWSRegionManager; class TQStyle; class TQStyleControlElementData; @@ -336,9 +335,6 @@ public: bool isUpdatesEnabled() const; -#if 0 //def TQ_WS_QWS - void repaintUnclipped( const TQRegion &, bool erase = TRUE ); -#endif public slots: virtual void setUpdatesEnabled( bool enable ); void update(); @@ -466,9 +462,6 @@ public: TQWidget *childAt( int x, int y, bool includeThis = FALSE ) const; TQWidget *childAt( const TQPoint &, bool includeThis = FALSE ) const; -#if defined(TQ_WS_QWS) - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; -#endif #if defined(TQ_WS_MAC) TQRegion clippedRegion(bool do_children=TRUE); uint clippedSerial(bool do_children=TRUE); @@ -537,11 +530,6 @@ protected: #if defined(TQ_WS_X11) virtual bool x11Event( XEvent * ); #endif -#if defined(TQ_WS_QWS) - virtual bool qwsEvent( TQWSEvent * ); - virtual unsigned char *scanLine( int ) const; - virtual int bytesPerLine() const; -#endif virtual void updateMask(); @@ -683,8 +671,6 @@ private: uint own_palette :1; uint sizehint_forced :1; uint is_closing :1; - uint in_show : 1; - uint in_show_maximized : 1; uint fstrut_dirty : 1; uint im_enabled : 1; TQRect crect; @@ -700,36 +686,6 @@ private: TQInputContext *ic; // Input Context #endif TQWExtra *extra; -#if defined(TQ_WS_QWS) - TQRegion req_region; // Requested region - mutable TQRegion paintable_region; // Paintable region - mutable bool paintable_region_dirty;// needs to be recalculated - mutable TQRegion alloc_region; // Allocated region - mutable bool alloc_region_dirty; // needs to be recalculated - mutable int overlapping_children; // Handle overlapping children - - int alloc_region_index; - int alloc_region_revision; - - void updateOverlappingChildren() const; - void setChildrenAllocatedDirty(); - void setChildrenAllocatedDirty( const TQRegion &r, const TQWidget *dirty=0 ); - bool isAllocatedRegionDirty() const; - void updateRequestedRegion( const TQPoint &gpos ); - TQRegion requestedRegion() const; - TQRegion allocatedRegion() const; - TQRegion paintableRegion() const; - - void updateGraphicsContext( TQGfx *qgfx_qws, bool clip_children ) const; -#ifndef TQT_NO_CURSOR - void updateCursor( const TQRegion &r ) const; -#endif - - // used to accumulate dirty region when children moved/resized. - TQRegion dirtyChildren; - bool isSettingGeometry; - friend class TQWSManager; -#endif static int instanceCounter; // Current number of widget instances static int maxInstances; // Maximum number of widget instances @@ -983,7 +939,6 @@ inline bool TQWidget::isInputMethodEnabled() const // - top-level widgets have extra extra data to reduce cost further class TQFocusData; -class TQWSManager; #if defined(TQ_WS_WIN) class TQOleDropTarget; #endif @@ -1028,10 +983,6 @@ struct TQ_EXPORT TQTLWExtra { uint is_moved: 1; uint resizer : 4; #endif -#if defined(TQ_WS_QWS) && !defined ( TQT_NO_QWS_MANAGER ) - TQRegion decor_allocated_region; // decoration allocated region - TQWSManager *qwsManager; -#endif #if defined(TQ_WS_WIN) HICON winIcon; // internal Windows icon #endif @@ -1077,7 +1028,7 @@ struct TQ_EXPORT TQWExtra { uint children_use_dnd : 1; uint compress_events : 1; #endif -#if defined(TQ_WS_QWS) || defined(TQ_WS_MAC) +#if defined(TQ_WS_MAC) TQRegion mask; // widget mask #endif char bg_mode; // background mode |