summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/kdialog.cpp2
-rw-r--r--tdeui/klanguagebutton.h2
-rw-r--r--tdeui/kpassivepopup.cpp2
-rw-r--r--tdeui/kpixmapregionselectorwidget.cpp12
-rw-r--r--tdeui/kwhatsthismanager.cpp2
-rw-r--r--tdeui/tdelistview.cpp24
-rw-r--r--tdeui/tdelistview.h6
7 files changed, 22 insertions, 28 deletions
diff --git a/tdeui/kdialog.cpp b/tdeui/kdialog.cpp
index 68471847d..a7b389826 100644
--- a/tdeui/kdialog.cpp
+++ b/tdeui/kdialog.cpp
@@ -462,7 +462,7 @@ void KSMModalDialog::keepMeOnTop()
if (!m_keepOnTopTimer) {
m_keepOnTopTimer = new TQTimer();
connect(m_keepOnTopTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(keepMeOnTop()));
- m_keepOnTopTimer->start(100, FALSE);
+ m_keepOnTopTimer->start(100, false);
}
setActiveWindow();
raise();
diff --git a/tdeui/klanguagebutton.h b/tdeui/klanguagebutton.h
index c6bb122c5..c5d5cbac8 100644
--- a/tdeui/klanguagebutton.h
+++ b/tdeui/klanguagebutton.h
@@ -144,7 +144,7 @@ public:
*/
TQString current() const;
/**
- * Returns TRUE if the combobox contains id.
+ * Returns true if the combobox contains id.
*/
bool contains( const TQString & id ) const;
/**
diff --git a/tdeui/kpassivepopup.cpp b/tdeui/kpassivepopup.cpp
index eb626a767..91a95388f 100644
--- a/tdeui/kpassivepopup.cpp
+++ b/tdeui/kpassivepopup.cpp
@@ -94,7 +94,7 @@ void KPassivePopup::init( int popupStyle )
else if( popupStyle == Balloon )
{
setPalette(TQToolTip::palette());
- setAutoMask(TRUE);
+ setAutoMask(true);
}
connect( hideTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( hide() ) );
connect( this, TQ_SIGNAL( clicked() ), TQ_SLOT( hide() ) );
diff --git a/tdeui/kpixmapregionselectorwidget.cpp b/tdeui/kpixmapregionselectorwidget.cpp
index 43cfa311d..a38334cbb 100644
--- a/tdeui/kpixmapregionselectorwidget.cpp
+++ b/tdeui/kpixmapregionselectorwidget.cpp
@@ -218,7 +218,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
TDEPopupMenu *popup = createPopupMenu( );
popup->exec( mev->globalPos() );
delete popup;
- return TRUE;
+ return true;
};
TQCursor cursor;
@@ -239,7 +239,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_tempFirstClick=mev->pos();
- return TRUE;
+ return true;
}
if ( ev->type() == TQEvent::MouseMove )
@@ -278,7 +278,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_selectedRegion.moveBy(0,m_originalPixmap.height()-m_selectedRegion.height()-m_selectedRegion.y());
mouseOutside=true;
}
- if (mouseOutside) { updatePixmap(); return TRUE; };
+ if (mouseOutside) { updatePixmap(); return true; };
m_selectedRegion.moveBy( mev->x()-m_tempFirstClick.x(),
mev->y()-m_tempFirstClick.y() );
@@ -297,7 +297,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_tempFirstClick=mev->pos();
updatePixmap();
}
- return TRUE;
+ return true;
}
if ( ev->type() == TQEvent::MouseButtonRelease )
@@ -310,11 +310,11 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_state=None;
TQApplication::restoreOverrideCursor();
- return TRUE;
+ return true;
}
TQWidget::eventFilter(obj, ev);
- return FALSE;
+ return false;
}
TQRect KPixmapRegionSelectorWidget::calcSelectionRectangle( const TQPoint & startPoint, const TQPoint & _endPoint )
diff --git a/tdeui/kwhatsthismanager.cpp b/tdeui/kwhatsthismanager.cpp
index 46643f6f0..8ad016af9 100644
--- a/tdeui/kwhatsthismanager.cpp
+++ b/tdeui/kwhatsthismanager.cpp
@@ -86,7 +86,7 @@ bool KWhatsThisUndefined::clicked (const TQString& href)
"\n--%-----------------------------------------------------------------------");
kapp -> invokeMailer ("quality-whatsthis@kde.org", "", "", subj, body);
}
- return TRUE;
+ return true;
}
void KWhatsThisManager::init ()
diff --git a/tdeui/tdelistview.cpp b/tdeui/tdelistview.cpp
index 868be813d..a18d711e9 100644
--- a/tdeui/tdelistview.cpp
+++ b/tdeui/tdelistview.cpp
@@ -2569,7 +2569,7 @@ void TDEListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column
}
/*!
- If \a select is TRUE, all the items get selected; otherwise all
+ If \a select is true, all the items get selected; otherwise all
the items get unselected. This only works in the selection modes \c
Multi and \c Extended. In \c Single and \c NoSelection mode the
selection of the current item is just set to \a select.
@@ -2579,25 +2579,19 @@ void TDEListView::selectAll( bool select )
{
if ( ((SelectionModeExt)selectionMode() == Multi) || ((SelectionModeExt)selectionMode() == Extended) ) {
bool b = signalsBlocked();
- blockSignals( TRUE );
- bool anything = FALSE;
+ blockSignals( true );
+ bool anything = false;
TQListViewItemIterator it( this );
while ( it.current() ) {
TQListViewItem *i = it.current();
- if ( select == TRUE ) {
- if ( (bool)i->isVisible() == TRUE ) {
- i->setSelected( TRUE );
- anything = TRUE;
- }
- if ( (bool)i->isVisible() == FALSE ) {
- i->setSelected( FALSE );
- anything = TRUE;
- }
+ if ( select ) {
+ i->setSelected( i->isVisible() );
+ anything = true;
}
else {
- if ( (bool)i->isSelected() != select ) {
+ if ( i->isSelected() != select ) {
i->setSelected( select );
- anything = TRUE;
+ anything = true;
}
}
++it;
@@ -2605,7 +2599,7 @@ void TDEListView::selectAll( bool select )
blockSignals( b );
if ( anything ) {
emit selectionChanged();
-// d->useDoubleBuffer = TRUE;
+// d->useDoubleBuffer = true;
triggerUpdate();
}
} else if ( currentItem() ) {
diff --git a/tdeui/tdelistview.h b/tdeui/tdelistview.h
index 075b80091..fa51c9b3b 100644
--- a/tdeui/tdelistview.h
+++ b/tdeui/tdelistview.h
@@ -435,15 +435,15 @@ public:
bool shadeSortColumn(void) const;
/**
- * @param enable TRUE if small execute area should be used (e.g. KonqListViewItem), FALSE if not.
- * The default is FALSE to match TQt behaviour.
+ * @param enable true if small execute area should be used (e.g. KonqListViewItem), false if not.
+ * The default is false to match TQt behaviour.
*
* @since 14.0
*/
void setUseSmallExecuteArea(bool enable);
/**
- * @return TRUE if small execute area is in use, FALSE if not.
+ * @return true if small execute area is in use, false if not.
*
* @since 14.0
*/