diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-01-03 17:23:44 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-04 03:55:23 +0100 |
commit | 27ea6ede3cc480e4680fcc56b29df6ea824f7877 (patch) | |
tree | 12499d967ad4d4c08d463f8c6b2c588d4b24a668 | |
parent | d47d7882d71e4a02a14a741d9eed4c62b034c89f (diff) | |
download | polkit-tqt-27ea6ede3cc480e4680fcc56b29df6ea824f7877.tar.gz polkit-tqt-27ea6ede3cc480e4680fcc56b29df6ea824f7877.zip |
Add '_p' into the names of private headers and do not install them.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | agent/CMakeLists.txt | 2 | ||||
-rw-r--r-- | agent/listeneradapter.cpp | 5 | ||||
-rw-r--r-- | agent/listeneradapter_p.h (renamed from agent/listeneradapter.h) | 1 | ||||
-rw-r--r-- | agent/polkit-tqt-agent-listener.cpp | 2 | ||||
-rw-r--r-- | agent/polkit-tqt-listener.cpp | 3 | ||||
-rw-r--r-- | agent/polkit-tqt-listener_p.h (renamed from agent/polkit-tqt-listener.h) | 3 |
6 files changed, 5 insertions, 11 deletions
diff --git a/agent/CMakeLists.txt b/agent/CMakeLists.txt index 6ac30d2c0..6f2b74948 100644 --- a/agent/CMakeLists.txt +++ b/agent/CMakeLists.txt @@ -30,8 +30,6 @@ install( FILES polkit-tqt-agent-session.h polkit-tqt-agent-listener.h - listeneradapter.h - polkit-tqt-listener.h DESTINATION ${INCLUDE_INSTALL_DIR} ) diff --git a/agent/listeneradapter.cpp b/agent/listeneradapter.cpp index 39e7e8d36..6870797a0 100644 --- a/agent/listeneradapter.cpp +++ b/agent/listeneradapter.cpp @@ -21,7 +21,7 @@ #define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1 #include <polkitagent/polkitagent.h> -#include "listeneradapter.h" +#include "listeneradapter_p.h" namespace PolkitTQt @@ -130,5 +130,4 @@ void ListenerAdapter::removeListener(Listener *listener) } -#include "listeneradapter.moc" - +#include "listeneradapter_p.moc" diff --git a/agent/listeneradapter.h b/agent/listeneradapter_p.h index 18d36d60b..ad2586776 100644 --- a/agent/listeneradapter.h +++ b/agent/listeneradapter_p.h @@ -90,4 +90,3 @@ class ListenerAdapter : public TQObject } #endif - diff --git a/agent/polkit-tqt-agent-listener.cpp b/agent/polkit-tqt-agent-listener.cpp index 8e41c7c3b..fe554b630 100644 --- a/agent/polkit-tqt-agent-listener.cpp +++ b/agent/polkit-tqt-agent-listener.cpp @@ -18,7 +18,7 @@ * Boston, MA 02110-1301, USA. */ -#include "polkit-tqt-listener.h" +#include "polkit-tqt-listener_p.h" #include "polkit-tqt-agent-listener.h" #include "polkit-tqt-authority.h" diff --git a/agent/polkit-tqt-listener.cpp b/agent/polkit-tqt-listener.cpp index 9275e0783..8aee6cb36 100644 --- a/agent/polkit-tqt-listener.cpp +++ b/agent/polkit-tqt-listener.cpp @@ -20,7 +20,7 @@ * polkit-tqt-listener based on code by David Zeuthen <davidz@redhat.com> */ -#include "polkit-tqt-listener.h" +#include "polkit-tqt-listener_p.h" #include <stdio.h> @@ -108,4 +108,3 @@ static gboolean polkit_tqt_listener_initiate_authentication_finish(PolkitAgentLi return ListenerAdapter::instance()->polkit_tqt_listener_initiate_authentication_finish(listener, res, error); } - diff --git a/agent/polkit-tqt-listener.h b/agent/polkit-tqt-listener_p.h index 55895cc6e..e9d23abe0 100644 --- a/agent/polkit-tqt-listener.h +++ b/agent/polkit-tqt-listener_p.h @@ -26,7 +26,7 @@ #define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1 #include <polkitagent/polkitagent.h> -#include "listeneradapter.h" +#include "listeneradapter_p.h" G_BEGIN_DECLS @@ -52,4 +52,3 @@ PolkitAgentListener *polkit_tqt_listener_new(void); G_END_DECLS #endif - |