summaryrefslogtreecommitdiffstats
path: root/agent/polkitqt1-agent-session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agent/polkitqt1-agent-session.cpp')
-rw-r--r--agent/polkitqt1-agent-session.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/agent/polkitqt1-agent-session.cpp b/agent/polkitqt1-agent-session.cpp
index add3d95b1..c39600ff2 100644
--- a/agent/polkitqt1-agent-session.cpp
+++ b/agent/polkitqt1-agent-session.cpp
@@ -1,5 +1,5 @@
/*
- * This file is part of the PolKit1-qt project
+ * This file is part of the PolKit1-tqt project
* Copyright (C) 2009 Radek Novacek <rnovacek@redhat.com>
*
* This library is free software; you can redistribute it and/or
@@ -18,11 +18,11 @@
* Boston, MA 02110-1301, USA.
*/
-#include "polkitqt1-agent-session.h"
+#include "polkittqt1-agent-session.h"
#include <TQtCore/TQDebug>
-#include "polkitqt1-identity.h"
+#include "polkittqt1-identity.h"
#define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1
#include <polkitagent/polkitagent.h>
@@ -104,7 +104,7 @@ void Session::Private::completed(PolkitAgentSession *s, gboolean gained_authoriz
{
tqDebug() << "COMPLETED";
Session *session = (Session *)user_data;
- Q_EMIT(session)->completed(gained_authorization);
+ TQ_EMIT(session)->completed(gained_authorization);
//free session here as polkit documentation asks
g_object_unref(session->d->polkitAgentSession);
@@ -114,19 +114,19 @@ void Session::Private::completed(PolkitAgentSession *s, gboolean gained_authoriz
void Session::Private::request(PolkitAgentSession *s, gchar *request, gboolean echo_on, gpointer user_data)
{
tqDebug() << "REQUEST";
- Q_EMIT((Session *)user_data)->request(TQString::fromUtf8(request), echo_on);
+ TQ_EMIT((Session *)user_data)->request(TQString::fromUtf8(request), echo_on);
}
void Session::Private::showError(PolkitAgentSession *s, gchar *text, gpointer user_data)
{
tqDebug() << "showError";
- Q_EMIT((Session *)user_data)->showError(TQString::fromUtf8(text));
+ TQ_EMIT((Session *)user_data)->showError(TQString::fromUtf8(text));
}
void Session::Private::showInfo(PolkitAgentSession *s, gchar *text, gpointer user_data)
{
tqDebug() << "showInfo";
- Q_EMIT((Session *)user_data)->showInfo(TQString::fromUtf8(text));
+ TQ_EMIT((Session *)user_data)->showInfo(TQString::fromUtf8(text));
}
//
@@ -166,4 +166,4 @@ void AsyncResult::setError(const TQString &text)
g_simple_async_result_set_error(d->result, POLKIT_ERROR, POLKIT_ERROR_FAILED, "%s", text.toUtf8().data());
}
-#include "polkitqt1-agent-session.moc"
+#include "polkittqt1-agent-session.moc"