summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqwidget.h')
-rw-r--r--src/kernel/tqwidget.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/kernel/tqwidget.h b/src/kernel/tqwidget.h
index cf0325f3c..ce26e00cb 100644
--- a/src/kernel/tqwidget.h
+++ b/src/kernel/tqwidget.h
@@ -342,9 +342,9 @@ public slots:
void update( const TQRect& );
void repaint();
void repaint( bool erase );
- void repaint( int x, int y, int w, int h, bool erase=TRUE );
- void repaint( const TQRect &, bool erase = TRUE );
- void repaint( const TQRegion &, bool erase = TRUE );
+ void repaint( int x, int y, int w, int h, bool erase=true );
+ void repaint( const TQRect &, bool erase = true );
+ void repaint( const TQRegion &, bool erase = true );
// Widget management functions
@@ -392,7 +392,7 @@ public:
virtual TQSize minimumSizeHint() const;
virtual TQSizePolicy sizePolicy() const;
virtual void setSizePolicy( TQSizePolicy );
- void setSizePolicy( TQSizePolicy::SizeType hor, TQSizePolicy::SizeType ver, bool hfw = FALSE );
+ void setSizePolicy( TQSizePolicy::SizeType hor, TQSizePolicy::SizeType ver, bool hfw = false );
virtual int heightForWidth(int) const;
TQRegion clipRegion() const;
@@ -407,12 +407,12 @@ public:
#endif
void updateGeometry();
virtual void reparent( TQWidget *parent, WFlags, const TQPoint &,
- bool showIt=FALSE );
+ bool showIt=false );
void reparent( TQWidget *parent, const TQPoint &,
- bool showIt=FALSE );
+ bool showIt=false );
#ifndef TQT_NO_COMPAT
void recreate( TQWidget *parent, WFlags f, const TQPoint & p,
- bool showIt=FALSE ) { reparent(parent,f,p,showIt); }
+ bool showIt=false ) { reparent(parent,f,p,showIt); }
#endif
void erase();
@@ -449,7 +449,7 @@ public:
// whats this help
virtual bool customWhatsThis() const;
- TQWidget * parentWidget( bool sameWindow = FALSE ) const;
+ TQWidget * parentWidget( bool sameWindow = false ) const;
WState testWState( WState s ) const;
WFlags testWFlags( WFlags f ) const;
NFlags testNFlags( NFlags f ) const;
@@ -459,14 +459,14 @@ public:
static TQWidget * find( WId );
static TQWidgetMapper *wmapper();
- TQWidget *childAt( int x, int y, bool includeThis = FALSE ) const;
- TQWidget *childAt( const TQPoint &, bool includeThis = FALSE ) const;
+ TQWidget *childAt( int x, int y, bool includeThis = false ) const;
+ TQWidget *childAt( const TQPoint &, bool includeThis = false ) const;
#if defined(TQ_WS_MAC)
- TQRegion clippedRegion(bool do_children=TRUE);
- uint clippedSerial(bool do_children=TRUE);
+ TQRegion clippedRegion(bool do_children=true);
+ uint clippedSerial(bool do_children=true);
#ifndef TQMAC_NO_QUARTZ
- CGContextRef macCGContext(bool clipped=TRUE) const;
+ CGContextRef macCGContext(bool clipped=true) const;
#endif
#endif
#if defined(TQ_WS_X11)
@@ -561,10 +561,10 @@ protected:
#endif
void resetInputContext();
- virtual void create( WId = 0, bool initializeWindow = TRUE,
- bool destroyOldWindow = TRUE );
- virtual void destroy( bool destroyWindow = TRUE,
- bool destroySubWindows = TRUE );
+ virtual void create( WId = 0, bool initializeWindow = true,
+ bool destroyOldWindow = true );
+ virtual void destroy( bool destroyWindow = true,
+ bool destroySubWindows = true );
virtual void setWState( uint );
void clearWState( uint n );
virtual void setWFlags( WFlags );
@@ -579,7 +579,7 @@ protected:
TQFocusData *focusData();
virtual void setKeyCompression(bool);
- virtual void setMicroFocusHint(int x, int y, int w, int h, bool text=TRUE, TQFont *f = 0);
+ virtual void setMicroFocusHint(int x, int y, int w, int h, bool text=true, TQFont *f = 0);
#if defined(TQ_WS_MAC)
void dirtyClippedRegion(bool);
@@ -613,7 +613,7 @@ private:
uint own_id : 1, macDropEnabled : 1;
EventHandlerRef window_event;
//mac event functions
- void propagateUpdates(bool update_rgn=TRUE);
+ void propagateUpdates(bool update_rgn=true);
void update( const TQRegion& );
//friends, way too many - fix this immediately!
friend void qt_clean_root_win();
@@ -824,7 +824,7 @@ inline void TQWidget::update( const TQRect &r )
{ update( r.x(), r.y(), r.width(), r.height() ); }
inline void TQWidget::repaint()
-{ repaint( TRUE ); }
+{ repaint( true ); }
inline void TQWidget::repaint( const TQRect &r, bool erase )
{ repaint( r.x(), r.y(), r.width(), r.height(), erase ); }
@@ -836,7 +836,7 @@ inline void TQWidget::erase( const TQRect &r )
{ erase( r.x(), r.y(), r.width(), r.height() ); }
inline bool TQWidget::close()
-{ return close( FALSE ); }
+{ return close( false ); }
inline bool TQWidget::isVisible() const
{ return testWState(WState_Visible); }