1
0
mirror of https://github.com/altlinux/admc.git synced 2025-02-19 01:58:09 +03:00

clang-format

This commit is contained in:
Dmitry Degtyarev 2021-06-30 14:24:51 +04:00
parent 5d3dbbb6d7
commit e69c43ce5b
12 changed files with 33 additions and 35 deletions

View File

@ -22,21 +22,21 @@
#include "adldap.h"
#include "console_types/console_object.h"
#include "globals.h"
#include "utils.h"
#include "select_object_dialog.h"
#include "select_object_advanced_dialog.h"
#include "filter_widget/filter_widget_simple_tab.h"
#include "filter_widget/select_base_widget.h"
#include "globals.h"
#include "select_container_dialog.h"
#include "select_object_advanced_dialog.h"
#include "select_object_dialog.h"
#include "utils.h"
#include <QLineEdit>
#include <QMessageBox>
#include <QModelIndex>
#include <QPushButton>
#include <QTest>
#include <QTimer>
#include <QTreeView>
#include <QLineEdit>
#define PRINT_FOCUS_WIDGET_BEFORE_TAB false
#define PRINT_FOCUS_WIDGET_AFTER_TAB false

View File

@ -93,9 +93,9 @@ protected:
// This is for message boxes opened using exec(), i.e.
// the ones opened by message box static f-ns. Message
// boxes block executation because they are // opened
// using exec(). Therefore when testing f-ns that can
// open messageboxes, call this to to close messageboxes
// boxes block executation because they are opened using
// exec(). Therefore when testing f-ns that can open
// messageboxes, call this to to close messageboxes
// later.
void close_message_box_later();
@ -112,7 +112,6 @@ protected:
void select_object_dialog_select(const QString &dn);
private:
};
void navigate_until_object(QTreeView *view, const QString &target_dn, const int dn_role);

View File

@ -23,14 +23,14 @@
#include "editors/multi_editor.h"
#include "editors/string_editor.h"
#include <QVBoxLayout>
#include <QString>
#include <QStandardItemModel>
#include <QPushButton>
#include <QDialog>
#include <QCheckBox>
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QStandardItemModel>
#include <QString>
#include <QTreeView>
#include <QVBoxLayout>
// NOTE: can't be set because order is important. Read only
// has to be set first to enable other filters.

View File

@ -23,10 +23,10 @@
#include "select_object_dialog.h"
#include "tabs/membership_tab.h"
#include <QVBoxLayout>
#include <QStandardItemModel>
#include <QPushButton>
#include <QStandardItemModel>
#include <QTreeView>
#include <QVBoxLayout>
// TODO: test primary functionality

View File

@ -23,10 +23,10 @@
#include "select_object_dialog.h"
#include "tabs/membership_tab.h"
#include <QVBoxLayout>
#include <QStandardItemModel>
#include <QPushButton>
#include <QStandardItemModel>
#include <QTreeView>
#include <QVBoxLayout>
// TODO: test primary functionality

View File

@ -23,27 +23,27 @@
#include "adldap.h"
#include "console_types/console_object.h"
#include "create_object_dialog.h"
#include "filter_widget/filter_widget_advanced_tab.h"
#include "filter_widget/filter_widget_simple_tab.h"
#include "find_object_dialog.h"
#include "select_object_advanced_dialog.h"
#include "find_widget.h"
#include "move_object_dialog.h"
#include "password_dialog.h"
#include "rename_object_dialog.h"
#include "select_container_dialog.h"
#include "select_object_advanced_dialog.h"
#include "select_object_dialog.h"
#include "filter_widget/filter_widget_simple_tab.h"
#include "filter_widget/filter_widget_advanced_tab.h"
#include "utils.h"
#include <QComboBox>
#include <QDebug>
#include <QLineEdit>
#include <QModelIndex>
#include <QPlainTextEdit>
#include <QPushButton>
#include <QTabWidget>
#include <QTest>
#include <QTreeView>
#include <QPlainTextEdit>
#include <QTabWidget>
#include <QLineEdit>
void ADMCTestObjectMenu::object_menu_new_user() {
const QString name = TEST_USER;

View File

@ -41,7 +41,6 @@ private slots:
void object_menu_find_advanced();
private:
};
#endif /* ADMC_TEST_OBJECT_MENU_H */

View File

@ -21,13 +21,13 @@
#include "admc_test_select_object_dialog.h"
#include "admc_test_select_base_widget.h"
#include "select_object_dialog.h"
#include "console_types/console_object.h"
#include "filter_widget/select_base_widget.h"
#include "select_object_dialog.h"
#include <QLineEdit>
#include <QPushButton>
#include <QMessageBox>
#include <QPushButton>
#include <QTreeView>
void ADMCTestSelectObjectDialog::init() {