summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ntqwidget.h')
-rw-r--r--src/kernel/ntqwidget.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/kernel/ntqwidget.h b/src/kernel/ntqwidget.h
index 2dbb6701..b6c261cc 100644
--- a/src/kernel/ntqwidget.h
+++ b/src/kernel/ntqwidget.h
@@ -52,7 +52,7 @@
#include "ntqsizepolicy.h"
#endif // QT_H
-#if defined(Q_WS_X11) && !defined(QT_NO_IM)
+#if defined(Q_WS_X11) && !defined(TQT_NO_IM)
class TQInputContext;
#endif
@@ -107,11 +107,11 @@ class Q_EXPORT TQWidget : public TQObject, public TQPaintDevice
TQ_PROPERTY( bool ownPalette READ ownPalette )
TQ_PROPERTY( TQFont font READ font WRITE setFont RESET unsetFont STORED ownFont )
TQ_PROPERTY( bool ownFont READ ownFont )
-#ifndef QT_NO_CURSOR
+#ifndef TQT_NO_CURSOR
TQ_PROPERTY( TQCursor cursor READ cursor WRITE setCursor RESET unsetCursor STORED ownCursor )
TQ_PROPERTY( bool ownCursor READ ownCursor )
#endif
-#ifndef QT_NO_WIDGET_TOPEXTRA
+#ifndef TQT_NO_WIDGET_TOPEXTRA
TQ_PROPERTY( TQString caption READ caption WRITE setCaption )
TQ_PROPERTY( TQPixmap icon READ icon WRITE setIcon )
TQ_PROPERTY( TQString iconText READ iconText WRITE setIconText )
@@ -145,7 +145,7 @@ public:
WId winId() const;
void setName( const char *name );
-#ifndef QT_NO_STYLE
+#ifndef TQT_NO_STYLE
// GUI style setting
TQStyle &style() const;
@@ -236,7 +236,7 @@ public:
const TQPixmap * erasePixmap() const;
virtual void setErasePixmap( const TQPixmap & );
-#ifndef QT_NO_PALETTE
+#ifndef TQT_NO_PALETTE
const TQColorGroup & colorGroup() const;
const TQPalette & palette() const;
bool ownPalette() const;
@@ -262,13 +262,13 @@ public:
TQFontMetrics fontMetrics() const;
TQFontInfo fontInfo() const;
-#ifndef QT_NO_CURSOR
+#ifndef TQT_NO_CURSOR
const TQCursor &cursor() const;
bool ownCursor() const;
virtual void setCursor( const TQCursor & );
virtual void unsetCursor();
#endif
-#ifndef QT_NO_WIDGET_TOPEXTRA
+#ifndef TQT_NO_WIDGET_TOPEXTRA
TQString caption() const;
const TQPixmap *icon() const;
TQString iconText() const;
@@ -286,7 +286,7 @@ public:
virtual void setBackgroundPixmap( const TQPixmap & ); // obsolete, use setErasePixmap()
public slots:
-#ifndef QT_NO_WIDGET_TOPEXTRA
+#ifndef TQT_NO_WIDGET_TOPEXTRA
virtual void setCaption( const TQString &);
virtual void setIcon( const TQPixmap & );
virtual void setIconText( const TQString &);
@@ -323,7 +323,7 @@ public:
// Grab functions
void grabMouse();
-#ifndef QT_NO_CURSOR
+#ifndef TQT_NO_CURSOR
void grabMouse( const TQCursor & );
#endif
void releaseMouse();
@@ -406,7 +406,7 @@ public slots:
virtual void adjustSize();
public:
-#ifndef QT_NO_LAYOUT
+#ifndef TQT_NO_LAYOUT
TQLayout * layout() const { return lay_out; }
#endif
void updateGeometry();
@@ -499,7 +499,7 @@ protected:
virtual void mouseReleaseEvent( TQMouseEvent * );
virtual void mouseDoubleClickEvent( TQMouseEvent * );
virtual void mouseMoveEvent( TQMouseEvent * );
-#ifndef QT_NO_WHEELEVENT
+#ifndef TQT_NO_WHEELEVENT
virtual void wheelEvent( TQWheelEvent * );
#endif
virtual void keyPressEvent( TQKeyEvent * );
@@ -518,7 +518,7 @@ protected:
virtual void imEndEvent( TQIMEvent * );
virtual void tabletEvent( TQTabletEvent * );
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
virtual void dragEnterEvent( TQDragEnterEvent * );
virtual void dragMoveEvent( TQDragMoveEvent * );
virtual void dragLeaveEvent( TQDragLeaveEvent * );
@@ -547,11 +547,11 @@ protected:
// Misc. protected functions
-#ifndef QT_NO_STYLE
+#ifndef TQT_NO_STYLE
virtual void styleChange( TQStyle& );
#endif
virtual void enabledChange( bool oldEnabled );
-#ifndef QT_NO_PALETTE
+#ifndef TQT_NO_PALETTE
virtual void paletteChange( const TQPalette & );
#endif
virtual void fontChange( const TQFont & );
@@ -560,7 +560,7 @@ protected:
int metric( int ) const;
#if defined(Q_WS_X11)
-#if !defined(QT_NO_IM_EXTENSIONS)
+#if !defined(TQT_NO_IM_EXTENSIONS)
virtual TQWidget *icHolderWidget();
#else
TQWidget *icHolderWidget();
@@ -614,7 +614,7 @@ private:
void unfocusInputContext();
void checkChildrenDnd();
-#ifndef QT_NO_XSYNC
+#ifndef TQT_NO_XSYNC
void createSyncCounter();
void destroySyncCounter();
void incrementSyncCounter();
@@ -640,7 +640,7 @@ private:
friend class TQDragManager;
#endif
-#ifndef QT_NO_LAYOUT
+#ifndef TQT_NO_LAYOUT
void setLayout( TQLayout *l );
#endif
void setWinId( WId );
@@ -689,14 +689,14 @@ private:
uint im_enabled : 1;
TQRect crect;
TQColor bg_col;
-#ifndef QT_NO_PALETTE
+#ifndef TQT_NO_PALETTE
TQPalette pal;
#endif
TQFont fnt;
-#ifndef QT_NO_LAYOUT
+#ifndef TQT_NO_LAYOUT
TQLayout *lay_out;
#endif
-#if defined(Q_WS_X11) && !defined(QT_NO_IM) && !defined(QT_NO_IM_EXTENSIONS)
+#if defined(Q_WS_X11) && !defined(TQT_NO_IM) && !defined(TQT_NO_IM_EXTENSIONS)
TQInputContext *ic; // Input Context
#endif
TQWExtra *extra;
@@ -721,7 +721,7 @@ private:
TQRegion paintableRegion() const;
void updateGraphicsContext( TQGfx *qgfx_qws, bool clip_children ) const;
-#ifndef QT_NO_CURSOR
+#ifndef TQT_NO_CURSOR
void updateCursor( const TQRegion &r ) const;
#endif
@@ -753,7 +753,7 @@ private: // Disabled copy constructor and operator=
#endif
public: // obsolete functions to dissappear or to become inline in 3.0
-#ifndef QT_NO_PALETTE
+#ifndef TQT_NO_PALETTE
void setPalette( const TQPalette &p, bool ) { setPalette( p ); }
#endif
void setFont( const TQFont &f, bool ) { setFont( f ); }
@@ -835,7 +835,7 @@ inline void TQWidget::setBaseSize( const TQSize &s )
inline const TQColor &TQWidget::eraseColor() const
{ return bg_col; }
-#ifndef QT_NO_PALETTE
+#ifndef TQT_NO_PALETTE
inline const TQPalette &TQWidget::palette() const
{ return pal; }
#endif
@@ -951,7 +951,7 @@ inline void TQWidget::constPolish() const
that->setWState(WState_Polished); // be on the safe side...
}
}
-#ifndef QT_NO_CURSOR
+#ifndef TQT_NO_CURSOR
inline bool TQWidget::ownCursor() const
{
return testWState( WState_OwnCursor );
@@ -961,7 +961,7 @@ inline bool TQWidget::ownFont() const
{
return own_font;
}
-#ifndef QT_NO_PALETTE
+#ifndef TQT_NO_PALETTE
inline bool TQWidget::ownPalette() const
{
return own_palette;
@@ -992,7 +992,7 @@ class TQMacDndExtra;
#endif
struct Q_EXPORT TQTLWExtra {
-#ifndef QT_NO_WIDGET_TOPEXTRA
+#ifndef TQT_NO_WIDGET_TOPEXTRA
TQString caption; // widget caption
TQString iconText; // widget icon text
TQPixmap *icon; // widget icon
@@ -1015,10 +1015,10 @@ struct Q_EXPORT TQTLWExtra {
uint dnd : 1; // DND properties installed
uint uspos : 1; // User defined position
uint ussize : 1; // User defined size
-#if defined(QT_NO_IM_EXTENSIONS)
+#if defined(TQT_NO_IM_EXTENSIONS)
void *xic; // Input Context
#endif
-#ifndef QT_NO_XSYNC
+#ifndef TQT_NO_XSYNC
ulong syncCounter;
uint syncRequestValue[2];
#endif
@@ -1028,7 +1028,7 @@ struct Q_EXPORT TQTLWExtra {
uint is_moved: 1;
uint resizer : 4;
#endif
-#if defined(Q_WS_QWS) && !defined ( QT_NO_QWS_MANAGER )
+#if defined(Q_WS_QWS) && !defined ( TQT_NO_QWS_MANAGER )
TQRegion decor_allocated_region; // decoration allocated region
TQWSManager *qwsManager;
#endif
@@ -1051,7 +1051,7 @@ struct Q_EXPORT TQWExtra {
TQ_INT16 maxw, maxh; // maximum size
TQPixmap *bg_pix; // background pixmap
TQWidget *focus_proxy;
-#ifndef QT_NO_CURSOR
+#ifndef TQT_NO_CURSOR
TQCursor *curs;
#endif
TQTLWExtra *topextra; // only useful for TLWs
@@ -1082,7 +1082,7 @@ struct Q_EXPORT TQWExtra {
#endif
char bg_mode; // background mode
char bg_mode_visual; // visual background mode
-#ifndef QT_NO_STYLE
+#ifndef TQT_NO_STYLE
TQStyle* style;
#endif
TQRect micro_focus_hint; // micro focus hint