summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 10:57:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 10:57:21 +0900
commit2b2d9c3becc27b93cc739dae3ac9b23a53f2bb82 (patch)
tree87f689067133d64684ff7448e21a5142c7b57dbb
parent793fbd90490794eb5676303034345f19bfbaf844 (diff)
downloadkcmldap-2b2d9c3becc27b93cc739dae3ac9b23a53f2bb82.tar.gz
kcmldap-2b2d9c3becc27b93cc739dae3ac9b23a53f2bb82.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/bondrealmpage.cpp8
-rw-r--r--src/ldapbonding.cpp54
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<KWizard*>(parent);
m_parentDialog = dynamic_cast<KDialogBase*>(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("<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);