From df2cc5bedbdc04e67b119952444ffdbfb18ff0fc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 10:57:21 +0900 Subject: [PATCH] Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 2b2d9c3becc27b93cc739dae3ac9b23a53f2bb82) --- src/bondrealmpage.cpp | 8 +++---- src/ldapbonding.cpp | 54 +++++++++++++++++++++---------------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/bondrealmpage.cpp b/src/bondrealmpage.cpp index fd56209..698998e 100644 --- a/src/bondrealmpage.cpp +++ b/src/bondrealmpage.cpp @@ -42,11 +42,11 @@ BondRealmPage::BondRealmPage(TQWidget *parent, const char *name ) : BondRealmPag px_introSidebar->setPixmap(UserIcon("kcmldapbonding_step1.png")); - connect(txtRealmName, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); - connect(txtKDC, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); - connect(txtAdminServer, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); + connect(txtRealmName, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(validateEntries())); + connect(txtKDC, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(validateEntries())); + connect(txtAdminServer, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(validateEntries())); - connect(txtRealmName, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(realmNameChanged())); + connect(txtRealmName, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(realmNameChanged())); m_parentWizard = dynamic_cast(parent); m_parentDialog = dynamic_cast(parent); diff --git a/src/ldapbonding.cpp b/src/ldapbonding.cpp index 00faeb9..5d8ccc6 100644 --- a/src/ldapbonding.cpp +++ b/src/ldapbonding.cpp @@ -83,33 +83,33 @@ LDAPConfig::LDAPConfig(TQWidget *parent, const char *name, const TQStringList&) setRootOnlyMsg(i18n("Bonded LDAP realms take effect system wide, and require administrator access to modify
To alter the system's bonded LDAP realms, click on the \"Administrator Mode\" button below.")); setUseRootOnlyMsg(true); - connect(base->systemEnableSupport, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(base->defaultRealm, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed())); - connect(base->ticketLifetime, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(base->systemEnableSupport, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(base->ldapRealmList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(processLockouts())); - - connect(base->btnBondRealm, TQT_SIGNAL(clicked()), this, TQT_SLOT(bondToNewRealm())); - connect(base->btnReBondRealm, TQT_SIGNAL(clicked()), this, TQT_SLOT(reBondToRealm())); - connect(base->btnRemoveRealm, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeRealm())); - connect(base->btnDeactivateRealm, TQT_SIGNAL(clicked()), this, TQT_SLOT(deactivateRealm())); - connect(base->btnRealmProperties, TQT_SIGNAL(clicked()), this, TQT_SLOT(realmProperties())); - - connect(base->ldapVersion, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(base->ldapTimeout, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(base->bindPolicy, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed())); - connect(base->ldapBindTimeout, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(base->passwordHash, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed())); - connect(base->ignoredUsers, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); - - connect(base->pamEnablePKCS11Logons, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(base->pamEnablePKCS11Logons, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(base->pamPKCS11LoginCardSlot, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(base->pamEnableCachedLogons, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(base->pamCreateHomeDirectory, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(base->pamCreateHomeDirectory, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(base->pamCreateHomeDirectoryUmask, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(base->pamCreateHomeDirectorySkelDir, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); + connect(base->systemEnableSupport, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(base->defaultRealm, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed())); + connect(base->ticketLifetime, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(base->systemEnableSupport, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(base->ldapRealmList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(processLockouts())); + + connect(base->btnBondRealm, TQ_SIGNAL(clicked()), this, TQ_SLOT(bondToNewRealm())); + connect(base->btnReBondRealm, TQ_SIGNAL(clicked()), this, TQ_SLOT(reBondToRealm())); + connect(base->btnRemoveRealm, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeRealm())); + connect(base->btnDeactivateRealm, TQ_SIGNAL(clicked()), this, TQ_SLOT(deactivateRealm())); + connect(base->btnRealmProperties, TQ_SIGNAL(clicked()), this, TQ_SLOT(realmProperties())); + + connect(base->ldapVersion, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(base->ldapTimeout, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(base->bindPolicy, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed())); + connect(base->ldapBindTimeout, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(base->passwordHash, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed())); + connect(base->ignoredUsers, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); + + connect(base->pamEnablePKCS11Logons, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(base->pamEnablePKCS11Logons, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(base->pamPKCS11LoginCardSlot, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(base->pamEnableCachedLogons, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(base->pamCreateHomeDirectory, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(base->pamCreateHomeDirectory, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(base->pamCreateHomeDirectoryUmask, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(base->pamCreateHomeDirectorySkelDir, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); hostFQDN = LDAPManager::getMachineFQDN(); base->hostFQDN->setEnabled(false);