diff options
Diffstat (limited to 'examples/agent')
-rw-r--r-- | examples/agent/CMakeLists.txt | 8 | ||||
-rw-r--r-- | examples/agent/klistener.cpp | 6 | ||||
-rw-r--r-- | examples/agent/klistener.h | 12 | ||||
-rw-r--r-- | examples/agent/pkagentexample.cpp | 2 |
4 files changed, 14 insertions, 14 deletions
diff --git a/examples/agent/CMakeLists.txt b/examples/agent/CMakeLists.txt index ba708cb46..17dc16272 100644 --- a/examples/agent/CMakeLists.txt +++ b/examples/agent/CMakeLists.txt @@ -17,8 +17,8 @@ add_executable(polkit-agent-example ) target_link_libraries(polkit-agent-example - ${QT_QTCORE_LIBRARY} - ${QT_QTGUI_LIBRARY} - polkit-qt-agent-1 - polkit-qt-core-1 + ${TQT_TQTCORE_LIBRARY} + ${TQT_TQTGUI_LIBRARY} + polkit-tqt-agent-1 + polkit-tqt-core-1 ) diff --git a/examples/agent/klistener.cpp b/examples/agent/klistener.cpp index 147b95a67..e78b3d081 100644 --- a/examples/agent/klistener.cpp +++ b/examples/agent/klistener.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 @@ -22,7 +22,7 @@ #include <TQInputDialog> #include "klistener.h" -#include "agent/polkitqt1-agent-session.h" +#include "agent/polkittqt1-agent-session.h" using namespace PolkitTQt1::Agent; @@ -47,7 +47,7 @@ void KListener::initiateAuthentication(const TQString &actionId, tqDebug() << details.keys(); tqDebug() << "cookie" << cookie; - Q_FOREACH (const PolkitTQt1::Identity &identity, identities) { + TQ_FOREACH (const PolkitTQt1::Identity &identity, identities) { tqDebug() << identity.toString(); Session *session; session = new Session(identity, cookie, result); diff --git a/examples/agent/klistener.h b/examples/agent/klistener.h index d0e45c6ba..67c3722cc 100644 --- a/examples/agent/klistener.h +++ b/examples/agent/klistener.h @@ -18,16 +18,16 @@ * Boston, MA 02110-1301, USA. */ -#ifndef POLKIT_QT_AGENT_KDE_LISTENER_H -#define POLKIT_QT_AGENT_KDE_LISTENER_H +#ifndef POLKIT_TQT_AGENT_KDE_LISTENER_H +#define POLKIT_TQT_AGENT_KDE_LISTENER_H #include <TQtCore/TQObject> #include <TQtCore/TQString> -#include "agent/polkitqt1-agent-listener.h" -#include "core/polkitqt1-identity.h" -#include "core/polkitqt1-details.h" -#include "agent/polkitqt1-agent-session.h" +#include "agent/polkittqt1-agent-listener.h" +#include "core/polkittqt1-identity.h" +#include "core/polkittqt1-details.h" +#include "agent/polkittqt1-agent-session.h" class KListener : public PolkitTQt1::Agent::Listener { diff --git a/examples/agent/pkagentexample.cpp b/examples/agent/pkagentexample.cpp index 858376c22..8537aa832 100644 --- a/examples/agent/pkagentexample.cpp +++ b/examples/agent/pkagentexample.cpp @@ -4,7 +4,7 @@ #include "pkagentexample.h" #include <glib-object.h> #include <TQtCore/TQDebug> -#include "polkitqt1-subject.h" +#include "polkittqt1-subject.h" PkAgentExample::PkAgentExample(int &argc, char **argv) : TQCoreApplication(argc, argv) |