diff options
Diffstat (limited to 'agent/listeneradapter.cpp')
-rw-r--r-- | agent/listeneradapter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/agent/listeneradapter.cpp b/agent/listeneradapter.cpp index 231d7d752..7a531dfd5 100644 --- a/agent/listeneradapter.cpp +++ b/agent/listeneradapter.cpp @@ -1,5 +1,5 @@ /* - * This file is part of the Polkit-qt project + * This file is part of the Polkit-tqt project * Copyright (C) 2009 Jaroslav Reznik <jreznik@redhat.com> * * This library is free software; you can redistribute it and/or @@ -39,7 +39,7 @@ public: ListenerAdapter *q; }; -Q_GLOBAL_STATIC(ListenerAdapterHelper, s_globalListenerAdapter) +TQ_GLOBAL_STATIC(ListenerAdapterHelper, s_globalListenerAdapter) ListenerAdapter *ListenerAdapter::instance() { @@ -61,7 +61,7 @@ Listener* ListenerAdapter::findListener(PolkitAgentListener *listener) { Listener *listItem; - Q_FOREACH(listItem, m_listeners) { + TQ_FOREACH(listItem, m_listeners) { Q_ASSERT(listItem); if (listItem->listener() == listener) { @@ -72,7 +72,7 @@ Listener* ListenerAdapter::findListener(PolkitAgentListener *listener) return NULL; } -void ListenerAdapter::polkit_qt_listener_initiate_authentication(PolkitAgentListener *listener, +void ListenerAdapter::polkit_tqt_listener_initiate_authentication(PolkitAgentListener *listener, const gchar *action_id, const gchar *message, const gchar *icon_name, @@ -82,7 +82,7 @@ void ListenerAdapter::polkit_qt_listener_initiate_authentication(PolkitAgentList GCancellable *cancellable, GSimpleAsyncResult *result) { - tqDebug() << "polkit_qt_listener_initiate_authentication callback for " << listener; + tqDebug() << "polkit_tqt_listener_initiate_authentication callback for " << listener; PolkitTQt1::Identity::List idents; PolkitTQt1::Details dets(details); @@ -102,11 +102,11 @@ void ListenerAdapter::polkit_qt_listener_initiate_authentication(PolkitAgentList new AsyncResult(result)); } -gboolean ListenerAdapter::polkit_qt_listener_initiate_authentication_finish(PolkitAgentListener *listener, +gboolean ListenerAdapter::polkit_tqt_listener_initiate_authentication_finish(PolkitAgentListener *listener, GAsyncResult *res, GError **error) { - tqDebug() << "polkit_qt_listener_initiate_authentication_finish callback for " << listener; + tqDebug() << "polkit_tqt_listener_initiate_authentication_finish callback for " << listener; GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT(res); if (g_simple_async_result_propagate_error(simple, error)) { |