From 1329ec6abbcb7b79cd960e0ca138f16598d5f11f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- filesharing/advanced/kcm_sambaconf/dictmanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'filesharing/advanced/kcm_sambaconf/dictmanager.cpp') diff --git a/filesharing/advanced/kcm_sambaconf/dictmanager.cpp b/filesharing/advanced/kcm_sambaconf/dictmanager.cpp index 099e29ea..bd82714f 100644 --- a/filesharing/advanced/kcm_sambaconf/dictmanager.cpp +++ b/filesharing/advanced/kcm_sambaconf/dictmanager.cpp @@ -64,7 +64,7 @@ void DictManager::handleUnsupportedWidget(const TQString & s, TQWidget* w) { void DictManager::add(const TQString & key, TQLineEdit* lineEdit) { if (_share->optionSupported(key)) { lineEditDict.insert(key,lineEdit); - connect(lineEdit, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changedSlot())); + connect(lineEdit, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changedSlot())); } else handleUnsupportedWidget(key,lineEdit); } @@ -72,7 +72,7 @@ void DictManager::add(const TQString & key, TQLineEdit* lineEdit) { void DictManager::add(const TQString & key, TQCheckBox* checkBox){ if (_share->optionSupported(key)) { checkBoxDict.insert(key,checkBox); - connect(checkBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(changedSlot())); + connect(checkBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(changedSlot())); } else handleUnsupportedWidget(key,checkBox); } @@ -80,7 +80,7 @@ void DictManager::add(const TQString & key, TQCheckBox* checkBox){ void DictManager::add(const TQString & key, KURLRequester* urlRq){ if (_share->optionSupported(key)) { urlRequesterDict.insert(key,urlRq); - connect(urlRq, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changedSlot())); + connect(urlRq, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changedSlot())); } else handleUnsupportedWidget(key,urlRq); } @@ -88,7 +88,7 @@ void DictManager::add(const TQString & key, KURLRequester* urlRq){ void DictManager::add(const TQString & key, TQSpinBox* spinBox){ if (_share->optionSupported(key)) { spinBoxDict.insert(key,spinBox); - connect(spinBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changedSlot())); + connect(spinBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changedSlot())); } else handleUnsupportedWidget(key,spinBox); } @@ -97,7 +97,7 @@ void DictManager::add(const TQString & key, TQComboBox* comboBox, TQStringList* if (_share->optionSupported(key)) { comboBoxDict.insert(key,comboBox); comboBoxValuesDict.insert(key,values); - connect(comboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changedSlot())); + connect(comboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changedSlot())); } else handleUnsupportedWidget(key,comboBox); } -- cgit v1.2.1