diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:35:50 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-08 19:02:04 +0900 |
| commit | eedf1c13536da2209d117bd4d01159690ace2ee4 (patch) | |
| tree | cfddda151c5588acb8be8c5419adda96d9d634af /src/polkit-listener.cpp | |
| parent | fbceb48f298c944d510ab03b1f9bbe8e8e7e3f2a (diff) | |
| download | polkit-agent-tde-eedf1c13.tar.gz polkit-agent-tde-eedf1c13.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8a15929c2ac3206825be858e4ba4d53532c62333)
Diffstat (limited to 'src/polkit-listener.cpp')
| -rw-r--r-- | src/polkit-listener.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/polkit-listener.cpp b/src/polkit-listener.cpp index 16e2a3b..fa05566 100644 --- a/src/polkit-listener.cpp +++ b/src/polkit-listener.cpp @@ -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(); } } |
