blob: 8537aa8329b26eed31ff065f88b3b73ebd95f681 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1
#include <polkitagent/polkitagent.h>
#include "pkagentexample.h"
#include <glib-object.h>
#include <TQtCore/TQDebug>
#include "polkittqt1-subject.h"
PkAgentExample::PkAgentExample(int &argc, char **argv)
: TQCoreApplication(argc, argv)
{
g_type_init();
PolkitTQt1::UnixSessionSubject session(getpid());
m_listener.registerListener(session, "/org/kde/PolicyKit1/AuthenticationAgent");
}
|