|
|
|
@ -131,7 +131,7 @@ SavePreferences::SavePreferences(TQWidget *parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(1,Qt::Horizontal,page);
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(1,TQt::Horizontal,page);
|
|
|
|
|
layout->addWidget(box);
|
|
|
|
|
|
|
|
|
|
box->setMargin(KDialog::marginHint());
|
|
|
|
@ -140,13 +140,13 @@ SavePreferences::SavePreferences(TQWidget *parent)
|
|
|
|
|
_autoCheckButton = new TQCheckBox(i18n("Chec&k syntax of file when saving"),box, "kcfg_AutoSyntaxCheck");
|
|
|
|
|
_saveObsoleteButton = new TQCheckBox(i18n("Save &obsolete entries"),box, "kcfg_SaveObsolete");
|
|
|
|
|
|
|
|
|
|
TQGroupBox* descBox=new TQGroupBox(1,Qt::Horizontal,i18n("De&scription"),page);
|
|
|
|
|
TQGroupBox* descBox=new TQGroupBox(1,TQt::Horizontal,i18n("De&scription"),page);
|
|
|
|
|
layout->addWidget(descBox);
|
|
|
|
|
|
|
|
|
|
descBox->setMargin(KDialog::marginHint());
|
|
|
|
|
_descriptionEdit = new TQLineEdit(descBox, "kcfg_DescriptionString");
|
|
|
|
|
|
|
|
|
|
TQGroupBox* encodingBox = new TQGroupBox(1,Qt::Horizontal,i18n("Encoding")
|
|
|
|
|
TQGroupBox* encodingBox = new TQGroupBox(1,TQt::Horizontal,i18n("Encoding")
|
|
|
|
|
,page);
|
|
|
|
|
encodingBox->setMargin(KDialog::marginHint());
|
|
|
|
|
layout->addWidget(encodingBox);
|
|
|
|
@ -175,7 +175,7 @@ SavePreferences::SavePreferences(TQWidget *parent)
|
|
|
|
|
_oldEncodingButton = new TQCheckBox(i18n("Kee&p the encoding of the file")
|
|
|
|
|
,encodingBox, "kcfg_UseOldEncoding");
|
|
|
|
|
|
|
|
|
|
_autoSaveBox = new TQGroupBox( 1, Qt::Horizontal, i18n( "Automatic Saving" ), page );
|
|
|
|
|
_autoSaveBox = new TQGroupBox( 1, TQt::Horizontal, i18n( "Automatic Saving" ), page );
|
|
|
|
|
_autoSaveBox->setMargin( KDialog::marginHint( ) );
|
|
|
|
|
layout->addWidget( _autoSaveBox );
|
|
|
|
|
_autoSaveDelay = new KIntNumInput( _autoSaveBox, "kcfg_AutoSaveDelay" );
|
|
|
|
@ -192,7 +192,7 @@ SavePreferences::SavePreferences(TQWidget *parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* gridBox = new TQGroupBox(2,Qt::Horizontal,i18n("Fields to Update"),page);
|
|
|
|
|
TQGroupBox* gridBox = new TQGroupBox(2,TQt::Horizontal,i18n("Fields to Update"),page);
|
|
|
|
|
layout->addWidget(gridBox);
|
|
|
|
|
gridBox->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
@ -203,7 +203,7 @@ SavePreferences::SavePreferences(TQWidget *parent)
|
|
|
|
|
_encodingButton = new TQCheckBox(i18n("&Encoding"),gridBox, "kcfg_UpdateEncoding");
|
|
|
|
|
_projectButton = new TQCheckBox(i18n("Pro&ject"),gridBox, "kcfg_UpdateProject");
|
|
|
|
|
|
|
|
|
|
TQButtonGroup* dateBox = new TQButtonGroup(2,Qt::Horizontal,i18n("Format of Revision-Date"),page, "kcfg_DateFormat");
|
|
|
|
|
TQButtonGroup* dateBox = new TQButtonGroup(2,TQt::Horizontal,i18n("Format of Revision-Date"),page, "kcfg_DateFormat");
|
|
|
|
|
layout->addWidget(dateBox);
|
|
|
|
|
box->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
@ -222,7 +222,7 @@ SavePreferences::SavePreferences(TQWidget *parent)
|
|
|
|
|
|
|
|
|
|
connect( _customDateButton, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT( customDateActivated(bool) ) );
|
|
|
|
|
|
|
|
|
|
TQGroupBox* projectBox = new TQGroupBox(1,Qt::Horizontal,i18n("Project String")
|
|
|
|
|
TQGroupBox* projectBox = new TQGroupBox(1,TQt::Horizontal,i18n("Project String")
|
|
|
|
|
,page);
|
|
|
|
|
projectBox->setMargin(KDialog::marginHint());
|
|
|
|
|
layout->addWidget(projectBox);
|
|
|
|
@ -243,14 +243,14 @@ SavePreferences::SavePreferences(TQWidget *parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* translatorCopyrightBox = new TQGroupBox(1,Qt::Horizontal, page);
|
|
|
|
|
TQGroupBox* translatorCopyrightBox = new TQGroupBox(1,TQt::Horizontal, page);
|
|
|
|
|
translatorCopyrightBox->setMargin(KDialog::marginHint());
|
|
|
|
|
_translatorCopyrightButton =
|
|
|
|
|
new TQCheckBox(i18n("Update &translator copyright")
|
|
|
|
|
,translatorCopyrightBox, "kcfg_UpdateTranslatorCopyright");
|
|
|
|
|
layout->addWidget(translatorCopyrightBox);
|
|
|
|
|
|
|
|
|
|
TQGroupBox* fsfBox=new TQButtonGroup(1,Qt::Horizontal,i18n("Free Software Foundation Copyright"),page, "kcfg_FSFCopyright");
|
|
|
|
|
TQGroupBox* fsfBox=new TQButtonGroup(1,TQt::Horizontal,i18n("Free Software Foundation Copyright"),page, "kcfg_FSFCopyright");
|
|
|
|
|
layout->addWidget(fsfBox);
|
|
|
|
|
|
|
|
|
|
fsfBox->setMargin(KDialog::marginHint());
|
|
|
|
@ -369,13 +369,13 @@ void SavePreferences::defaults(const KBabel::SaveSettings& _settings)
|
|
|
|
|
|
|
|
|
|
switch(_settings.dateFormat)
|
|
|
|
|
{
|
|
|
|
|
case Qt::ISODate:
|
|
|
|
|
case TQt::ISODate:
|
|
|
|
|
_defaultDateButton->setChecked(true);
|
|
|
|
|
break;
|
|
|
|
|
case Qt::LocalDate:
|
|
|
|
|
case TQt::LocalDate:
|
|
|
|
|
_localDateButton->setChecked(true);
|
|
|
|
|
break;
|
|
|
|
|
case Qt::TextDate:
|
|
|
|
|
case TQt::TextDate:
|
|
|
|
|
_customDateButton->setChecked(true);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
@ -412,7 +412,7 @@ IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& proje
|
|
|
|
|
layout->addWidget(new TQLabel(i18n("<font size=\"+1\">Project: %1</font>").arg(project),page));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQGroupBox* group = new TQGroupBox(2,Qt::Horizontal,page);
|
|
|
|
|
TQGroupBox* group = new TQGroupBox(2,TQt::Horizontal,page);
|
|
|
|
|
layout->addWidget(group);
|
|
|
|
|
group->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
@ -461,7 +461,7 @@ IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& proje
|
|
|
|
|
TQWhatsThis::add(group,whatsThisMsg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
group = new TQGroupBox(1,Qt::Horizontal,page);
|
|
|
|
|
group = new TQGroupBox(1,TQt::Horizontal,page);
|
|
|
|
|
layout->addWidget(group);
|
|
|
|
|
group->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
@ -667,7 +667,7 @@ MiscPreferences::MiscPreferences(TQWidget *parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(1,Qt::Horizontal,page);
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(1,TQt::Horizontal,page);
|
|
|
|
|
box->setMargin(KDialog::marginHint());
|
|
|
|
|
layout->addWidget(box);
|
|
|
|
|
|
|
|
|
@ -883,7 +883,7 @@ CatmanPreferences::CatmanPreferences(TQWidget* parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(1,Qt::Horizontal,page);
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(1,TQt::Horizontal,page);
|
|
|
|
|
box->setMargin(KDialog::marginHint());
|
|
|
|
|
layout->addWidget(box);
|
|
|
|
|
|
|
|
|
@ -917,7 +917,7 @@ CatmanPreferences::CatmanPreferences(TQWidget* parent)
|
|
|
|
|
"tree.</p></qt>"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
box=new TQGroupBox(1,Qt::Horizontal,page);
|
|
|
|
|
box=new TQGroupBox(1,TQt::Horizontal,page);
|
|
|
|
|
box->setMargin(KDialog::marginHint());
|
|
|
|
|
layout->addWidget(box);
|
|
|
|
|
|
|
|
|
@ -985,7 +985,7 @@ DirCommandsPreferences::DirCommandsPreferences(TQWidget* parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* box = new TQGroupBox( 1 , Qt::Horizontal , i18n("Commands for Folders") , page );
|
|
|
|
|
TQGroupBox* box = new TQGroupBox( 1 , TQt::Horizontal , i18n("Commands for Folders") , page );
|
|
|
|
|
box->setMargin( KDialog::marginHint() );
|
|
|
|
|
layout->addWidget( box );
|
|
|
|
|
|
|
|
|
@ -1048,7 +1048,7 @@ FileCommandsPreferences::FileCommandsPreferences(TQWidget* parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* box=new TQGroupBox( 1 , Qt::Horizontal , i18n("Commands for Files") , page );
|
|
|
|
|
TQGroupBox* box=new TQGroupBox( 1 , TQt::Horizontal , i18n("Commands for Files") , page );
|
|
|
|
|
box->setMargin( KDialog::marginHint() );
|
|
|
|
|
layout->addWidget( box );
|
|
|
|
|
|
|
|
|
@ -1111,7 +1111,7 @@ ViewPreferences::ViewPreferences(TQWidget* parent)
|
|
|
|
|
layout->setSpacing(KDialog::spacingHint());
|
|
|
|
|
layout->setMargin(KDialog::marginHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(2, Qt::Horizontal,i18n("Shown Columns"),page);
|
|
|
|
|
TQGroupBox* box=new TQGroupBox(2, TQt::Horizontal,i18n("Shown Columns"),page);
|
|
|
|
|
box->setMargin(KDialog::marginHint());
|
|
|
|
|
layout->addWidget(box);
|
|
|
|
|
|
|
|
|
|