summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 18:04:37 +0900
commit5d52b8ff2df2d127a119ffd217a0db49c4d78567 (patch)
treecc21f36537bfb38f376cf97cb77688ea19882047 /kbabel/commonui
parent779722e260dd4d10bec7328ddc0a4e3e42a08e7d (diff)
downloadtdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.tar.gz
tdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1a7a57976491e8df569198d8e903bf9e57e233f0)
Diffstat (limited to 'kbabel/commonui')
-rw-r--r--kbabel/commonui/finddialog.cpp4
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp40
-rw-r--r--kbabel/commonui/roughtransdlg.cpp2
3 files changed, 23 insertions, 23 deletions
diff --git a/kbabel/commonui/finddialog.cpp b/kbabel/commonui/finddialog.cpp
index 34b63685..4f695fb4 100644
--- a/kbabel/commonui/finddialog.cpp
+++ b/kbabel/commonui/finddialog.cpp
@@ -105,7 +105,7 @@ FindDialog::FindDialog(bool forReplace, TQWidget* parent)
_replaceCombo=0;
}
- _buttonGrp = new TQButtonGroup(3, Qt::Horizontal, i18n("Where to Search"), page);
+ _buttonGrp = new TQButtonGroup(3, TQt::Horizontal, i18n("Where to Search"), page);
connect(_buttonGrp,TQT_SIGNAL(clicked(int)), this, TQT_SLOT(inButtonsClicked(int)));
layout->addWidget(_buttonGrp);
@@ -118,7 +118,7 @@ FindDialog::FindDialog(bool forReplace, TQWidget* parent)
"to search.</p></qt>"));
- TQGroupBox* box = new TQGroupBox(2, Qt::Horizontal, i18n("Options"), page);
+ TQGroupBox* box = new TQGroupBox(2, TQt::Horizontal, i18n("Options"), page);
layout->addWidget(box);
_caseSensitive = new TQCheckBox(i18n("C&ase sensitive"),box);
diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp
index 2b5becb3..203d28c0 100644
--- a/kbabel/commonui/projectprefwidgets.cpp
+++ b/kbabel/commonui/projectprefwidgets.cpp
@@ -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);
diff --git a/kbabel/commonui/roughtransdlg.cpp b/kbabel/commonui/roughtransdlg.cpp
index 677b68ee..654bee27 100644
--- a/kbabel/commonui/roughtransdlg.cpp
+++ b/kbabel/commonui/roughtransdlg.cpp
@@ -77,7 +77,7 @@ RoughTransDlg::RoughTransDlg(KBabelDictBox *dict, Catalog *cat
,partTransCounter(0)
,totalTried(0)
{
- setButtonBoxOrientation(Qt::Vertical);
+ setButtonBoxOrientation(TQt::Vertical);
setButtonText(User1,i18n("&Start"));
setButtonText(User2,i18n("S&top"));
setButtonText(User3,i18n("C&ancel"));