summaryrefslogtreecommitdiffstats
path: root/src/kbfxspinx.cpp
diff options
context:
space:
mode:
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();
}