summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/ntqaction.h2
-rw-r--r--src/widgets/ntqbutton.h4
-rw-r--r--src/widgets/ntqgrid.h2
-rw-r--r--src/widgets/ntqlineedit.h6
-rw-r--r--src/widgets/ntqlistbox.h8
-rw-r--r--src/widgets/ntqtoolbutton.h2
-rw-r--r--src/widgets/ntqtooltip.h2
-rw-r--r--src/widgets/qbutton.cpp4
-rw-r--r--src/widgets/qlistbox.cpp4
-rw-r--r--src/widgets/qtoolbutton.cpp8
10 files changed, 21 insertions, 21 deletions
diff --git a/src/widgets/ntqaction.h b/src/widgets/ntqaction.h
index 48f72f0f..1ca1032c 100644
--- a/src/widgets/ntqaction.h
+++ b/src/widgets/ntqaction.h
@@ -201,7 +201,7 @@ private slots:
private:
TQActionGroupPrivate* d;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
public:
void insert( TQAction* a ) { add( a ); }
#endif
diff --git a/src/widgets/ntqbutton.h b/src/widgets/ntqbutton.h
index b59ac090..9c47e60e 100644
--- a/src/widgets/ntqbutton.h
+++ b/src/widgets/ntqbutton.h
@@ -96,7 +96,7 @@ public:
enum ToggleState { Off, NoChange, On };
ToggleState state() const;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool autoResize() const;
void setAutoResize( bool );
#endif
@@ -196,7 +196,7 @@ inline bool TQButton::isOn() const
return ToggleState(stat) != Off;
}
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
inline bool TQButton::autoResize() const
{
return autoresize;
diff --git a/src/widgets/ntqgrid.h b/src/widgets/ntqgrid.h
index c557fa99..ff5bab2b 100644
--- a/src/widgets/ntqgrid.h
+++ b/src/widgets/ntqgrid.h
@@ -56,7 +56,7 @@ public:
void setSpacing( int );
TQSize sizeHint() const;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
typedef Orientation Direction;
#endif
diff --git a/src/widgets/ntqlineedit.h b/src/widgets/ntqlineedit.h
index f8aecede..28d00b18 100644
--- a/src/widgets/ntqlineedit.h
+++ b/src/widgets/ntqlineedit.h
@@ -109,7 +109,7 @@ public:
int alignment() const;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
void cursorLeft( bool mark, int steps = 1 ) { cursorForward( mark, -steps ); }
void cursorRight( bool mark, int steps = 1 ) { cursorForward( mark, steps ); }
#endif
@@ -135,7 +135,7 @@ public:
bool isUndoAvailable() const;
bool isRedoAvailable() const;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool hasMarkedText() const { return hasSelectedText(); }
TQString markedText() const { return selectedText(); }
#endif
@@ -202,7 +202,7 @@ protected:
bool sendMouseEventToInputContext( TQMouseEvent *e );
virtual TQPopupMenu *createPopupMenu();
void windowActivationChange( bool );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
void repaintArea( int, int ) { update(); }
#endif
diff --git a/src/widgets/ntqlistbox.h b/src/widgets/ntqlistbox.h
index c9790959..7584e4f8 100644
--- a/src/widgets/ntqlistbox.h
+++ b/src/widgets/ntqlistbox.h
@@ -169,7 +169,7 @@ public:
void viewportPaintEvent( TQPaintEvent * );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool dragSelect() const { return TRUE; }
void setDragSelect( bool ) {}
bool autoScroll() const { return TRUE; }
@@ -258,7 +258,7 @@ protected:
void updateItem( int index );
void updateItem( TQListBoxItem * );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
void updateCellWidth() { }
int totalWidth() const { return contentsWidth(); }
int totalHeight() const { return contentsHeight(); }
@@ -273,7 +273,7 @@ protected:
void windowActivationChange( bool );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool itemYPos( int index, int *yPos ) const;
int findItem( int yPos ) const { return index(itemAt(TQPoint(0,yPos)) ); }
#endif
@@ -331,7 +331,7 @@ public:
bool isSelected() const { return s; }
bool isCurrent() const;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool selected() const { return isSelected(); }
bool current() const { return isCurrent(); }
#endif
diff --git a/src/widgets/ntqtoolbutton.h b/src/widgets/ntqtoolbutton.h
index 5ac2ad01..45733ea1 100644
--- a/src/widgets/ntqtoolbutton.h
+++ b/src/widgets/ntqtoolbutton.h
@@ -94,7 +94,7 @@ public:
TQSize sizeHint() const;
TQSize minimumSizeHint() const;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
void setOnIconSet( const TQIconSet& );
void setOffIconSet( const TQIconSet& );
void setIconSet( const TQIconSet &, bool on );
diff --git a/src/widgets/ntqtooltip.h b/src/widgets/ntqtooltip.h
index 94feb9bf..873634df 100644
--- a/src/widgets/ntqtooltip.h
+++ b/src/widgets/ntqtooltip.h
@@ -114,7 +114,7 @@ public:
static TQPalette palette();
static void setPalette( const TQPalette & );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
static void setEnabled( bool enable ) { setGloballyEnabled( enable ); }
static bool enabled() { return isGloballyEnabled(); }
#endif
diff --git a/src/widgets/qbutton.cpp b/src/widgets/qbutton.cpp
index 71a2763c..eb2a196a 100644
--- a/src/widgets/qbutton.cpp
+++ b/src/widgets/qbutton.cpp
@@ -38,7 +38,7 @@
**
**********************************************************************/
-#undef QT_NO_COMPAT
+#undef TQT_NO_COMPAT
#include "ntqbutton.h"
#ifndef QT_NO_BUTTON
#include "ntqbuttongroup.h"
@@ -554,7 +554,7 @@ void TQButton::setAccel( const TQKeySequence& key )
}
#endif
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
void TQButton::setAutoResize( bool enable )
{
diff --git a/src/widgets/qlistbox.cpp b/src/widgets/qlistbox.cpp
index 71f29fc7..2e5e059f 100644
--- a/src/widgets/qlistbox.cpp
+++ b/src/widgets/qlistbox.cpp
@@ -3958,7 +3958,7 @@ TQRect TQListBox::itemRect( TQListBoxItem *item ) const
}
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
/*!
\obsolete
@@ -4149,7 +4149,7 @@ void TQListBox::showEvent( TQShowEvent * )
ensureCurrentVisible();
}
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
/*!
\obsolete
diff --git a/src/widgets/qtoolbutton.cpp b/src/widgets/qtoolbutton.cpp
index cb10ffba..aa4ae4c1 100644
--- a/src/widgets/qtoolbutton.cpp
+++ b/src/widgets/qtoolbutton.cpp
@@ -38,7 +38,7 @@
**
**********************************************************************/
-#undef QT_NO_COMPAT
+#undef TQT_NO_COMPAT
#include "ntqtoolbutton.h"
#ifndef QT_NO_TOOLBUTTON
@@ -685,7 +685,7 @@ void TQToolButton::setTextLabel( const TQString &newLabel , bool tipToo )
}
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
TQIconSet TQToolButton::onIconSet() const
{
@@ -787,7 +787,7 @@ void TQToolButton::setIconSet( const TQIconSet & set )
\sa iconSet TQIconSet::State
*/
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
void TQToolButton::setIconSet( const TQIconSet & set, bool /* on */ )
{
@@ -818,7 +818,7 @@ TQIconSet TQToolButton::iconSet() const
return TQIconSet();
}
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
/*! \overload
\obsolete