summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/ntqheader.h2
-rw-r--r--src/widgets/qaction.cpp12
-rw-r--r--src/widgets/qbutton.cpp2
-rw-r--r--src/widgets/qcombobox.cpp4
-rw-r--r--src/widgets/qdatetimeedit.cpp4
-rw-r--r--src/widgets/qdialogbuttons.cpp4
-rw-r--r--src/widgets/qdockarea.cpp22
-rw-r--r--src/widgets/qheader.cpp6
-rw-r--r--src/widgets/qlcdnumber.cpp8
-rw-r--r--src/widgets/qlineedit.cpp4
-rw-r--r--src/widgets/qlistbox.cpp12
-rw-r--r--src/widgets/qlistview.cpp18
-rw-r--r--src/widgets/qmenudata.cpp2
-rw-r--r--src/widgets/qpopupmenu.cpp4
-rw-r--r--src/widgets/qrangecontrol.cpp2
-rw-r--r--src/widgets/qscrollview.cpp8
-rw-r--r--src/widgets/qslider.cpp2
-rw-r--r--src/widgets/qstatusbar.cpp4
-rw-r--r--src/widgets/qtextbrowser.cpp4
-rw-r--r--src/widgets/qtextedit.cpp14
-rw-r--r--src/widgets/qtoolbutton.cpp6
-rw-r--r--src/widgets/qwhatsthis.cpp4
22 files changed, 74 insertions, 74 deletions
diff --git a/src/widgets/ntqheader.h b/src/widgets/ntqheader.h
index 09a2ce359..b079e3af9 100644
--- a/src/widgets/ntqheader.h
+++ b/src/widgets/ntqheader.h
@@ -212,7 +212,7 @@ inline TQHeader::Orientation TQHeader::orientation() const
inline void TQHeader::setTracking( bool enable ) { trackingIsOn = enable; }
inline bool TQHeader::tracking() const { return trackingIsOn; }
-extern Q_EXPORT bool qt_qheader_label_return_null_strings; // needed for professional edition
+extern Q_EXPORT bool tqt_qheader_label_return_null_strings; // needed for professional edition
#endif // QT_NO_HEADER
diff --git a/src/widgets/qaction.cpp b/src/widgets/qaction.cpp
index d911717c1..314a4f705 100644
--- a/src/widgets/qaction.cpp
+++ b/src/widgets/qaction.cpp
@@ -785,7 +785,7 @@ void TQAction::setAccel( const TQKeySequence& key )
}
#if defined(QT_CHECK_STATE)
else
- qWarning( "TQAction::setAccel() (%s) requires widget in parent chain", name() );
+ tqWarning( "TQAction::setAccel() (%s) requires widget in parent chain", name() );
#endif
d->update();
}
@@ -841,7 +841,7 @@ void TQAction::activate()
{
if ( isToggleAction() ) {
#if defined(QT_CHECK_STATE)
- qWarning( "TQAction::%s() (%s) Toggle actions "
+ tqWarning( "TQAction::%s() (%s) Toggle actions "
"can not be activated", "activate", name() );
#endif
return;
@@ -858,7 +858,7 @@ void TQAction::toggle()
{
if ( !isToggleAction() ) {
#if defined(QT_CHECK_STATE)
- qWarning( "TQAction::%s() (%s) Only toggle actions "
+ tqWarning( "TQAction::%s() (%s) Only toggle actions "
"can be switched", "toggle", name() );
#endif
return;
@@ -882,7 +882,7 @@ void TQAction::setOn( bool enable )
if ( !isToggleAction() ) {
#if defined(QT_CHECK_STATE)
if ( enable )
- qWarning( "TQAction::%s() (%s) Only toggle actions "
+ tqWarning( "TQAction::%s() (%s) Only toggle actions "
"can be switched", "setOn", name() );
#endif
return;
@@ -1066,7 +1066,7 @@ bool TQAction::addTo( TQWidget* w )
d->update( TQActionPrivate::State | TQActionPrivate::EverythingElse );
} else {
- qWarning( "TQAction::addTo(), unknown object" );
+ tqWarning( "TQAction::addTo(), unknown object" );
return FALSE;
}
return TRUE;
@@ -1226,7 +1226,7 @@ bool TQAction::removeFrom( TQWidget* w )
}
}
} else {
- qWarning( "TQAction::removeFrom(), unknown object" );
+ tqWarning( "TQAction::removeFrom(), unknown object" );
return FALSE;
}
return TRUE;
diff --git a/src/widgets/qbutton.cpp b/src/widgets/qbutton.cpp
index 5445f61fb..d24dd17f7 100644
--- a/src/widgets/qbutton.cpp
+++ b/src/widgets/qbutton.cpp
@@ -631,7 +631,7 @@ void TQButton::setState( ToggleState s )
{
if ( !toggleTyp ) {
#if defined(QT_CHECK_STATE)
- qWarning( "TQButton::setState() / setOn: (%s) Only toggle buttons "
+ tqWarning( "TQButton::setState() / setOn: (%s) Only toggle buttons "
"may be switched", name( "unnamed" ) );
#endif
return;
diff --git a/src/widgets/qcombobox.cpp b/src/widgets/qcombobox.cpp
index 60a85337c..c595d75e6 100644
--- a/src/widgets/qcombobox.cpp
+++ b/src/widgets/qcombobox.cpp
@@ -469,7 +469,7 @@ static inline bool checkInsertIndex( const char *method, const char * name,
bool range_err = (*index > count);
#if defined(QT_CHECK_RANGE)
if ( range_err )
- qWarning( "TQComboBox::%s: (%s) Index %d out of range",
+ tqWarning( "TQComboBox::%s: (%s) Index %d out of range",
method, name ? name : "<no name>", *index );
#else
Q_UNUSED( method )
@@ -487,7 +487,7 @@ static inline bool checkIndex( const char *method, const char * name,
bool range_err = (index >= count);
#if defined(QT_CHECK_RANGE)
if ( range_err )
- qWarning( "TQComboBox::%s: (%s) Index %i out of range",
+ tqWarning( "TQComboBox::%s: (%s) Index %i out of range",
method, name ? name : "<no name>", index );
#else
Q_UNUSED( method )
diff --git a/src/widgets/qdatetimeedit.cpp b/src/widgets/qdatetimeedit.cpp
index 117c20cdc..e226d671e 100644
--- a/src/widgets/qdatetimeedit.cpp
+++ b/src/widgets/qdatetimeedit.cpp
@@ -2118,7 +2118,7 @@ void TQTimeEdit::stepUp()
default:
accepted = FALSE;
#ifdef QT_CHECK_RANGE
- qWarning( "TQTimeEdit::stepUp: Focus section out of range!" );
+ tqWarning( "TQTimeEdit::stepUp: Focus section out of range!" );
#endif
break;
}
@@ -2170,7 +2170,7 @@ void TQTimeEdit::stepDown()
default:
accepted = FALSE;
#ifdef QT_CHECK_RANGE
- qWarning( "TQTimeEdit::stepDown: Focus section out of range!" );
+ tqWarning( "TQTimeEdit::stepDown: Focus section out of range!" );
#endif
break;
}
diff --git a/src/widgets/qdialogbuttons.cpp b/src/widgets/qdialogbuttons.cpp
index 2aad8a193..a14eec3a2 100644
--- a/src/widgets/qdialogbuttons.cpp
+++ b/src/widgets/qdialogbuttons.cpp
@@ -84,7 +84,7 @@ void
TQDialogButtons::init(Q_UINT32 buttons, Orientation orient)
{
if(buttons == All) {
- qWarning("TQDialogButtons: cannot specify All by itself!");
+ tqWarning("TQDialogButtons: cannot specify All by itself!");
buttons = None;
}
d = new TQDialogButtonsPrivate;
@@ -173,7 +173,7 @@ void
TQDialogButtons::setDefaultButton(Button button)
{
if(!((int)(d->visible & button) == button)) {
- qWarning("TQDialogButtons: Button '%d' is not visible (so cannot be default)", button);
+ tqWarning("TQDialogButtons: Button '%d' is not visible (so cannot be default)", button);
return;
}
if(d->def != button) {
diff --git a/src/widgets/qdockarea.cpp b/src/widgets/qdockarea.cpp
index cd56be0b3..0e2555bd7 100644
--- a/src/widgets/qdockarea.cpp
+++ b/src/widgets/qdockarea.cpp
@@ -766,21 +766,21 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
insertLine = TRUE;
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert in line %d, and insert that line: %d", dockLine, insertLine );
- qDebug( " (btw, we have %d lines)", lines.count() );
+ tqDebug( "insert in line %d, and insert that line: %d", dockLine, insertLine );
+ tqDebug( " (btw, we have %d lines)", lines.count() );
#endif
TQDockWindow *dw = 0;
if ( dockLine >= (int)lines.count() ) { // insert after last line
dockWindows->append( dockWindow );
dockWindow->setNewLine( TRUE );
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert at the end" );
+ tqDebug( "insert at the end" );
#endif
} else if ( dockLine == 0 && insertLine ) { // insert before first line
dockWindows->insert( 0, dockWindow );
dockWindows->at( 1 )->setNewLine( TRUE );
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert at the begin" );
+ tqDebug( "insert at the begin" );
#endif
} else { // insert somewhere in between
// make sure each line start has a new line
@@ -790,7 +790,7 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
// find the index of the first widget in the search line
int searchLine = dockLine;
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "search line start of %d", searchLine );
+ tqDebug( "search line start of %d", searchLine );
#endif
TQDockWindow *lsw = lineStarts.at( searchLine );
int index = dockWindows->find( lsw );
@@ -803,7 +803,7 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
(void)dockWindows->at( index ); // move current to index
}
#if defined(TQDOCKAREA_DEBUG)
- qDebug( " which starts at %d", index );
+ tqDebug( " which starts at %d", index );
#endif
if ( !insertLine ) { // if we insert the docking widget in the existing line
// find the index for the widget
@@ -825,7 +825,7 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
firstTime = FALSE;
}
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert at index: %d", index );
+ tqDebug( "insert at index: %d", index );
#endif
// if we insert it just before a widget which has a new line, transfer the newline to the docking widget
// but not if we didn't only mave a widget in its line which was alone in the line before
@@ -833,7 +833,7 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
&& index >= 0 && index < (int)dockWindows->count() &&
dockWindows->at( index )->newLine() && lineOf( index ) == dockLine ) {
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "get rid of the old newline and get me one" );
+ tqDebug( "get rid of the old newline and get me one" );
#endif
dockWindows->at( index )->setNewLine( FALSE );
dockWindow->setNewLine( TRUE );
@@ -844,18 +844,18 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
}
} else { // insert in a new line, so make sure the dock widget and the widget which will be after it have a newline
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert a new line" );
+ tqDebug( "insert a new line" );
#endif
if ( index < (int)dockWindows->count() ) {
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "give the widget at %d a newline", index );
+ tqDebug( "give the widget at %d a newline", index );
#endif
TQDockWindow* nldw = dockWindows->at( index );
if ( nldw )
nldw->setNewLine( TRUE );
}
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "give me a newline" );
+ tqDebug( "give me a newline" );
#endif
dockWindow->setNewLine( TRUE );
}
diff --git a/src/widgets/qheader.cpp b/src/widgets/qheader.cpp
index e20fd3349..b2c0e0e40 100644
--- a/src/widgets/qheader.cpp
+++ b/src/widgets/qheader.cpp
@@ -826,7 +826,7 @@ void TQHeader::mouseMoveEvent( TQMouseEvent *e )
break;
}
default:
- qWarning( "TQHeader::mouseMoveEvent: (%s) unknown state", name() );
+ tqWarning( "TQHeader::mouseMoveEvent: (%s) unknown state", name() );
break;
}
}
@@ -992,7 +992,7 @@ void TQHeader::setLabel( int section, const TQString &s, int size )
}
-bool qt_qheader_label_return_null_strings = FALSE;
+bool tqt_qheader_label_return_null_strings = FALSE;
/*!
Returns the text for section \a section. If the section does not
exist, a TQString::null is returned.
@@ -1003,7 +1003,7 @@ TQString TQHeader::label( int section ) const
return TQString::null;
if ( d->labels[ section ] )
return *( d->labels[ section ] );
- else if ( qt_qheader_label_return_null_strings )
+ else if ( tqt_qheader_label_return_null_strings )
return TQString::null;
else
return TQString::number( section + 1 );
diff --git a/src/widgets/qlcdnumber.cpp b/src/widgets/qlcdnumber.cpp
index 99eddf56d..c284da3ea 100644
--- a/src/widgets/qlcdnumber.cpp
+++ b/src/widgets/qlcdnumber.cpp
@@ -375,14 +375,14 @@ void TQLCDNumber::setNumDigits( int numDigits )
{
if ( numDigits > 99 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQLCDNumber::setNumDigits: (%s) Max 99 digits allowed",
+ tqWarning( "TQLCDNumber::setNumDigits: (%s) Max 99 digits allowed",
name( "unnamed" ) );
#endif
numDigits = 99;
}
if (numDigits < 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQLCDNumber::setNumDigits: (%s) Min 0 digits allowed",
+ tqWarning( "TQLCDNumber::setNumDigits: (%s) Min 0 digits allowed",
name( "unnamed" ) );
#endif
numDigits = 0;
@@ -976,7 +976,7 @@ void TQLCDNumber::drawSegment( const TQPoint &pos, char segmentNo, TQPainter &p,
break;
#if defined(QT_CHECK_RANGE)
default :
- qWarning( "TQLCDNumber::drawSegment: (%s) Internal error."
+ tqWarning( "TQLCDNumber::drawSegment: (%s) Internal error."
" Illegal segment id: %d\n",
name( "unnamed" ), segmentNo );
#endif
@@ -1111,7 +1111,7 @@ void TQLCDNumber::drawSegment( const TQPoint &pos, char segmentNo, TQPainter &p,
break;
#if defined(QT_CHECK_RANGE)
default :
- qWarning( "TQLCDNumber::drawSegment: (%s) Internal error."
+ tqWarning( "TQLCDNumber::drawSegment: (%s) Internal error."
" Illegal segment id: %d\n",
name( "unnamed" ), segmentNo );
#endif
diff --git a/src/widgets/qlineedit.cpp b/src/widgets/qlineedit.cpp
index 74976e2ef..3ba828c18 100644
--- a/src/widgets/qlineedit.cpp
+++ b/src/widgets/qlineedit.cpp
@@ -1587,8 +1587,8 @@ void TQLineEdit::keyPressEvent( TQKeyEvent * e )
e->key() != Key_Delete &&
e->key() != Key_Backspace ) {
#ifdef Q_WS_X11
- extern bool qt_hebrew_keyboard_hack;
- if ( qt_hebrew_keyboard_hack ) {
+ extern bool tqt_hebrew_keyboard_hack;
+ if ( tqt_hebrew_keyboard_hack ) {
// the X11 keyboard layout is broken and does not reverse
// braces correctly. This is a hack to get halfway correct
// behaviour
diff --git a/src/widgets/qlistbox.cpp b/src/widgets/qlistbox.cpp
index f38550260..4e26f005b 100644
--- a/src/widgets/qlistbox.cpp
+++ b/src/widgets/qlistbox.cpp
@@ -3789,14 +3789,14 @@ void TQListBox::viewportPaintEvent( TQPaintEvent * e )
// this stuff has been useful enough times that from now I'm
// leaving it in the source.
uint i = 0;
- qDebug( "%s/%s: %i rects", className(), name(), r.rects().size() );
+ tqDebug( "%s/%s: %i rects", className(), name(), r.rects().size() );
while( i < r.rects().size() ) {
- qDebug( "rect %d: %d, %d, %d, %d", i,
+ tqDebug( "rect %d: %d, %d, %d, %d", i,
r.rects()[i].left(), r.rects()[i].top(),
r.rects()[i].width(), r.rects()[i].height() );
i++;
}
- qDebug( "" );
+ tqDebug( "" );
}
#endif
@@ -3977,7 +3977,7 @@ TQRect TQListBox::itemRect( TQListBoxItem *item ) const
*/
int TQListBox::inSort( const TQListBoxItem * lbi )
{
- qObsolete( "TQListBox", "inSort", "insertItem" );
+ tqObsolete( "TQListBox", "inSort", "insertItem" );
if ( !lbi )
return -1;
@@ -4009,7 +4009,7 @@ int TQListBox::inSort( const TQListBoxItem * lbi )
*/
int TQListBox::inSort( const TQString& text )
{
- qObsolete( "TQListBox", "inSort", "insertItem" );
+ tqObsolete( "TQListBox", "inSort", "insertItem" );
return inSort( new TQListBoxText(text) );
}
@@ -4160,7 +4160,7 @@ void TQListBox::showEvent( TQShowEvent * )
*/
bool TQListBox::itemYPos( int index, int *yPos ) const
{
- qObsolete( "TQListBox", "itemYPos" );
+ tqObsolete( "TQListBox", "itemYPos" );
TQListBoxItem* i = item(index);
if ( !i )
return FALSE;
diff --git a/src/widgets/qlistview.cpp b/src/widgets/qlistview.cpp
index 7b776d523..06830bddf 100644
--- a/src/widgets/qlistview.cpp
+++ b/src/widgets/qlistview.cpp
@@ -6048,7 +6048,7 @@ TQCheckListItem::TQCheckListItem( TQCheckListItem *parent, const TQString &text,
init();
if ( myType == RadioButton ) {
if ( parent->type() != RadioButtonController )
- qWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
+ tqWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
"child of a controller" );
else
d->exclusive = parent;
@@ -6069,7 +6069,7 @@ TQCheckListItem::TQCheckListItem( TQCheckListItem *parent, TQListViewItem *after
init();
if ( myType == RadioButton ) {
if ( parent->type() != RadioButtonController )
- qWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
+ tqWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
"child of a controller" );
else
d->exclusive = parent;
@@ -6088,7 +6088,7 @@ TQCheckListItem::TQCheckListItem( TQListViewItem *parent, const TQString &text,
{
myType = tt;
if ( myType == RadioButton ) {
- qWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
+ tqWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
"child of a TQCheckListItem" );
}
init();
@@ -6107,7 +6107,7 @@ TQCheckListItem::TQCheckListItem( TQListViewItem *parent, TQListViewItem *after,
{
myType = tt;
if ( myType == RadioButton ) {
- qWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
+ tqWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
"child of a TQCheckListItem" );
}
init();
@@ -6125,7 +6125,7 @@ TQCheckListItem::TQCheckListItem( TQListView *parent, const TQString &text,
{
myType = tt;
if ( tt == RadioButton )
- qWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
+ tqWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
"child of a TQCheckListItem" );
init();
}
@@ -6142,7 +6142,7 @@ TQCheckListItem::TQCheckListItem( TQListView *parent, TQListViewItem *after,
{
myType = tt;
if ( tt == RadioButton )
- qWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
+ tqWarning( "TQCheckListItem::TQCheckListItem(), radio button must be "
"child of a TQCheckListItem" );
init();
}
@@ -6236,7 +6236,7 @@ TQCheckListItem::~TQCheckListItem()
void TQCheckListItem::setTristate( bool b )
{
if ( ( myType != CheckBoxController ) && ( myType != CheckBox ) ) {
- qWarning( "TQCheckListItem::setTristate(), has no effect on RadioButton "
+ tqWarning( "TQCheckListItem::setTristate(), has no effect on RadioButton "
"or RadioButtonController." );
return;
}
@@ -7733,7 +7733,7 @@ TQListViewItemIterator &TQListViewItemIterator::operator-=( int j )
TQListViewItem* TQListViewItemIterator::operator*()
{
if ( curr != 0 && !matchesFlags( curr ) )
- qWarning( "TQListViewItemIterator::operator*() curr out of sync" );
+ tqWarning( "TQListViewItemIterator::operator*() curr out of sync" );
return curr;
}
@@ -7744,7 +7744,7 @@ TQListViewItem* TQListViewItemIterator::operator*()
TQListViewItem *TQListViewItemIterator::current() const
{
if ( curr != 0 && !matchesFlags( curr ) )
- qWarning( "TQListViewItemIterator::current() curr out of sync" );
+ tqWarning( "TQListViewItemIterator::current() curr out of sync" );
return curr;
}
diff --git a/src/widgets/qmenudata.cpp b/src/widgets/qmenudata.cpp
index e40aa0b73..437234dc7 100644
--- a/src/widgets/qmenudata.cpp
+++ b/src/widgets/qmenudata.cpp
@@ -813,7 +813,7 @@ void TQMenuData::removeItemAt( int index )
{
if ( index < 0 || index >= (int)mitems->count() ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQMenuData::removeItem: Index %d out of range", index );
+ tqWarning( "TQMenuData::removeItem: Index %d out of range", index );
#endif
return;
}
diff --git a/src/widgets/qpopupmenu.cpp b/src/widgets/qpopupmenu.cpp
index f6858c25e..76605be88 100644
--- a/src/widgets/qpopupmenu.cpp
+++ b/src/widgets/qpopupmenu.cpp
@@ -112,7 +112,7 @@ static void cleanup()
static void popupSubMenuLater( int msec, TQPopupMenu * receiver ) {
if ( !singleSingleShot ) {
singleSingleShot = new TQTimer( tqApp, "popup submenu timer" );
- qAddPostRoutine( cleanup );
+ tqAddPostRoutine( cleanup );
}
singleSingleShot->disconnect( SIGNAL(timeout()) );
@@ -1163,7 +1163,7 @@ TQSize TQPopupMenu::updateSize(bool force_update, bool do_resize)
#if defined(QT_CHECK_NULL)
if ( mi->text().isNull() && !mi->pixmap() && !mi->iconSet() &&
!mi->isSeparator() && !mi->widget() && !mi->custom() )
- qWarning( "TQPopupMenu: (%s) Popup has invalid menu item",
+ tqWarning( "TQPopupMenu: (%s) Popup has invalid menu item",
name( "unnamed" ) );
#endif
}
diff --git a/src/widgets/qrangecontrol.cpp b/src/widgets/qrangecontrol.cpp
index 036f8c7b6..7f1701ff7 100644
--- a/src/widgets/qrangecontrol.cpp
+++ b/src/widgets/qrangecontrol.cpp
@@ -348,7 +348,7 @@ void TQRangeControl::setRange( int minValue, int maxValue )
{
if ( minValue > maxValue ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQRangeControl::setRange: minValue %d > maxValue %d",
+ tqWarning( "TQRangeControl::setRange: minValue %d > maxValue %d",
minValue, maxValue );
#endif
maxValue = minValue;
diff --git a/src/widgets/qscrollview.cpp b/src/widgets/qscrollview.cpp
index 68dcd700b..20d0adeb9 100644
--- a/src/widgets/qscrollview.cpp
+++ b/src/widgets/qscrollview.cpp
@@ -1388,7 +1388,7 @@ void TQScrollView::addChild(TQWidget* child, int x, int y)
{
if ( !child ) {
#if defined(QT_CHECK_NULL)
- qWarning( "TQScrollView::addChild(): Cannot add null child" );
+ tqWarning( "TQScrollView::addChild(): Cannot add null child" );
#endif
return;
}
@@ -2538,8 +2538,8 @@ bool TQScrollView::focusNextPrevChild( bool next )
TQWidget *candidate = 0;
TQWidget *w = next ? f->next() : f->prev();
TQSVChildRec *r;
- extern bool qt_tab_all_widgets;
- uint focus_flag = qt_tab_all_widgets ? TabFocus : StrongFocus;
+ extern bool tqt_tab_all_widgets;
+ uint focus_flag = tqt_tab_all_widgets ? TabFocus : StrongFocus;
// then scan for a possible focus widget candidate
while( !candidate && w != startingPoint ) {
@@ -2589,7 +2589,7 @@ void TQScrollView::enableClipper(bool y)
if ( !d->clipped_viewport == !y )
return;
if ( d->children.count() )
- qFatal("May only call TQScrollView::enableClipper() before adding widgets");
+ tqFatal("May only call TQScrollView::enableClipper() before adding widgets");
if ( y ) {
d->clipped_viewport = new TQClipperWidget(clipper(), "qt_clipped_viewport", d->flags);
d->clipped_viewport->setGeometry(-coord_limit/2,-coord_limit/2,
diff --git a/src/widgets/qslider.cpp b/src/widgets/qslider.cpp
index e6b555a18..bf5b74881 100644
--- a/src/widgets/qslider.cpp
+++ b/src/widgets/qslider.cpp
@@ -601,7 +601,7 @@ void TQSlider::resetState()
case Idle:
break;
default:
- qWarning("TQSlider: (%s) in wrong state", name( "unnamed" ) );
+ tqWarning("TQSlider: (%s) in wrong state", name( "unnamed" ) );
}
state = Idle;
}
diff --git a/src/widgets/qstatusbar.cpp b/src/widgets/qstatusbar.cpp
index ea4172e29..557d7ef71 100644
--- a/src/widgets/qstatusbar.cpp
+++ b/src/widgets/qstatusbar.cpp
@@ -194,7 +194,7 @@ void TQStatusBar::addWidget( TQWidget * widget, int stretch, bool permanent )
{
if ( !widget ) {
#if defined(QT_CHECK_NULL)
- qWarning( "TQStatusBar::addWidget(): Cannot add null widget" );
+ tqWarning( "TQStatusBar::addWidget(): Cannot add null widget" );
#endif
return;
}
@@ -246,7 +246,7 @@ void TQStatusBar::removeWidget( TQWidget* widget )
reformat();
#if defined(QT_DEBUG)
else
- qDebug( "TQStatusBar::removeWidget(): Widget not found." );
+ tqDebug( "TQStatusBar::removeWidget(): Widget not found." );
#endif
}
diff --git a/src/widgets/qtextbrowser.cpp b/src/widgets/qtextbrowser.cpp
index 1dcf689aa..3449fada9 100644
--- a/src/widgets/qtextbrowser.cpp
+++ b/src/widgets/qtextbrowser.cpp
@@ -251,11 +251,11 @@ void TQTextBrowser::setSource(const TQString& name)
const TQMimeSource* m =
mimeSourceFactory()->data( source, context() );
if ( !m ){
- qWarning("TQTextBrowser: no mimesource for %s", source.latin1() );
+ tqWarning("TQTextBrowser: no mimesource for %s", source.latin1() );
}
else {
if ( !TQTextDrag::decode( m, txt ) ) {
- qWarning("TQTextBrowser: cannot decode %s", source.latin1() );
+ tqWarning("TQTextBrowser: cannot decode %s", source.latin1() );
}
}
if ( isVisible() ) {
diff --git a/src/widgets/qtextedit.cpp b/src/widgets/qtextedit.cpp
index 5910ef4c6..9a5502c1f 100644
--- a/src/widgets/qtextedit.cpp
+++ b/src/widgets/qtextedit.cpp
@@ -1451,8 +1451,8 @@ void TQTextEdit::keyPressEvent( TQKeyEvent *e )
}
TQString t = e->text();
#ifdef Q_WS_X11
- extern bool qt_hebrew_keyboard_hack;
- if ( qt_hebrew_keyboard_hack ) {
+ extern bool tqt_hebrew_keyboard_hack;
+ if ( tqt_hebrew_keyboard_hack ) {
// the X11 keyboard layout is broken and does not reverse
// braces correctly. This is a hack to get halfway correct
// behaviour
@@ -5069,7 +5069,7 @@ void TQTextEdit::updateStyles()
void TQTextEdit::setDocument( TQTextDocument *dc )
{
if ( dc == 0 ) {
- qWarning( "Q3TextEdit::setDocument() called with null Q3TextDocument pointer" );
+ tqWarning( "Q3TextEdit::setDocument() called with null Q3TextDocument pointer" );
return;
}
if ( dc == doc )
@@ -6452,7 +6452,7 @@ void TQTextEdit::optimParseTags( TQString * line, int lineNo, int indexOffset )
cur = tag->prev;
if ( !cur ) {
#ifdef QT_CHECK_RANGE
- qWarning( "TQTextEdit::optimParseTags: no left-tag for '<%s>' in line %d.", tag->tag.ascii(), tag->line + 1 );
+ tqWarning( "TQTextEdit::optimParseTags: no left-tag for '<%s>' in line %d.", tag->tag.ascii(), tag->line + 1 );
#endif
return; // something is wrong - give up
}
@@ -6475,7 +6475,7 @@ void TQTextEdit::optimParseTags( TQString * line, int lineNo, int indexOffset )
break;
} else if ( !cur->leftTag ) {
#ifdef QT_CHECK_RANGE
- qWarning( "TQTextEdit::optimParseTags: mismatching %s-tag for '<%s>' in line %d.", cur->tag[0] == '/' ? "left" : "right", cur->tag.ascii(), cur->line + 1 );
+ tqWarning( "TQTextEdit::optimParseTags: mismatching %s-tag for '<%s>' in line %d.", cur->tag[0] == '/' ? "left" : "right", cur->tag.ascii(), cur->line + 1 );
#endif
return; // something is amiss - give up
}
@@ -6956,9 +6956,9 @@ void TQTextEdit::optimDrawContents( TQPainter * p, int clipx, int clipy,
// useful debug info
//
// tag = d->od->tags;
-// qWarning("###");
+// tqWarning("###");
// while ( tag ) {
-// qWarning( "Tag: %p, parent: %09p, leftTag: %09p, Name: %-15s, ParentName: %s, %d%d%d", tag,
+// tqWarning( "Tag: %p, parent: %09p, leftTag: %09p, Name: %-15s, ParentName: %s, %d%d%d", tag,
// tag->parent, tag->leftTag, tag->tag.latin1(), tag->parent ? tag->parent->tag.latin1():"<none>",
// tag->bold, tag->italic, tag->underline );
// tag = tag->next;
diff --git a/src/widgets/qtoolbutton.cpp b/src/widgets/qtoolbutton.cpp
index 644353820..26f5607f7 100644
--- a/src/widgets/qtoolbutton.cpp
+++ b/src/widgets/qtoolbutton.cpp
@@ -716,10 +716,10 @@ void TQToolButton::setOnIconSet( const TQIconSet& set )
{
setIconSet( set );
/*
- ### Get rid of all qWarning in this file in 4.0.
+ ### Get rid of all tqWarning in this file in 4.0.
Also consider inlining the obsolete functions then.
*/
- qWarning( "TQToolButton::setOnIconSet(): This function is not supported"
+ tqWarning( "TQToolButton::setOnIconSet(): This function is not supported"
" anymore" );
}
@@ -790,7 +790,7 @@ void TQToolButton::setIconSet( const TQIconSet & set )
void TQToolButton::setIconSet( const TQIconSet & set, bool /* on */ )
{
setIconSet( set );
- qWarning( "TQToolButton::setIconSet(): 'on' parameter ignored" );
+ tqWarning( "TQToolButton::setIconSet(): 'on' parameter ignored" );
}
#endif
diff --git a/src/widgets/qwhatsthis.cpp b/src/widgets/qwhatsthis.cpp
index 6e3338b0b..2a61fec80 100644
--- a/src/widgets/qwhatsthis.cpp
+++ b/src/widgets/qwhatsthis.cpp
@@ -417,7 +417,7 @@ void TQWhatsThat::paintEvent( TQPaintEvent* )
TQWhatsThisPrivate::WhatsThisItem::~WhatsThisItem()
{
if ( count )
- qFatal( "TQWhatsThis: Internal error (%d)", count );
+ tqFatal( "TQWhatsThis: Internal error (%d)", count );
delete whatsthis;
}
@@ -617,7 +617,7 @@ void TQWhatsThisPrivate::setUpWhatsThis()
// It is necessary to use a post routine, because
// the destructor deletes pixmaps and other stuff that
// needs a working X connection under X11.
- qAddPostRoutine( qWhatsThisPrivateCleanup );
+ tqAddPostRoutine( qWhatsThisPrivateCleanup );
}
}