diff --git a/src/actions.cpp b/src/actions.cpp new file mode 100644 index 00000000..8893d365 --- /dev/null +++ b/src/actions.cpp @@ -0,0 +1,16 @@ + +#include "actions.h" + +QAction action_advanced_view("Advanced view"); +QAction action_toggle_dn("Show DN"); +QAction action_attributes("Attributes"); +QAction action_delete_entry("Delete"); +QAction action_new_user("New User"); +QAction action_new_computer("New Computer"); +QAction action_new_group("New Group"); +QAction action_new_ou("New OU"); + +void actions_init() { + action_advanced_view.setCheckable(true); + action_toggle_dn.setCheckable(true); +} diff --git a/src/actions.h b/src/actions.h new file mode 100644 index 00000000..73758665 --- /dev/null +++ b/src/actions.h @@ -0,0 +1,18 @@ + +#ifndef ACTIONS_H +#define ACTIONS_H + +#include + +extern QAction action_advanced_view; +extern QAction action_toggle_dn; +extern QAction action_attributes; +extern QAction action_delete_entry; +extern QAction action_new_user; +extern QAction action_new_computer; +extern QAction action_new_group; +extern QAction action_new_ou; + +void actions_init(); + +#endif /* ACTIONS_H */