summaryrefslogtreecommitdiffstats
path: root/configdialog/kbfxconfigdlgthemes.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'configdialog/kbfxconfigdlgthemes.ui.h')
-rw-r--r--configdialog/kbfxconfigdlgthemes.ui.h26
1 files changed, 13 insertions, 13 deletions
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 );