summaryrefslogtreecommitdiffstats
path: root/configdialog
diff options
context:
space:
mode:
Diffstat (limited to 'configdialog')
-rw-r--r--configdialog/kbfxconfigapp.cpp4
-rw-r--r--configdialog/kbfxconfigdlgabout.ui.h16
-rw-r--r--configdialog/kbfxconfigdlgbutton.ui.h12
-rw-r--r--configdialog/kbfxconfigdlgfonts-old.ui.h8
-rw-r--r--configdialog/kbfxconfigdlglayout.ui.h4
-rw-r--r--configdialog/kbfxconfigdlgplugins.ui.h6
-rw-r--r--configdialog/kbfxconfigdlgthemes.ui.h26
-rw-r--r--configdialog/kbfxconfigdlgtooltip.ui.h16
8 files changed, 46 insertions, 46 deletions
diff --git a/configdialog/kbfxconfigapp.cpp b/configdialog/kbfxconfigapp.cpp
index 5f8e49b..1fd63fa 100644
--- a/configdialog/kbfxconfigapp.cpp
+++ b/configdialog/kbfxconfigapp.cpp
@@ -209,7 +209,7 @@ void KbfxConfigApp::btn_DefaultClicked()
{
ConfigInit().readFontrc ( ConfigInit().m_SpinxThemeBasePath,
ConfigInit().m_SpinxThemeName,
- FALSE );
+ false );
emit KbfxConfigDlgFontsChanged();
break;
}
@@ -236,7 +236,7 @@ void KbfxConfigApp::btn_DefaultClicked()
{
ConfigInit().readThemerc ( ConfigInit().m_SpinxThemeBasePath,
ConfigInit().m_SpinxThemeName,
- FALSE );
+ false );
emit KbfxConfigDlgLayoutChanged();
break;
}
diff --git a/configdialog/kbfxconfigdlgabout.ui.h b/configdialog/kbfxconfigdlgabout.ui.h
index 3e7c2f5..f54dbd4 100644
--- a/configdialog/kbfxconfigdlgabout.ui.h
+++ b/configdialog/kbfxconfigdlgabout.ui.h
@@ -87,42 +87,42 @@ bool KbfxConfigDlgAbout::eventFilter ( TQObject *obj, TQEvent *ev )
KbfxTeamInfo->setText ( KbfxMemberTextNookie );
KbfxUnmarkAllPixmaps();
KbfxPixmapLabelNookie->setFrameShape ( TQFrame::WinPanel );
- return TRUE;
+ return true;
}
else if ( obj == KbfxPixmapLabelSiraj )
{
KbfxTeamInfo->setText ( KbfxMemberTextSiraj );
KbfxUnmarkAllPixmaps();
KbfxPixmapLabelSiraj->setFrameShape ( TQFrame::WinPanel );
- return TRUE;
+ return true;
}
else if ( obj == KbfxPixmapLabelNathanael )
{
KbfxTeamInfo->setText ( KbfxMemberTextNathanael );
KbfxUnmarkAllPixmaps();
KbfxPixmapLabelNathanael->setFrameShape ( TQFrame::WinPanel );
- return TRUE;
+ return true;
}
else if ( obj == KbfxPixmapLabelPhobosK )
{
KbfxTeamInfo->setText ( KbfxMemberTextPhobosK );
KbfxUnmarkAllPixmaps();
KbfxPixmapLabelPhobosK->setFrameShape ( TQFrame::WinPanel );
- return TRUE;
+ return true;
}
else if ( obj == KbfxPixmapLabelJohnny )
{
KbfxTeamInfo->setText ( KbfxMemberTextJohnny );
KbfxUnmarkAllPixmaps();
KbfxPixmapLabelJohnny->setFrameShape ( TQFrame::WinPanel );
- return TRUE;
+ return true;
}
else if ( obj == KbfxPixmapLabelEphracis )
{
KbfxTeamInfo->setText ( KbfxMemberTextEphracis );
KbfxUnmarkAllPixmaps();
KbfxPixmapLabelEphracis->setFrameShape ( TQFrame::WinPanel );
- return TRUE;
+ return true;
}
}
@@ -139,13 +139,13 @@ bool KbfxConfigDlgAbout::eventFilter ( TQObject *obj, TQEvent *ev )
{
KbfxTeamInfo->setText("");
- return TRUE;
+ return true;
}
}
*/
return TQWidget::eventFilter ( obj, ev );
-// return FALSE;
+// return false;
}
void KbfxConfigDlgAbout::KbfxUnmarkAllPixmaps()
diff --git a/configdialog/kbfxconfigdlgbutton.ui.h b/configdialog/kbfxconfigdlgbutton.ui.h
index 563456c..0160cd4 100644
--- a/configdialog/kbfxconfigdlgbutton.ui.h
+++ b/configdialog/kbfxconfigdlgbutton.ui.h
@@ -125,12 +125,12 @@ void KbfxConfigDlgButton::ChangeForm()
KbfxButtonToggled ( 1 );
if ( ConfigInit().m_fadeTime == 0 )
- KbfxFadeButton->setChecked ( FALSE );
+ KbfxFadeButton->setChecked ( false );
else
- KbfxFadeButton->setChecked ( TRUE );
- if ( ConfigInit().m_ToolBarResize == TRUE && KbfxResizeKicker->state() == 0 )
+ KbfxFadeButton->setChecked ( true );
+ if ( ConfigInit().m_ToolBarResize && KbfxResizeKicker->state() == 0 )
KbfxResizeKicker->toggle();
- if ( ConfigInit().m_ToolBarResize == FALSE && KbfxResizeKicker->state() == 2 )
+ if ( !ConfigInit().m_ToolBarResize && KbfxResizeKicker->state() == 2 )
KbfxResizeKicker->toggle();
KbfxFadeTime->setText ( TQString::number ( ConfigInit().m_fadeTime ) );
@@ -142,13 +142,13 @@ void KbfxConfigDlgButton::KbfxResizeKickerToggled ( bool )
if ( KbfxResizeKicker->state() == 2 )
{
KbfxResizeKicker->setText ( tr2i18n ( "Panel Resize is 'ON'" ) );
- ConfigInit().m_ToolBarResize = TRUE;
+ ConfigInit().m_ToolBarResize = true;
}
if ( KbfxResizeKicker->state() == 0 )
{
KbfxResizeKicker->setText ( tr2i18n ( "Panel Resize is 'OFF'" ) );
- ConfigInit().m_ToolBarResize = FALSE;
+ ConfigInit().m_ToolBarResize = false;
}
kdDebug() << "Panel Resize is: "
diff --git a/configdialog/kbfxconfigdlgfonts-old.ui.h b/configdialog/kbfxconfigdlgfonts-old.ui.h
index adee2de..d2e8229 100644
--- a/configdialog/kbfxconfigdlgfonts-old.ui.h
+++ b/configdialog/kbfxconfigdlgfonts-old.ui.h
@@ -12,12 +12,12 @@
void KbfxConfigDlgFonts::init()
{
- KbfxFormReady = FALSE;
+ KbfxFormReady = false;
}
void KbfxConfigDlgFonts::ChangeForm()
{
- KbfxFormReady = FALSE;
+ KbfxFormReady = false;
KbfxTheme->setText ( "<p align=left><b>" + ConfigInit().m_SpinxThemeName + "</b></p>" );
KbfxBoldHover->setChecked ( ConfigInit().m_fontHoverBold );
KbfxApplicationColor->setColor ( ConfigInit().m_fontAppNameColor );
@@ -35,7 +35,7 @@ void KbfxConfigDlgFonts::ChangeForm()
KbfxFont_plugin->setFont ( ConfigInit().m_pluginNameFont );
KbfxTooltipColor->setColor ( ConfigInit().m_fontTooltipColor );
KbfxFont_tooltip->setFont ( ConfigInit().m_fontTooltipFont );
- KbfxFormReady = TRUE;
+ KbfxFormReady = true;
}
void KbfxConfigDlgFonts::KbfxApplicationColorSelected ( const TQColor &color )
@@ -117,7 +117,7 @@ void KbfxConfigDlgFonts::KbfxExportFileAction()
"*.*|" + tr2i18n("All files"),
0,
0,
- TRUE);
+ true);
KbfxExportFontRcDialog.setOperationMode(KFileDialog::Saving);
KbfxExportFontRcDialog.setCaption(tr2i18n("Select Folder to export kbfxfontrc file"));
KbfxExportFontRcDialog.setMode(KFile::Directory);
diff --git a/configdialog/kbfxconfigdlglayout.ui.h b/configdialog/kbfxconfigdlglayout.ui.h
index 7644244..d45191b 100644
--- a/configdialog/kbfxconfigdlglayout.ui.h
+++ b/configdialog/kbfxconfigdlglayout.ui.h
@@ -635,7 +635,7 @@ bool KbfxConfigDlgLayout::KbfxMessage()
tr2i18n ( "Prepare" ) );
if ( messageBoxReturn == KMessageBox::Cancel )
- return FALSE;
+ return false;
- return TRUE;
+ return true;
}
diff --git a/configdialog/kbfxconfigdlgplugins.ui.h b/configdialog/kbfxconfigdlgplugins.ui.h
index 9ede1e1..94d5358 100644
--- a/configdialog/kbfxconfigdlgplugins.ui.h
+++ b/configdialog/kbfxconfigdlgplugins.ui.h
@@ -39,7 +39,7 @@ TQStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel )
for ( it_available = allPlugins.begin(); it_available != allPlugins.end(); ++it_available )
{
- _not_present = TRUE;
+ _not_present = true;
if ( panel == 0 )
{
for ( it_requested = ConfigInit ().m_pluginsLeft.begin ();
@@ -47,7 +47,7 @@ TQStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel )
{
if ( ( *it_available ).contains ( *it_requested ) > 0 )
{
- _not_present = FALSE;
+ _not_present = false;
break;
}
}
@@ -59,7 +59,7 @@ TQStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel )
{
if ( ( *it_available ).contains ( *it_requested ) > 0 )
{
- _not_present = FALSE;
+ _not_present = false;
break;
}
}
diff --git a/configdialog/kbfxconfigdlgthemes.ui.h b/configdialog/kbfxconfigdlgthemes.ui.h
index 74d600b..8a0ed37 100644
--- a/configdialog/kbfxconfigdlgthemes.ui.h
+++ b/configdialog/kbfxconfigdlgthemes.ui.h
@@ -14,7 +14,7 @@ KbfxThemeInfo * KbfxConfigDlgThemes::_info_box = 0;
void KbfxConfigDlgThemes::init()
{
- KbfxFormReady = FALSE;
+ KbfxFormReady = false;
img_nopreview = image0;
connect ( this, TQ_SIGNAL ( KbfxThemeDoInstall ( TQString & ) ),
@@ -28,14 +28,14 @@ void KbfxConfigDlgThemes::KbfxDudeAnimationButtonToggled(bool)
{
KbfxAnimationButton->setText(tr2i18n("Animation is ON"));
KbfxAnimationButton->setPaletteBackgroundColor(TQColor(0,255,0));
- ConfigInit().m_SpinxDudeBlink = TRUE;
+ ConfigInit().m_SpinxDudeBlink = true;
}
if(KbfxAnimationButton->state() == 0)
{
KbfxAnimationButton->setText(tr2i18n("Animation is OFF"));
KbfxAnimationButton->setPaletteBackgroundColor(TQColor(221,223,228));
- ConfigInit().m_SpinxDudeBlink = FALSE;
+ ConfigInit().m_SpinxDudeBlink = false;
}
kdDebug() << "SpinxDudeBlink State is:"
@@ -122,7 +122,7 @@ void KbfxConfigDlgThemes::setKbfxThemePreview()
void KbfxConfigDlgThemes::ChangeForm()
{
- KbfxFormReady = FALSE;
+ KbfxFormReady = false;
KbfxURLRequesterThemesPath->setURL ( ConfigInit().m_UserSpinxThemeBasePath );
KbfxThemeList->clear();
@@ -132,7 +132,7 @@ void KbfxConfigDlgThemes::ChangeForm()
<< KbfxThemesData().setThemeList ( ConfigInit().m_UserSpinxThemeBasePath ) [ConfigInit().m_SpinxThemeName]
<< endl;
- KbfxThemeList->setSelected ( KbfxThemeList->findItem ( ConfigInit().m_SpinxThemeName ), TRUE );
+ KbfxThemeList->setSelected ( KbfxThemeList->findItem ( ConfigInit().m_SpinxThemeName ), true );
setKbfxThemePreview();
@@ -145,16 +145,16 @@ void KbfxConfigDlgThemes::ChangeForm()
<< ConfigInit().m_SpinxDudeImageDefault
<< endl;
- KbfxFormReady = TRUE;
+ KbfxFormReady = true;
KbfxShowOldThemes->setChecked ( ConfigInit().m_KbfxShowOldThemes );
KbfxWatch->setChecked ( ConfigInit().m_KbfxWatcher );
/*
- if(ConfigInit().m_SpinxDudeBlink == TRUE && KbfxAnimationButton->state() == 0)
+ if(ConfigInit().m_SpinxDudeBlink && KbfxAnimationButton->state() == 0)
KbfxAnimationButton->toggle();
- if(ConfigInit().m_SpinxDudeBlink == FALSE && KbfxAnimationButton->state() == 2)
+ if(!ConfigInit().m_SpinxDudeBlink && KbfxAnimationButton->state() == 2)
KbfxAnimationButton->toggle();
*/
}
@@ -163,7 +163,7 @@ void KbfxConfigDlgThemes::KbfxDeleteThemeClicked()
{
int messageBoxReturn;
int messageBoxUserResReturn;
- TQString KbfxThemeRcDestination = TDEGlobal::dirs()->saveLocation ( "data", TQString ( "kbfx/themerc/" ), TRUE );
+ TQString KbfxThemeRcDestination = TDEGlobal::dirs()->saveLocation ( "data", TQString ( "kbfx/themerc/" ), true );
KbfxThemeRcDestination.append( ConfigInit().m_SpinxThemeName );
messageBoxReturn = KMessageBox::warningContinueCancel ( 0,
@@ -223,7 +223,7 @@ void KbfxConfigDlgThemes::KbfxInstallThemeClicked()
"*.tar *.tar.bz2 *.tar.gz *.kbfxtheme|" + tr2i18n ( "KBFX theme packages (*.tar, *.tar.bz2, *.tar.gz, *.kbfxtheme)" ),
0,
0,
- TRUE );
+ true );
KbfxInstallDialog.setCaption ( tr2i18n ( "Select KBFX theme package to install" ) );
KbfxInstallDialog.setMode ( KFile::File | KFile::ExistingOnly );
@@ -249,12 +249,12 @@ void KbfxConfigDlgThemes::KbfxThemeInstall ( TQString &installUrl )
const TQString KbfxThemeDestination = TDEGlobal::dirs()->saveLocation ( "data",
TQString ( "kbfx/skins/" ),
- TRUE );
+ true );
kdDebug() << "Copying theme: " << KbfxThemeDestination << endl;
const KArchiveDirectory *KbfxThemeArchiveDir = KbfxThemeArchive.directory();
- KbfxThemeArchiveDir->copyTo ( KbfxThemeDestination, TRUE );
+ KbfxThemeArchiveDir->copyTo ( KbfxThemeDestination, true );
ChangeForm();
}
@@ -265,7 +265,7 @@ void KbfxConfigDlgThemes::KbfxSelectDudeImageClicked()
"image/jpeg image/png image/x-xpm image/gif ",
0,
0,
- TRUE );
+ true );
KbfxDudeImageDialog.setCaption ( tr2i18n ( "Select personal image" ) );
KbfxDudeImageDialog.setMode ( KFile::File | KFile::ExistingOnly );
diff --git a/configdialog/kbfxconfigdlgtooltip.ui.h b/configdialog/kbfxconfigdlgtooltip.ui.h
index 4f55e80..d5891d0 100644
--- a/configdialog/kbfxconfigdlgtooltip.ui.h
+++ b/configdialog/kbfxconfigdlgtooltip.ui.h
@@ -22,14 +22,14 @@ void KbfxConfigDlgTooltip::KbfxTooltipAnimationButtonToggled ( bool )
{
KbfxTooltipAnimationButton->setText ( tr2i18n ( "Turn the animation 'OFF'" ) );
KbfxTooltipAnimationPixmapLabel->setPixmap ( img_on );
- ConfigInit().m_ToolTipAnimation = TRUE;
+ ConfigInit().m_ToolTipAnimation = true;
}
if ( KbfxTooltipAnimationButton->state() == 0 )
{
KbfxTooltipAnimationButton->setText ( tr2i18n ( "Turn the animation 'ON'" ) );
KbfxTooltipAnimationPixmapLabel->setPixmap ( img_off );
- ConfigInit().m_ToolTipAnimation = FALSE;
+ ConfigInit().m_ToolTipAnimation = false;
}
kdDebug() << "Tooltip animation state: "
@@ -52,14 +52,14 @@ void KbfxConfigDlgTooltip::KbfxTooltipOnButtonToggled ( bool )
{
KbfxTooltipOnButton->setText ( tr2i18n ( "Turn the tooltip 'OFF'" ) );
KbfxTooltipOnPixmapLabel->setPixmap ( img_on );
- ConfigInit().m_ToolTip = TRUE;
+ ConfigInit().m_ToolTip = true;
}
if ( KbfxTooltipOnButton->state() == 0 )
{
KbfxTooltipOnButton->setText ( tr2i18n ( "Turn the tooltip 'ON'" ) );
KbfxTooltipOnPixmapLabel->setPixmap ( img_off );
- ConfigInit().m_ToolTip = FALSE;
+ ConfigInit().m_ToolTip = false;
}
@@ -70,16 +70,16 @@ void KbfxConfigDlgTooltip::KbfxTooltipOnButtonToggled ( bool )
void KbfxConfigDlgTooltip::ChangeForm()
{
- if ( ConfigInit().m_ToolTip == TRUE && KbfxTooltipOnButton->state() == 0 )
+ if ( ConfigInit().m_ToolTip && KbfxTooltipOnButton->state() == 0 )
KbfxTooltipOnButton->toggle();
- if ( ConfigInit().m_ToolTip == FALSE && KbfxTooltipOnButton->state() == 2 )
+ if ( !ConfigInit().m_ToolTip && KbfxTooltipOnButton->state() == 2 )
KbfxTooltipOnButton->toggle();
- if ( ConfigInit().m_ToolTipAnimation == TRUE && KbfxTooltipAnimationButton->state() == 0 )
+ if ( ConfigInit().m_ToolTipAnimation && KbfxTooltipAnimationButton->state() == 0 )
KbfxTooltipAnimationButton->toggle();
- if ( ConfigInit().m_ToolTipAnimation == FALSE && KbfxTooltipAnimationButton->state() == 2 )
+ if ( !ConfigInit().m_ToolTipAnimation && KbfxTooltipAnimationButton->state() == 2 )
KbfxTooltipAnimationButton->toggle();
KbfxTooltipTextEdit->setText ( ConfigInit().m_ToolTipText );