Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 4 months ago
parent b677334bce
commit 8a15929c2a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -102,8 +102,8 @@ AuthDialog::AuthDialog(const TQString &actionId, const TQString &message,
// If there is more than 1 identity we will show the combobox for user selection
if (identities.size() > 1)
{
connect(m_authWidget->userCB, SIGNAL(activated(int)),
this, SLOT(on_userCB_currentIndexChanged(int)));
connect(m_authWidget->userCB, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(on_userCB_currentIndexChanged(int)));
createUserCB(identities);
}
else
@ -336,8 +336,8 @@ AuthDetails::AuthDetails(const Details &details, const ActionDescription &action
vendorUL->hide();
}
connect(vendorUL, TQT_SIGNAL(leftClickedURL(const TQString&)),
TQT_SLOT(openUrl(const TQString&)));
connect(vendorUL, TQ_SIGNAL(leftClickedURL(const TQString&)),
TQ_SLOT(openUrl(const TQString&)));
}
void AuthDetails::openUrl(const TQString &url)

@ -76,10 +76,10 @@ void PolkitListener::initiateAuthentication(const TQString &actionId, const TQSt
m_inProgress = true;
m_dialog = new AuthDialog(actionId, message, iconName, details, identities);
connect(m_dialog, TQT_SIGNAL(okClicked()), TQT_SLOT(dialogAccepted()));
connect(m_dialog, TQT_SIGNAL(cancelClicked()), TQT_SLOT(dialogCanceled()));
connect(m_dialog, TQT_SIGNAL(adminUserSelected(const PolkitTQt::Identity&)),
TQT_SLOT(userSelected(const PolkitTQt::Identity&)));
connect(m_dialog, TQ_SIGNAL(okClicked()), TQ_SLOT(dialogAccepted()));
connect(m_dialog, TQ_SIGNAL(cancelClicked()), TQ_SLOT(dialogCanceled()));
connect(m_dialog, TQ_SIGNAL(adminUserSelected(const PolkitTQt::Identity&)),
TQ_SLOT(userSelected(const PolkitTQt::Identity&)));
m_dialog->setOptions();
m_dialog->show();
@ -108,11 +108,11 @@ void PolkitListener::tryAgain()
if (m_selectedUser.isValid())
{
m_session = new Session(m_selectedUser, m_cookie, m_result);
connect(m_session, TQT_SIGNAL(request(const TQString&, bool)), this,
TQT_SLOT(request(const TQString&, bool)));
connect(m_session, TQT_SIGNAL(completed(bool)), this, TQT_SLOT(completed(bool)));
connect(m_session, TQT_SIGNAL(showError(const TQString&)), this,
TQT_SLOT(showError(const TQString&)));
connect(m_session, TQ_SIGNAL(request(const TQString&, bool)), this,
TQ_SLOT(request(const TQString&, bool)));
connect(m_session, TQ_SIGNAL(completed(bool)), this, TQ_SLOT(completed(bool)));
connect(m_session, TQ_SIGNAL(showError(const TQString&)), this,
TQ_SLOT(showError(const TQString&)));
m_session->initiate();
}
}

Loading…
Cancel
Save