summaryrefslogtreecommitdiffstats
path: root/src/kbfxspinx.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 11:28:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 19:00:50 +0900
commit4239ec917e4a66a6264b4ba732489ba88fad361a (patch)
tree40b37f39c8f1fd7ee5e19d5b3f1614f730ecea48 /src/kbfxspinx.cpp
parent27a604dfeecd599c5fc910683eabecfca6957f82 (diff)
downloadkbfx-4239ec91.tar.gz
kbfx-4239ec91.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3233d6a066667673e676dee95db7ca1419087018)
Diffstat (limited to 'src/kbfxspinx.cpp')
-rw-r--r--src/kbfxspinx.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kbfxspinx.cpp b/src/kbfxspinx.cpp
index 7c02679..7eec040 100644
--- a/src/kbfxspinx.cpp
+++ b/src/kbfxspinx.cpp
@@ -23,7 +23,7 @@
#include "kbfxspinx.h"
-bool KbfxSpinx::m_horizontal_position = TRUE;
+bool KbfxSpinx::m_horizontal_position = true;
KbfxSpinx::KbfxSpinx ( const TQString& configFile, Type type, int actions, TQWidget *parent, const char *name )
: KPanelApplet ( configFile, type, actions, parent, name ),DCOPObject ( "KBFXInterface" )
@@ -81,7 +81,7 @@ void KbfxSpinx::createKbfx()
l_path.append(l_user->loginName());
l_path.append("/");
l_watch->addDir(l_path);
- l_watch->startScan( TRUE, FALSE);
+ l_watch->startScan( true, false);
connect ( l_watch, TQ_SIGNAL ( dirty(const TQString&) ),
this, TQ_SLOT ( dirtyReaload(const TQString&) ) );
delete l_user;
@@ -220,7 +220,7 @@ void KbfxSpinx::showKmenu()
if ( !m_dcopClient->
call ( "kicker", "kicker", "popupKMenu(TQPoint)", data, replytype, rdata,
- FALSE, -1 ) )
+ false, -1 ) )
{
kdWarning ()
<< "**KBFX-APPLET-FATAL_ERROR:Could not send DCOP command"
@@ -261,13 +261,13 @@ int KbfxSpinx::widthForHeight ( int height ) const
if ( width_for_height != height || !m_horizontal_position )
{
if ( m_kicker_auto_adjust )
- kbfxBtn->readjust( TRUE ); // Readjust for height
- KbfxButton::m_sizeHeight = TRUE;
+ kbfxBtn->readjust( true ); // Readjust for height
+ KbfxButton::m_sizeHeight = true;
KbfxButton::m_size = height;
kbfxBtn->loadSkins();
width_for_height = height;
}
- m_horizontal_position = TRUE;
+ m_horizontal_position = true;
return kbfxBtn->width();
}
@@ -277,13 +277,13 @@ int KbfxSpinx::heightForWidth ( int width ) const
if ( height_for_width != width || m_horizontal_position)
{
if ( m_kicker_auto_adjust )
- kbfxBtn->readjust( FALSE ); // Readjust for width
- KbfxButton::m_sizeHeight = FALSE;
+ kbfxBtn->readjust( false ); // Readjust for width
+ KbfxButton::m_sizeHeight = false;
KbfxButton::m_size = width;
kbfxBtn->loadSkins();
height_for_width = width;
}
- m_horizontal_position = FALSE;
+ m_horizontal_position = false;
return kbfxBtn->height();
}