summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/commonui')
-rw-r--r--kbabel/commonui/cmdedit.cpp26
-rw-r--r--kbabel/commonui/context.cpp2
-rw-r--r--kbabel/commonui/finddialog.cpp12
-rw-r--r--kbabel/commonui/projectpref.cpp16
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp36
-rw-r--r--kbabel/commonui/projectwizard.cpp6
-rw-r--r--kbabel/commonui/roughtransdlg.cpp8
-rw-r--r--kbabel/commonui/tdeactionselector.cpp24
-rw-r--r--kbabel/commonui/toolaction.cpp2
9 files changed, 66 insertions, 66 deletions
diff --git a/kbabel/commonui/cmdedit.cpp b/kbabel/commonui/cmdedit.cpp
index e6db0b5b..4fcc675e 100644
--- a/kbabel/commonui/cmdedit.cpp
+++ b/kbabel/commonui/cmdedit.cpp
@@ -107,19 +107,19 @@ CmdEdit::CmdEdit(TQWidget* parent, const char* name)
setMinimumSize(layout->sizeHint());
- connect(_addButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(addCmd()) ) ;
- connect(_editButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(editCmd()) );
- connect(_removeButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(removeCmd()) );
- connect(_upButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(upCmd()) ) ;
- connect(_downButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(downCmd()) );
-
- connect(_commands , TQT_SIGNAL(highlighted(int)) , this, TQT_SLOT(cmdHighlighted(int)) );
- connect(_commandNames , TQT_SIGNAL(highlighted(int)) , this, TQT_SLOT(cmdNameHighlighted(int)) );
- connect(_commands , TQT_SIGNAL(selected(int)) , this, TQT_SLOT(editCmd()) );
- connect(_commandNames , TQT_SIGNAL(selected(int)) , this, TQT_SLOT(editCmd()) );
-
- connect(_cmdEdit, TQT_SIGNAL(textChanged(const TQString&)) , this , TQT_SLOT(checkAdd()) );
- connect(_cmdNameEdit, TQT_SIGNAL(textChanged(const TQString&)) , this , TQT_SLOT(checkAdd()) );
+ connect(_addButton , TQ_SIGNAL(clicked()) , this , TQ_SLOT(addCmd()) ) ;
+ connect(_editButton , TQ_SIGNAL(clicked()) , this , TQ_SLOT(editCmd()) );
+ connect(_removeButton , TQ_SIGNAL(clicked()) , this , TQ_SLOT(removeCmd()) );
+ connect(_upButton , TQ_SIGNAL(clicked()) , this , TQ_SLOT(upCmd()) ) ;
+ connect(_downButton , TQ_SIGNAL(clicked()) , this , TQ_SLOT(downCmd()) );
+
+ connect(_commands , TQ_SIGNAL(highlighted(int)) , this, TQ_SLOT(cmdHighlighted(int)) );
+ connect(_commandNames , TQ_SIGNAL(highlighted(int)) , this, TQ_SLOT(cmdNameHighlighted(int)) );
+ connect(_commands , TQ_SIGNAL(selected(int)) , this, TQ_SLOT(editCmd()) );
+ connect(_commandNames , TQ_SIGNAL(selected(int)) , this, TQ_SLOT(editCmd()) );
+
+ connect(_cmdEdit, TQ_SIGNAL(textChanged(const TQString&)) , this , TQ_SLOT(checkAdd()) );
+ connect(_cmdNameEdit, TQ_SIGNAL(textChanged(const TQString&)) , this , TQ_SLOT(checkAdd()) );
}
void CmdEdit::setCommands(const TQStringList& commands,const TQStringList& commandNames)
diff --git a/kbabel/commonui/context.cpp b/kbabel/commonui/context.cpp
index a0a83351..6b1719a7 100644
--- a/kbabel/commonui/context.cpp
+++ b/kbabel/commonui/context.cpp
@@ -72,7 +72,7 @@ SourceContext::SourceContext(TQWidget *parent, KBabel::Project::Ptr project): TQ
{
_referenceList.clear();
_referenceCombo = new TQComboBox( this );
- connect( _referenceCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(updateToSelected(int)));
+ connect( _referenceCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateToSelected(int)));
_layout= new TQVBoxLayout(this);
_layout->addWidget(_referenceCombo);
diff --git a/kbabel/commonui/finddialog.cpp b/kbabel/commonui/finddialog.cpp
index df1d887b..797b6c71 100644
--- a/kbabel/commonui/finddialog.cpp
+++ b/kbabel/commonui/finddialog.cpp
@@ -106,7 +106,7 @@ FindDialog::FindDialog(bool forReplace, TQWidget* parent)
}
_buttonGrp = new TQButtonGroup(3, TQt::Horizontal, i18n("Where to Search"), page);
- connect(_buttonGrp,TQT_SIGNAL(clicked(int)), this, TQT_SLOT(inButtonsClicked(int)));
+ connect(_buttonGrp,TQ_SIGNAL(clicked(int)), this, TQ_SLOT(inButtonsClicked(int)));
layout->addWidget(_buttonGrp);
_inMsgid = new TQCheckBox(i18n("&Msgid"),_buttonGrp);
@@ -136,8 +136,8 @@ FindDialog::FindDialog(bool forReplace, TQWidget* parent)
if( !TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty() )
{
_regExpButton = new TQPushButton( i18n("&Edit..."), regexp );
- connect( _regExpButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( regExpButtonClicked()));
- connect( _isRegExp, TQT_SIGNAL( toggled(bool) ), _regExpButton, TQT_SLOT(setEnabled(bool)));
+ connect( _regExpButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( regExpButtonClicked()));
+ connect( _isRegExp, TQ_SIGNAL( toggled(bool) ), _regExpButton, TQ_SLOT(setEnabled(bool)));
}
if(forReplace)
@@ -541,9 +541,9 @@ ReplaceDialog::ReplaceDialog(TQWidget* parent)
TQLabel *label = new TQLabel(i18n("Replace this string?"),page);
layout->addWidget(label);
- connect(this,TQT_SIGNAL(user1Clicked()),this,TQT_SIGNAL(replace()));
- connect(this,TQT_SIGNAL(user2Clicked()),this,TQT_SIGNAL(next()));
- connect(this,TQT_SIGNAL(user3Clicked()),this,TQT_SIGNAL(replaceAll()));
+ connect(this,TQ_SIGNAL(user1Clicked()),this,TQ_SIGNAL(replace()));
+ connect(this,TQ_SIGNAL(user2Clicked()),this,TQ_SIGNAL(next()));
+ connect(this,TQ_SIGNAL(user3Clicked()),this,TQ_SIGNAL(replaceAll()));
}
ReplaceDialog::~ReplaceDialog()
diff --git a/kbabel/commonui/projectpref.cpp b/kbabel/commonui/projectpref.cpp
index 1f53f2f1..7d940acb 100644
--- a/kbabel/commonui/projectpref.cpp
+++ b/kbabel/commonui/projectpref.cpp
@@ -82,15 +82,15 @@ ProjectDialog::ProjectDialog(Project::Ptr project)
addPage(_spellPage, i18n("title of page in preferences dialog","Spelling")
, "tools-check-spelling"
, i18n("Options for Spell Checking"));
- connect( _spellPage, TQT_SIGNAL( settingsChanged() )
- , this, TQT_SLOT(updateButtons()) );
+ connect( _spellPage, TQ_SIGNAL( settingsChanged() )
+ , this, TQ_SLOT(updateButtons()) );
_sourcePage = new SourceContextPreferences(0);
addPage(_sourcePage, i18n("title of page in preferences dialog","Source")
, "text-x-src"
,i18n("Options for Showing Source Context"));
- connect(_sourcePage, TQT_SIGNAL (itemsChanged())
- , this, TQT_SLOT (updateButtons()) );
+ connect(_sourcePage, TQ_SIGNAL (itemsChanged())
+ , this, TQ_SLOT (updateButtons()) );
_miscPage = new MiscPreferences(0);
addPage(_miscPage, i18n("title of page in preferences dialog","Miscellaneous")
@@ -106,15 +106,15 @@ ProjectDialog::ProjectDialog(Project::Ptr project)
addPage(_dirCommandsPage, i18n("title of page in preferences dialog","Folder Commands")
, "folder"
, i18n("User-Defined Commands for Folder Items"));
- connect( _dirCommandsPage, TQT_SIGNAL( settingsChanged() ),
- this, TQT_SLOT(updateButtons()) );
+ connect( _dirCommandsPage, TQ_SIGNAL( settingsChanged() ),
+ this, TQ_SLOT(updateButtons()) );
_fileCommandsPage = new FileCommandsPreferences(0);
addPage(_fileCommandsPage, i18n("title of page in preferences dialog","File Commands")
, "files"
, i18n("User-Defined Commands for File Items"));
- connect( _fileCommandsPage, TQT_SIGNAL( settingsChanged() ),
- this, TQT_SLOT(updateButtons()) );
+ connect( _fileCommandsPage, TQ_SIGNAL( settingsChanged() ),
+ this, TQ_SLOT(updateButtons()) );
_viewPage = new ViewPreferences(0);
addPage(_viewPage, i18n("title of page in preferences dialog","Catalog Manager")
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);
diff --git a/kbabel/commonui/projectwizard.cpp b/kbabel/commonui/projectwizard.cpp
index 79266489..8eac4b06 100644
--- a/kbabel/commonui/projectwizard.cpp
+++ b/kbabel/commonui/projectwizard.cpp
@@ -71,9 +71,9 @@ ProjectWizard::ProjectWizard(TQWidget *parent,const char *name)
}
}
- connect( _wizard->_projectName, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(textChanged(const TQString &)));
- connect( _wizard->_projectFile, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(textChanged(const TQString &)));
- connect( this, TQT_SIGNAL( helpClicked( void ) ), this, TQT_SLOT( slotHelpClicked( void ) ) );
+ connect( _wizard->_projectName, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(textChanged(const TQString &)));
+ connect( _wizard->_projectFile, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(textChanged(const TQString &)));
+ connect( this, TQ_SIGNAL( helpClicked( void ) ), this, TQ_SLOT( slotHelpClicked( void ) ) );
addPage(_wizard, i18n("Basic Project Information"));
diff --git a/kbabel/commonui/roughtransdlg.cpp b/kbabel/commonui/roughtransdlg.cpp
index 654bee27..507e7988 100644
--- a/kbabel/commonui/roughtransdlg.cpp
+++ b/kbabel/commonui/roughtransdlg.cpp
@@ -103,7 +103,7 @@ RoughTransDlg::RoughTransDlg(KBabelDictBox *dict, Catalog *cat
fuzzyButton = new TQCheckBox(i18n("&Fuzzy entries"),bBox);
transButton = new TQCheckBox(i18n("T&ranslated entries"),bBox);
- connect(bBox,TQT_SIGNAL(clicked(int)),this,TQT_SLOT(msgButtonClicked(int)));
+ connect(bBox,TQ_SIGNAL(clicked(int)),this,TQ_SLOT(msgButtonClicked(int)));
TQWhatsThis::add(bBox,i18n("<qt><p><b>What entries to translate</b></p>"
"<p>Choose here, for which entries of the file KBabel "
@@ -144,8 +144,8 @@ RoughTransDlg::RoughTransDlg(KBabelDictBox *dict, Catalog *cat
"you know what you are doing.</p></qt>"));
- connect(markFuzzyButton, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(fuzzyButtonToggled(bool)));
+ connect(markFuzzyButton, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(fuzzyButtonToggled(bool)));
kdeButton = new TQCheckBox(i18n("Initialize &TDE-specific entries"),box);
kdeButton->setChecked(true);
@@ -249,7 +249,7 @@ void RoughTransDlg::slotUser1()
partTransCounter=0;
totalTried=0;
- TQTimer::singleShot(0,this, TQT_SLOT(translate()));
+ TQTimer::singleShot(0,this, TQ_SLOT(translate()));
}
void RoughTransDlg::translate()
diff --git a/kbabel/commonui/tdeactionselector.cpp b/kbabel/commonui/tdeactionselector.cpp
index 7cb5160c..27fcd215 100644
--- a/kbabel/commonui/tdeactionselector.cpp
+++ b/kbabel/commonui/tdeactionselector.cpp
@@ -109,18 +109,18 @@ TDEActionSelector::TDEActionSelector( TQWidget *parent, const char *name )
loadIcons();
- connect( d->btnAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonAddClicked()) );
- connect( d->btnRemove, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonRemoveClicked()) );
- connect( d->btnUp, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonUpClicked()) );
- connect( d->btnDown, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonDownClicked()) );
- connect( d->availableListBox, TQT_SIGNAL(doubleClicked(TQListBoxItem*)),
- this, TQT_SLOT(itemDoubleClicked(TQListBoxItem*)) );
- connect( d->selectedListBox, TQT_SIGNAL(doubleClicked(TQListBoxItem*)),
- this, TQT_SLOT(itemDoubleClicked(TQListBoxItem*)) );
- connect( d->availableListBox, TQT_SIGNAL(currentChanged(TQListBoxItem*)),
- this, TQT_SLOT(slotCurrentChanged(TQListBoxItem *)) );
- connect( d->selectedListBox, TQT_SIGNAL(currentChanged(TQListBoxItem*)),
- this, TQT_SLOT(slotCurrentChanged(TQListBoxItem *)) );
+ connect( d->btnAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonAddClicked()) );
+ connect( d->btnRemove, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonRemoveClicked()) );
+ connect( d->btnUp, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonUpClicked()) );
+ connect( d->btnDown, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonDownClicked()) );
+ connect( d->availableListBox, TQ_SIGNAL(doubleClicked(TQListBoxItem*)),
+ this, TQ_SLOT(itemDoubleClicked(TQListBoxItem*)) );
+ connect( d->selectedListBox, TQ_SIGNAL(doubleClicked(TQListBoxItem*)),
+ this, TQ_SLOT(itemDoubleClicked(TQListBoxItem*)) );
+ connect( d->availableListBox, TQ_SIGNAL(currentChanged(TQListBoxItem*)),
+ this, TQ_SLOT(slotCurrentChanged(TQListBoxItem *)) );
+ connect( d->selectedListBox, TQ_SIGNAL(currentChanged(TQListBoxItem*)),
+ this, TQ_SLOT(slotCurrentChanged(TQListBoxItem *)) );
d->availableListBox->installEventFilter( this );
d->selectedListBox->installEventFilter( this );
diff --git a/kbabel/commonui/toolaction.cpp b/kbabel/commonui/toolaction.cpp
index 6e594834..d9245239 100644
--- a/kbabel/commonui/toolaction.cpp
+++ b/kbabel/commonui/toolaction.cpp
@@ -76,7 +76,7 @@ TQPtrList<TDEAction> ToolAction::dataToolActionList( const TQValueList<KDataTool
ToolAction * action = new ToolAction( *uit, (sc.isEmpty()?TQString():sc), *entry, *cit
, parent
, TQString(namePrefix+(*entry).service()->library()+"_"+(*cit)).utf8() );
- connect( action, TQT_SIGNAL( toolActivated( const KDataToolInfo &, const TQString & ) ),
+ connect( action, TQ_SIGNAL( toolActivated( const KDataToolInfo &, const TQString & ) ),
receiver, slot );
actionList.append( action );