Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2b2d9c3bec)
r14.1.x
Michele Calgaro 10 months ago
parent 2fcf4275bd
commit df2cc5bedb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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<KWizard*>(parent);
m_parentDialog = dynamic_cast<KDialogBase*>(parent);

@ -83,33 +83,33 @@ LDAPConfig::LDAPConfig(TQWidget *parent, const char *name, const TQStringList&)
setRootOnlyMsg(i18n("<b>Bonded LDAP realms take effect system wide, and require administrator access to modify</b><br>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);

Loading…
Cancel
Save