mirror of
https://github.com/altlinux/admc.git
synced 2025-03-21 02:50:43 +03:00
add missing actions sources
This commit is contained in:
parent
f8afff7ca2
commit
04a66aec1d
16
src/actions.cpp
Normal file
16
src/actions.cpp
Normal file
@ -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);
|
||||
}
|
18
src/actions.h
Normal file
18
src/actions.h
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
#ifndef ACTIONS_H
|
||||
#define ACTIONS_H
|
||||
|
||||
#include <QAction>
|
||||
|
||||
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 */
|
Loading…
x
Reference in New Issue
Block a user