summaryrefslogtreecommitdiffstats
path: root/libkonq
diff options
context:
space:
mode:
Diffstat (limited to 'libkonq')
-rw-r--r--libkonq/konq_iconviewwidget.cpp2
-rw-r--r--libkonq/konq_iconviewwidget.h2
-rw-r--r--libkonq/konq_propsview.h2
-rw-r--r--libkonq/konq_settings.cpp2
-rw-r--r--libkonq/tdefileivi.cpp4
-rw-r--r--libkonq/tdefileivi.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/libkonq/konq_iconviewwidget.cpp b/libkonq/konq_iconviewwidget.cpp
index 246a60828..58e7eadc3 100644
--- a/libkonq/konq_iconviewwidget.cpp
+++ b/libkonq/konq_iconviewwidget.cpp
@@ -1502,7 +1502,7 @@ void KonqIconViewWidget::insertInGrid(TQIconViewItem *item)
TQMemArray<TQRect> rects = r.rects();
TQMemArray<TQRect>::Iterator it = rects.begin();
- bool foundPlace = FALSE;
+ bool foundPlace = false;
for (; it != rects.end(); ++it)
{
TQRect rect = *it;
diff --git a/libkonq/konq_iconviewwidget.h b/libkonq/konq_iconviewwidget.h
index 9f00e3aee..75e3c1f37 100644
--- a/libkonq/konq_iconviewwidget.h
+++ b/libkonq/konq_iconviewwidget.h
@@ -56,7 +56,7 @@ public:
/**
* Constructor
*/
- KonqIconViewWidget( TQWidget *parent = 0L, const char *name = 0L, WFlags f = 0, bool kdesktop = FALSE );
+ KonqIconViewWidget( TQWidget *parent = 0L, const char *name = 0L, WFlags f = 0, bool kdesktop = false );
virtual ~KonqIconViewWidget();
/**
diff --git a/libkonq/konq_propsview.h b/libkonq/konq_propsview.h
index 132c53a55..48b2b7e4f 100644
--- a/libkonq/konq_propsview.h
+++ b/libkonq/konq_propsview.h
@@ -70,7 +70,7 @@ public:
* Called when entering a directory
* Checks for a .directory, read it.
* Don't do this on the default properties instance
- * Returns TRUE if the settings for the new directories are
+ * Returns true if the settings for the new directories are
* different from the settings in the old directory.
*/
bool enterDir( const KURL & dir );
diff --git a/libkonq/konq_settings.cpp b/libkonq/konq_settings.cpp
index fe61d150a..4b59f3375 100644
--- a/libkonq/konq_settings.cpp
+++ b/libkonq/konq_settings.cpp
@@ -109,7 +109,7 @@ void KonqFMSettings::init( TDEConfig * config )
m_iconTransparency = DEFAULT_TEXTPREVIEW_ICONTRANSPARENCY;
// Behaviour
- m_alwaysNewWin = config->readBoolEntry( "AlwaysNewWin", FALSE );
+ m_alwaysNewWin = config->readBoolEntry( "AlwaysNewWin", false );
m_homeURL = config->readPathEntry("HomeURL", "~");
diff --git a/libkonq/tdefileivi.cpp b/libkonq/tdefileivi.cpp
index aa086d3f2..02fa748ca 100644
--- a/libkonq/tdefileivi.cpp
+++ b/libkonq/tdefileivi.cpp
@@ -437,7 +437,7 @@ void KFileIVI::paintItem( TQPainter *p, const TQColorGroup &c )
/*if ( ( ( KonqIconViewWidget* ) iconView() )->m_pActiveItem == this )
{
TQFont f( p->font() );
- f.setUnderline( TRUE );
+ f.setUnderline( true );
p->setFont( f );
}*/
@@ -510,7 +510,7 @@ void KFileIVI::paintFontUpdate( TQPainter *p ) const
if ( m_fileitem->isLink() )
{
TQFont f( p->font() );
- f.setItalic( TRUE );
+ f.setItalic( true );
p->setFont( f );
}
}
diff --git a/libkonq/tdefileivi.h b/libkonq/tdefileivi.h
index 3fb7e3734..7ddb2deb7 100644
--- a/libkonq/tdefileivi.h
+++ b/libkonq/tdefileivi.h
@@ -237,7 +237,7 @@ private:
/** You are not supposed to call this on a KFileIVI, from the outside,
* it bypasses the icons cache */
virtual void setPixmap ( const TQPixmap & icon ) { TDEIconViewItem::setPixmap( icon ); }
- virtual void setPixmap ( const TQPixmap & icon, bool recalc, bool redraw = TRUE )
+ virtual void setPixmap ( const TQPixmap & icon, bool recalc, bool redraw = true )
{ TDEIconViewItem::setPixmap( icon, recalc, redraw ); }
/** Check if a thumbnail will be generated and calc the size of the icon */