summaryrefslogtreecommitdiffstats
path: root/src/knutprefdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 19:47:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 19:54:53 +0900
commite8b57c6660961ea14ce7d0d5628b70aadbd64694 (patch)
tree745ac571ae0ae3b88927f8dd4d533009f8e404d4 /src/knutprefdlg.cpp
parenta0ecb16bd8b535b21f93568d7ebac09c11b0d365 (diff)
downloadknutclient-e8b57c6660961ea14ce7d0d5628b70aadbd64694.tar.gz
knutclient-e8b57c6660961ea14ce7d0d5628b70aadbd64694.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/knutprefdlg.cpp')
-rw-r--r--src/knutprefdlg.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/knutprefdlg.cpp b/src/knutprefdlg.cpp
index bc9cf2a..2390cdd 100644
--- a/src/knutprefdlg.cpp
+++ b/src/knutprefdlg.cpp
@@ -612,15 +612,15 @@ void KNutPrefDlg::initSetting () {
m_xfer->setChecked(m_settingData->lowHighXfer);
m_voltageGroup->setEnabled(!m_settingData->lowHighXfer);
m_frequencyGroup->setEnabled(!m_settingData->lowHighXfer);
- connect (m_xfer,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotEnableVoltage(bool)));
- connect (m_xfer,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotEnableFrequency(bool)));
+ connect (m_xfer,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotEnableVoltage(bool)));
+ connect (m_xfer,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotEnableFrequency(bool)));
m_checkBoxCbc->setChecked(m_settingData->customBColor);
m_BGButton->setColor(m_settingData->mainBackgroundColor);
m_BGButton->setEnabled(m_settingData->customBColor);
m_mainBackgroundColorLabel->setEnabled(m_settingData->customBColor);
- connect (m_checkBoxCbc,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotUseCustomBColor(bool)));
+ connect (m_checkBoxCbc,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotUseCustomBColor(bool)));
}
void KNutPrefDlg::initUps () {
@@ -654,10 +654,10 @@ void KNutPrefDlg::initUps () {
upsLayout->addStretch( 10 );
- connect (newButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotNewUps()));
- connect (editButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotEditUps()));
- connect (deleteButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotDeleteUps()));
- connect (m_listBox2,TQT_SIGNAL(doubleClicked(TQListBoxItem*, const TQPoint&)),this,TQT_SLOT(slotEditUps()));
+ connect (newButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotNewUps()));
+ connect (editButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotEditUps()));
+ connect (deleteButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotDeleteUps()));
+ connect (m_listBox2,TQ_SIGNAL(doubleClicked(TQListBoxItem*, const TQPoint&)),this,TQ_SLOT(slotEditUps()));
}
@@ -755,8 +755,8 @@ void KNutPrefDlg::initDock () {
setTopLayout->addStretch( 20 );
- connect (m_checkBoxCbi,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotUseCustomBIconColor(bool)));
- connect (m_iconRadioButton1,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotSetPictureKI(bool)));
+ connect (m_checkBoxCbi,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotUseCustomBIconColor(bool)));
+ connect (m_iconRadioButton1,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotSetPictureKI(bool)));
}
@@ -842,7 +842,7 @@ void KNutPrefDlg::initPanel () {
m_BGPButton->setEnabled(m_settingData->customBPanelColor);
m_panelBackgroundColorLabel->setEnabled(m_settingData->customBPanelColor);
m_panelBackgroundColorLabel->setEnabled(m_settingData->customBPanelColor);
- connect (m_checkBoxCbpc,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotUseCustomBPanelColor(bool)));
+ connect (m_checkBoxCbpc,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotUseCustomBPanelColor(bool)));
}
@@ -878,8 +878,8 @@ void KNutPrefDlg::initFonts () {
m_settingFont = MAIN_PANEL_FONT; // sets font for Main Panel / nastavujeme font pro Main Panel
m_fontWidget->setFont(m_mPanelFont);
m_fontWidget->setEnabled(m_settingData->customFont);
- connect (panelFonts,TQT_SIGNAL(activated(int)),this,TQT_SLOT(slotChangeSettingFont(int)));
- connect (m_customFont,TQT_SIGNAL(toggled(bool)),m_fontWidget,TQT_SLOT(setEnabled(bool)));
+ connect (panelFonts,TQ_SIGNAL(activated(int)),this,TQ_SLOT(slotChangeSettingFont(int)));
+ connect (m_customFont,TQ_SIGNAL(toggled(bool)),m_fontWidget,TQ_SLOT(setEnabled(bool)));
}
void KNutPrefDlg::initAnalog () {
@@ -970,8 +970,8 @@ void KNutPrefDlg::initAnalog () {
m_digitalProcesingOfPointers->setCurrentItem(m_settingData->typeDigitalProcessing);
- connect (m_checkBoxCbac,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotUseCustomBAnalogColor(bool)));
- connect (m_checkBoxCoac,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotUseCustomOAnalogColor(bool)));
+ connect (m_checkBoxCbac,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotUseCustomBAnalogColor(bool)));
+ connect (m_checkBoxCoac,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotUseCustomOAnalogColor(bool)));
}