summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/projectprefwidgets.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 13:10:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-20 19:37:16 +0900
commitd3656a49e67074e23e8df5daef0f585199b0a8da (patch)
treea4f8ca60d997f3342a31a8901e11cdb89ab5f270 /kbabel/commonui/projectprefwidgets.cpp
parent34281174eaef4065e90b49b327f3763b04dd5854 (diff)
downloadtdesdk-d3656a49e67074e23e8df5daef0f585199b0a8da.tar.gz
tdesdk-d3656a49e67074e23e8df5daef0f585199b0a8da.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b0c86264e0cd10a0d3a47de3b05be453d9417bcd)
Diffstat (limited to 'kbabel/commonui/projectprefwidgets.cpp')
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp
index 29b051ff..53be602c 100644
--- a/kbabel/commonui/projectprefwidgets.cpp
+++ b/kbabel/commonui/projectprefwidgets.cpp
@@ -220,7 +220,7 @@ SavePreferences::SavePreferences(TQWidget *parent)
_dateFormatEdit = new TQLineEdit(dateBox, "kcfg_CustomDateFormat");
_dateFormatEdit->setEnabled(false);
- connect( _customDateButton, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT( customDateActivated(bool) ) );
+ connect( _customDateButton, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT( customDateActivated(bool) ) );
TQGroupBox* projectBox = new TQGroupBox(1,TQt::Horizontal,i18n("Project String")
,page);
@@ -438,8 +438,8 @@ IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& proje
tempLabel=new TQLabel(i18n("Lan&guage code:"),hbox);
_langCodeEdit = new TQLineEdit(hbox, "kcfg_LanguageCode");
tempLabel->setBuddy(_langCodeEdit);
- connect(_langCodeEdit,TQT_SIGNAL(textChanged(const TQString&)), this
- , TQT_SLOT(checkTestPluralButton()));
+ connect(_langCodeEdit,TQ_SIGNAL(textChanged(const TQString&)), this
+ , TQ_SLOT(checkTestPluralButton()));
tempLabel=new TQLabel(i18n("&Language mailing list:"),group);
_listEdit = new TQLineEdit(group, "kcfg_Mailinglist");
@@ -473,15 +473,15 @@ IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& proje
_pluralFormsBox->setSpecialValueText(
i18n("automatic choose number of plural forms","Automatic"));
label->setBuddy(_pluralFormsBox);
- connect(_pluralFormsBox,TQT_SIGNAL(valueChanged(int)), this
- , TQT_SLOT(checkTestPluralButton()));
+ connect(_pluralFormsBox,TQ_SIGNAL(valueChanged(int)), this
+ , TQ_SLOT(checkTestPluralButton()));
hbox->setStretchFactor(_pluralFormsBox,1);
_testPluralButton = new TQPushButton(i18n("Te&st"),hbox);
_testPluralButton->setEnabled(false);
- connect(_testPluralButton, TQT_SIGNAL(clicked()), this
- , TQT_SLOT(testPluralForm()));
+ connect(_testPluralButton, TQ_SIGNAL(clicked()), this
+ , TQ_SLOT(testPluralForm()));
const TQString msg=i18n("<qt><p><b>Number of singular/plural forms</b></p>"
"<p><b>Note</b>: This option is TDE specific. "
@@ -512,8 +512,8 @@ IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& proje
hbox->setStretchFactor(_gnuPluralFormHeaderEdit,1);
_testGnuPluralFormButton = new TQPushButton(i18n("&Lookup"),hbox);
- connect(_testGnuPluralFormButton, TQT_SIGNAL(clicked()), this
- , TQT_SLOT(lookupGnuPluralFormHeader()));
+ connect(_testGnuPluralFormButton, TQ_SIGNAL(clicked()), this
+ , TQ_SLOT(lookupGnuPluralFormHeader()));
_checkPluralArgumentBox = new TQCheckBox( i18n("Re&quire plural form arguments in translation")
, group, "kcfg_CheckPluralArgument" );
@@ -706,7 +706,7 @@ MiscPreferences::MiscPreferences(TQWidget *parent)
if( !TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty() )
{
_regExpButton = new TQPushButton( i18n("&Edit..."), hbox );
- connect( _regExpButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( regExpButtonClicked()));
+ connect( _regExpButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( regExpButtonClicked()));
}
@@ -811,8 +811,8 @@ SpellPreferences::SpellPreferences(TQWidget* parent)
remIgnoredBtn = new TQCheckBox(i18n("&Remember ignored words"),page, "kcfg_RememberIgnored");
layout->addWidget(remIgnoredBtn);
- connect( spellConfig, TQT_SIGNAL( configChanged() )
- , this, TQT_SIGNAL ( settingsChanged() ) );
+ connect( spellConfig, TQ_SIGNAL( configChanged() )
+ , this, TQ_SIGNAL ( settingsChanged() ) );
TQLabel *tempLabel = new TQLabel(i18n("F&ile to store ignored words:"),page);
layout->addWidget(tempLabel);
@@ -820,8 +820,8 @@ SpellPreferences::SpellPreferences(TQWidget* parent)
layout->addWidget(ignoreURLEdit);
tempLabel->setBuddy(ignoreURLEdit);
- connect(remIgnoredBtn,TQT_SIGNAL(toggled(bool)),ignoreURLEdit
- ,TQT_SLOT(setEnabled(bool)));
+ connect(remIgnoredBtn,TQ_SIGNAL(toggled(bool)),ignoreURLEdit
+ ,TQ_SLOT(setEnabled(bool)));
TQString msg = i18n("<qt><p><b>Remember ignored words</b></p>"
@@ -993,7 +993,7 @@ DirCommandsPreferences::DirCommandsPreferences(TQWidget* parent)
new TQLabel( i18n("Replaceables:\n@PACKAGE@, @PODIR@, @POTDIR@\n"
"@POFILES@, @MARKEDPOFILES@"), box);
- connect (_dirCmdEdit, TQT_SIGNAL(widgetChanged()), this, TQT_SIGNAL(settingsChanged()));
+ connect (_dirCmdEdit, TQ_SIGNAL(widgetChanged()), this, TQ_SIGNAL(settingsChanged()));
TQWhatsThis::add( box , i18n("<qt><p><b>Commands for folders</b></p>"
"<p>Insert here the commands you want to execute in folders from "
@@ -1056,7 +1056,7 @@ FileCommandsPreferences::FileCommandsPreferences(TQWidget* parent)
new TQLabel( i18n("Replaceables:\n"
"@PACKAGE@, @POFILE@,@POTFILE@,\n@PODIR@, @POTDIR@"), box);
- connect (_fileCmdEdit, TQT_SIGNAL(widgetChanged()), this, TQT_SIGNAL(settingsChanged()));
+ connect (_fileCmdEdit, TQ_SIGNAL(widgetChanged()), this, TQ_SIGNAL(settingsChanged()));
TQWhatsThis::add( box , i18n("<qt><p><b>Commands for files</b></p>"
"<p>Insert here the commands you want to execute on files from "
@@ -1168,8 +1168,8 @@ SourceContextPreferences::SourceContextPreferences(TQWidget* parent): TQWidget(p
_pathsEditor->setTitle(i18n("Path Patterns"));
layout->addWidget(_pathsEditor);
- connect ( _pathsEditor, TQT_SIGNAL (itemsChanged ())
- , this, TQT_SIGNAL (itemsChanged ()));
+ connect ( _pathsEditor, TQ_SIGNAL (itemsChanged ())
+ , this, TQ_SIGNAL (itemsChanged ()));
_pathsEditor->installEventFilter(this);