diff options
author | Michele Calgaro <[email protected]> | 2023-12-29 16:27:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-31 22:18:23 +0900 |
commit | 79daa6a12bd88ee9b3283d43e6a3bcd955d39cd1 (patch) | |
tree | b576c84d85d824994f7fdaf8c5412475a5c7c185 /src/optiondialog.cpp | |
parent | 835702ea8d041b2521be63dfe0faf75ece29c7f7 (diff) | |
download | kdiff3-79daa6a12bd88ee9b3283d43e6a3bcd955d39cd1.tar.gz kdiff3-79daa6a12bd88ee9b3283d43e6a3bcd955d39cd1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 2065ffa4d02f8a0a799cb7907879ba184949b52c)
Diffstat (limited to 'src/optiondialog.cpp')
-rw-r--r-- | src/optiondialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/optiondialog.cpp b/src/optiondialog.cpp index e91e2d9..90a90f7 100644 --- a/src/optiondialog.cpp +++ b/src/optiondialog.cpp @@ -936,7 +936,7 @@ void OptionDialog::setupMergePage( void ) "See the documentation for details."); TQToolTip::add( label, s_historyEntryStartSortKeyOrderToolTip ); m_pHistorySortKeyOrderLineEdit->setEnabled(false); - connect( m_pHistoryMergeSorting, TQT_SIGNAL(toggled(bool)), m_pHistorySortKeyOrderLineEdit, TQT_SLOT(setEnabled(bool))); + connect( m_pHistoryMergeSorting, TQ_SIGNAL(toggled(bool)), m_pHistorySortKeyOrderLineEdit, TQ_SLOT(setEnabled(bool))); ++line; m_pHistoryAutoMerge = new OptionCheckBox( i18n("Merge version control history on merge start"), false, "RunHistoryAutoMergeOnMergeStart", &m_bRunHistoryAutoMergeOnMergeStart, page, this ); @@ -954,7 +954,7 @@ void OptionDialog::setupMergePage( void ) TQPushButton* pButton = new TQPushButton( i18n("Test your regular expressions"), page ); gbox->addWidget( pButton, line, 0 ); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHistoryMergeRegExpTester())); + connect( pButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHistoryMergeRegExpTester())); ++line; label = new TQLabel( i18n("Irrelevant merge command:"), page ); @@ -1117,7 +1117,7 @@ void OptionDialog::setupDirectoryMergePage( void ) TQToolTip::add( pWhiteSpaceDiffsEqual, i18n( "If files differ only by white space consider them equal.\n" "This is only active when full analysis is chosen." ) ); - connect(pFullAnalysis, TQT_SIGNAL(toggled(bool)), pWhiteSpaceDiffsEqual, TQT_SLOT(setEnabled(bool))); + connect(pFullAnalysis, TQ_SIGNAL(toggled(bool)), pWhiteSpaceDiffsEqual, TQ_SLOT(setEnabled(bool))); pWhiteSpaceDiffsEqual->setEnabled(false); ++line; @@ -1418,10 +1418,10 @@ static char* countryMap[]={ gbox->addWidget( m_pEncodingPPComboBox, line, 1 ); ++line; - connect(m_pSameEncoding, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotEncodingChanged())); - connect(m_pEncodingAComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEncodingChanged())); - connect(m_pAutoDetectUnicodeA, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotEncodingChanged())); - connect(m_pAutoSelectOutEncoding, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotEncodingChanged())); + connect(m_pSameEncoding, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotEncodingChanged())); + connect(m_pEncodingAComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEncodingChanged())); + connect(m_pAutoDetectUnicodeA, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotEncodingChanged())); + connect(m_pAutoSelectOutEncoding, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotEncodingChanged())); OptionCheckBox* pRightToLeftLanguage = new OptionCheckBox( i18n("Right To Left Language"), false, "RightToLeftLanguage", &m_bRightToLeftLanguage, page, this ); gbox->addMultiCellWidget( pRightToLeftLanguage, line, line, 0, 1 ); @@ -1468,14 +1468,14 @@ void OptionDialog::setupIntegrationPage( void ) "Integrate with Rational ClearCase from IBM.\n" "Modifies the \"map\" file in ClearCase-subdir \"lib/mgrs\"\n" "(Only enabled when ClearCase \"bin\" directory is in the path.)")); - connect(pIntegrateWithClearCase, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotIntegrateWithClearCase()) ); + connect(pIntegrateWithClearCase, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotIntegrateWithClearCase()) ); pIntegrateWithClearCase->setEnabled( integrateWithClearCase( "existsClearCase", "" )!=0 ); TQPushButton* pRemoveClearCaseIntegration = new TQPushButton( i18n("Remove ClearCase Integration"), page); gbox->addWidget( pRemoveClearCaseIntegration, line, 1 ); TQToolTip::add( pRemoveClearCaseIntegration, i18n( "Restore the old \"map\" file from before doing the Clearcase integration.")); - connect(pRemoveClearCaseIntegration, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotRemoveClearCaseIntegration()) ); + connect(pRemoveClearCaseIntegration, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotRemoveClearCaseIntegration()) ); pRemoveClearCaseIntegration->setEnabled( integrateWithClearCase( "existsClearCase", "" )!=0 ); ++line; |