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 -#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 similarity index 99% rename from agent/listeneradapter.h rename to 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 */ -#include "polkit-tqt-listener.h" +#include "polkit-tqt-listener_p.h" #include @@ -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 similarity index 98% rename from agent/polkit-tqt-listener.h rename to 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 -#include "listeneradapter.h" +#include "listeneradapter_p.h" G_BEGIN_DECLS @@ -52,4 +52,3 @@ PolkitAgentListener *polkit_tqt_listener_new(void); G_END_DECLS #endif -