summaryrefslogtreecommitdiffstats
path: root/lib/widgets/qcomboview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/qcomboview.cpp')
-rw-r--r--lib/widgets/qcomboview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp
index d3335349..cb44f32c 100644
--- a/lib/widgets/qcomboview.cpp
+++ b/lib/widgets/qcomboview.cpp
@@ -84,7 +84,7 @@ void QComboViewData::updateLinedGeometry()
TQRect r = TQStyle::visualRect( combo->style().querySubControlMetrics(TQStyle::CC_ComboBox, combo,
TQStyle::SC_ComboBoxEditField), combo );
-// qWarning("updateLinedGeometry(): currentItem is %d", combo->currentItem() == 0 ? 0 : 1);
+// tqWarning("updateLinedGeometry(): currentItem is %d", combo->currentItem() == 0 ? 0 : 1);
const TQPixmap *pix = combo->currentItem() ? combo->currentItem()->pixmap(0) : 0;
if ( pix && pix->width() < r.width() )
r.setLeft( r.left() + pix->width() + 4 );
@@ -98,7 +98,7 @@ static inline bool checkInsertIndex( const char *method, const char * name,
bool range_err = (*index > count);
#if defined(TQT_CHECK_RANGE)
if ( range_err )
- qWarning( "QComboView::%s: (%s) Index %d out of range",
+ tqWarning( "QComboView::%s: (%s) Index %d out of range",
method, name ? name : "<no name>", *index );
#else
Q_UNUSED( method )
@@ -116,7 +116,7 @@ static inline bool checkIndex( const char *method, const char * name,
bool range_err = (index >= count);
#if defined(TQT_CHECK_RANGE)
if ( range_err )
- qWarning( "QComboView::%s: (%s) Index %i out of range",
+ tqWarning( "QComboView::%s: (%s) Index %i out of range",
method, name ? name : "<no name>", index );
#else
Q_UNUSED( method )
@@ -235,7 +235,7 @@ void QComboView::setCurrentItem( TQListViewItem *item )
d->completeAt = 0;
if ( d->ed ) {
d->ed->setText( item->text(0) );
-// qWarning("setCurrentItem( %s )", item->text(0).latin1());
+// tqWarning("setCurrentItem( %s )", item->text(0).latin1());
d->updateLinedGeometry();
}
if ( d->listView() ) {
@@ -322,7 +322,7 @@ void QComboView::internalActivate( TQListViewItem * item )
TQString t( item->text(0) );
if ( d->ed ) {
d->ed->setText( t );
-// qWarning("internalActivate( %s )", item->text(0).latin1());
+// tqWarning("internalActivate( %s )", item->text(0).latin1());
d->updateLinedGeometry();
}
emit activated( item );
@@ -893,7 +893,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event )
switch( event->type() ) {
case TQEvent::MouseMove:
if ( !d->mouseWasInsidePopup ) {
-// qWarning("!d->mouseWasInsidePopup");
+// tqWarning("!d->mouseWasInsidePopup");
TQPoint pos = e->pos();
if ( TQT_TQRECT_OBJECT(d->listView()->rect()).contains( pos ) )
d->mouseWasInsidePopup = TRUE;
@@ -919,7 +919,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event )
}
} else if ((e->state() & ( Qt::RightButton | Qt::LeftButton | Qt::MidButton ) ) == 0 &&
style().styleHint(TQStyle::SH_ComboBox_ListMouseTracking, this)) {
-// qWarning("event filter:: emu");
+// tqWarning("event filter:: emu");
TQWidget *mouseW = TQApplication::widgetAt( e->globalPos(), TRUE );
// if ( mouseW == d->listView()->viewport() ) { //###
if ( mouseW == d->listView()->viewport() ) {
@@ -1482,7 +1482,7 @@ void QComboView::setCurrentActiveItem( TQListViewItem * item )
if ( d->ed ) {
d->ed->setText( item->text(0) );
d->ed->setCursorPosition(0);
-// qWarning("setCurrentActiveItem( %s )", item->text(0).latin1());
+// tqWarning("setCurrentActiveItem( %s )", item->text(0).latin1());
d->updateLinedGeometry();
}
if ( d->listView() ) {