summaryrefslogtreecommitdiffstats
path: root/konqueror
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror')
-rw-r--r--konqueror/about/konq_aboutpage.cpp2
-rw-r--r--konqueror/konq_combo.cpp2
-rw-r--r--konqueror/konq_frame.h8
-rw-r--r--konqueror/konq_mainwindow.cpp8
-rw-r--r--konqueror/konq_mainwindow.h2
-rw-r--r--konqueror/konq_tabs.h2
-rw-r--r--konqueror/listview/konq_listview.cpp24
-rw-r--r--konqueror/listview/konq_listviewwidget.cpp14
-rw-r--r--konqueror/listview/konq_textviewwidget.cpp4
-rw-r--r--konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp2
10 files changed, 34 insertions, 34 deletions
diff --git a/konqueror/about/konq_aboutpage.cpp b/konqueror/about/konq_aboutpage.cpp
index a18aa3eda..91322289c 100644
--- a/konqueror/about/konq_aboutpage.cpp
+++ b/konqueror/about/konq_aboutpage.cpp
@@ -81,7 +81,7 @@ TQString KonqAboutPageFactory::loadFile( const TQString& file )
file.left( file.findRev( '/' )) +
TQString::fromLatin1("/\">\n");
TQRegExp reg("<head>");
- reg.setCaseSensitive(FALSE);
+ reg.setCaseSensitive(false);
res.replace(reg, "<head>\n\t" + basehref);
return res;
}
diff --git a/konqueror/konq_combo.cpp b/konqueror/konq_combo.cpp
index ef65a5412..a8c811ae9 100644
--- a/konqueror/konq_combo.cpp
+++ b/konqueror/konq_combo.cpp
@@ -632,7 +632,7 @@ void KonqCombo::paintEvent( TQPaintEvent *pe )
p.fillRect( re.right() - pix.width() - 3 , re.y(), pix.width() + 4, re.height(),
TQBrush( useColor ? color : edit->paletteBackgroundColor() ));
p.drawPixmap( re.right() - pix.width() -1 , re.y() + ( re.height() - pix.height() ) / 2, pix );
- p.setClipping( FALSE );
+ p.setClipping( false );
}
else {
TQRect r = edit->geometry();
diff --git a/konqueror/konq_frame.h b/konqueror/konq_frame.h
index 77dd99689..735561720 100644
--- a/konqueror/konq_frame.h
+++ b/konqueror/konq_frame.h
@@ -161,7 +161,7 @@ class KonqFrameBase
virtual void printFrameInfo( const TQString& spaces );
virtual void reparentFrame( TQWidget* parent,
- const TQPoint & p, bool showIt=FALSE ) = 0;
+ const TQPoint & p, bool showIt=false ) = 0;
virtual KonqFrameContainerBase* parentContainer() { return m_pParentContainer; }
virtual void setParentContainer(KonqFrameContainerBase* parent) { m_pParentContainer = parent; }
@@ -251,7 +251,7 @@ public:
virtual void setTabIcon( const KURL &url, TQWidget* sender );
virtual void reparentFrame(TQWidget * parent,
- const TQPoint & p, bool showIt=FALSE );
+ const TQPoint & p, bool showIt=false );
//virtual KonqFrameContainerBase* parentContainer();
virtual TQWidget* widget() { return this; }
@@ -317,7 +317,7 @@ public:
virtual TQCString frameType() { return TQCString("ContainerBase"); }
virtual void reparentFrame(TQWidget * parent,
- const TQPoint & p, bool showIt=FALSE ) = 0;
+ const TQPoint & p, bool showIt=false ) = 0;
virtual KonqFrameBase* activeChild() { return m_pActiveChild; }
@@ -385,7 +385,7 @@ public:
//inherited
virtual void reparentFrame(TQWidget * parent,
- const TQPoint & p, bool showIt=FALSE );
+ const TQPoint & p, bool showIt=false );
//make this one public
int idAfter( TQWidget* w ){ return TQSplitter::idAfter( w ); }
diff --git a/konqueror/konq_mainwindow.cpp b/konqueror/konq_mainwindow.cpp
index 1905f5771..e070697ba 100644
--- a/konqueror/konq_mainwindow.cpp
+++ b/konqueror/konq_mainwindow.cpp
@@ -3682,9 +3682,9 @@ void KonqMainWindow::slotUpdateFullScreen( bool set )
// happens only with the hackish non-_NET_WM_STATE_FULLSCREEN way
setWFlags( WDestructiveClose );
// Qt bug (see below)
- setAcceptDrops( FALSE );
+ setAcceptDrops( false );
topData()->dnd = 0;
- setAcceptDrops( TRUE );
+ setAcceptDrops( true );
}
else
{
@@ -3710,9 +3710,9 @@ void KonqMainWindow::slotUpdateFullScreen( bool set )
// Qt bug, the flags aren't restored. They know about it.
setWFlags( WType_TopLevel | WDestructiveClose );
// Other Qt bug
- setAcceptDrops( FALSE );
+ setAcceptDrops( false );
topData()->dnd = 0;
- setAcceptDrops( TRUE );
+ setAcceptDrops( true );
}
}
diff --git a/konqueror/konq_mainwindow.h b/konqueror/konq_mainwindow.h
index 281407cf8..e06b7a1cb 100644
--- a/konqueror/konq_mainwindow.h
+++ b/konqueror/konq_mainwindow.h
@@ -282,7 +282,7 @@ public:
void printFrameInfo( const TQString &spaces );
void reparentFrame( TQWidget* parent,
- const TQPoint & p, bool showIt=FALSE );
+ const TQPoint & p, bool showIt=false );
KonqFrameContainerBase* parentContainer()const;
void setParentContainer(KonqFrameContainerBase* parent);
diff --git a/konqueror/konq_tabs.h b/konqueror/konq_tabs.h
index bfc15dbb0..59e172e89 100644
--- a/konqueror/konq_tabs.h
+++ b/konqueror/konq_tabs.h
@@ -81,7 +81,7 @@ public:
//inherited
virtual void reparentFrame(TQWidget * parent,
- const TQPoint & p, bool showIt=FALSE );
+ const TQPoint & p, bool showIt=false );
void moveTabBackward(int index);
void moveTabForward(int index);
diff --git a/konqueror/listview/konq_listview.cpp b/konqueror/listview/konq_listview.cpp
index 6a0d58973..5cd554d55 100644
--- a/konqueror/listview/konq_listview.cpp
+++ b/konqueror/listview/konq_listview.cpp
@@ -393,7 +393,7 @@ void KonqListView::slotSelect()
for (KonqBaseListViewWidget::iterator it = m_pListView->begin(); it != m_pListView->end(); it++ )
{
if ((m_pListView->automaticSelection()) && (it->isSelected())) {
- it->setSelected(FALSE);
+ it->setSelected(false);
//the following line is to prevent that more than one item were selected
//and now get deselected and automaticSelection() was true, this shouldn't happen
//but who knows, aleXXX
@@ -401,11 +401,11 @@ void KonqListView::slotSelect()
}
if ( it->isVisible() ) {
if ( re.exactMatch( it->text(0) ) ) {
- it->setSelected(TRUE);
+ it->setSelected(true);
}
}
else {
- it->setSelected(FALSE);
+ it->setSelected(false);
}
}
m_pListView->blockSignals( false );
@@ -422,22 +422,22 @@ void KonqListView::slotUnselect()
if ( !ok )
return;
- TQRegExp re( pattern, TRUE, TRUE );
+ TQRegExp re( pattern, true, true );
- m_pListView->blockSignals(TRUE);
+ m_pListView->blockSignals(true);
for (KonqBaseListViewWidget::iterator it = m_pListView->begin(); it != m_pListView->end(); it++ ) {
if ( it->isVisible() ) {
if ( re.exactMatch( it->text(0) ) ) {
- it->setSelected(FALSE);
+ it->setSelected(false);
}
}
else {
- it->setSelected(FALSE);
+ it->setSelected(false);
}
}
- m_pListView->blockSignals(FALSE);
+ m_pListView->blockSignals(false);
m_pListView->deactivateAutomaticSelection();
emit m_pListView->selectionChanged();
m_pListView->viewport()->update();
@@ -445,14 +445,14 @@ void KonqListView::slotUnselect()
void KonqListView::slotSelectAll()
{
- m_pListView->selectAll(TRUE);
+ m_pListView->selectAll(true);
m_pListView->deactivateAutomaticSelection();
emit m_pListView->selectionChanged();
}
void KonqListView::slotUnselectAll()
{
- m_pListView->selectAll(FALSE);
+ m_pListView->selectAll(false);
m_pListView->deactivateAutomaticSelection();
emit m_pListView->selectionChanged();
}
@@ -463,7 +463,7 @@ void KonqListView::slotInvertSelection()
if ((m_pListView->automaticSelection())
&& (m_pListView->currentItem()!=0)
&& (m_pListView->currentItem()->isSelected()))
- m_pListView->currentItem()->setSelected(FALSE);
+ m_pListView->currentItem()->setSelected(false);
m_pListView->invertSelection();
m_pListView->deactivateAutomaticSelection();
@@ -563,7 +563,7 @@ void KonqListView::slotHeaderClicked(int sec)
if (nameOfSortColumn!=m_pListView->sortedByColumn)
{
m_pListView->sortedByColumn=nameOfSortColumn;
- m_pListView->setAscending(TRUE);
+ m_pListView->setAscending(true);
}
else
{
diff --git a/konqueror/listview/konq_listviewwidget.cpp b/konqueror/listview/konq_listviewwidget.cpp
index a41cf6367..e1b1a5a66 100644
--- a/konqueror/listview/konq_listviewwidget.cpp
+++ b/konqueror/listview/konq_listviewwidget.cpp
@@ -412,7 +412,7 @@ void KonqBaseListViewWidget::contentsMousePressEvent( TQMouseEvent *e ) {
TQRect r( m_rubber->normalize() );
delete m_rubber;
m_rubber = 0;
- repaintContents( r, FALSE );
+ repaintContents( r, false );
}
delete m_selected;
@@ -449,7 +449,7 @@ void KonqBaseListViewWidget::contentsMouseReleaseEvent( TQMouseEvent *e ) {
TQRect r( m_rubber->normalize() );
delete m_rubber;
m_rubber = 0;
- repaintContents( r, FALSE );
+ repaintContents( r, false );
}
if ( m_scrollTimer ) {
@@ -619,7 +619,7 @@ void KonqBaseListViewWidget::slotAutoScroll()
TQRect rr;
TQRect nr = m_rubber->normalize();
- bool changed = FALSE;
+ bool changed = false;
if ( cur )
{
@@ -657,7 +657,7 @@ void KonqBaseListViewWidget::slotAutoScroll()
{
setSelected( cur, true );
setActiveMultiSelectItem( at );
- changed = TRUE;
+ changed = true;
rr = rr.unite( itemRect( cur ) );
}
}
@@ -665,7 +665,7 @@ void KonqBaseListViewWidget::slotAutoScroll()
{
if ( cur->isSelected() )
{
- changed = TRUE;
+ changed = true;
rr = rr.unite( itemRect( cur ) );
}
@@ -695,7 +695,7 @@ void KonqBaseListViewWidget::slotAutoScroll()
{
setSelected( cur, true );
setActiveMultiSelectItem( at );
- changed = TRUE;
+ changed = true;
rr = rr.unite( itemRect( cur ) );
}
}
@@ -703,7 +703,7 @@ void KonqBaseListViewWidget::slotAutoScroll()
{
if ( cur->isSelected() )
{
- changed = TRUE;
+ changed = true;
rr = rr.unite( itemRect( cur ) );
}
diff --git a/konqueror/listview/konq_textviewwidget.cpp b/konqueror/listview/konq_textviewwidget.cpp
index d814d2fbc..0bf67cf81 100644
--- a/konqueror/listview/konq_textviewwidget.cpp
+++ b/konqueror/listview/konq_textviewwidget.cpp
@@ -40,7 +40,7 @@ KonqTextViewWidget::KonqTextViewWidget( KonqListView *parent, TQWidget *parentWi
// I know, but I want to have it this way and I use it all the time.
// If I want to have free space, I disable some columns.
// If people don't like it, they can use a different view type. Alex
- setAllColumnsShowFocus(TRUE);
+ setAllColumnsShowFocus(true);
setRootIsDecorated(false);
colors[KTVI_REGULAR]=TQt::black;
@@ -55,7 +55,7 @@ KonqTextViewWidget::KonqTextViewWidget( KonqListView *parent, TQWidget *parentWi
colors[KTVI_CHARDEV]=TQt::blue;
colors[KTVI_BLOCKDEV]=TQt::blue;
- m_showIcons=FALSE;
+ m_showIcons=false;
}
KonqTextViewWidget::~KonqTextViewWidget()
diff --git a/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp b/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
index 8368d4d37..56f77ba40 100644
--- a/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
+++ b/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
@@ -113,7 +113,7 @@ void KonqSidebarDirTreeItem::paintCell( TQPainter *_painter, const TQColorGroup
if (m_fileItem->isLink())
{
TQFont f( _painter->font() );
- f.setItalic( TRUE );
+ f.setItalic( true );
_painter->setFont( f );
}
TQListViewItem::paintCell( _painter, _cg, _column, _width, _alignment );