Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
signalslot_utils_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3// Qt-Security score:significant reason:default
4
5#ifndef SIGNALSLOTUTILS_P_H
6#define SIGNALSLOTUTILS_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/qstring.h>
20#include <QtCore/qstringlist.h>
21#include <QtCore/qmap.h>
22#include <QtCore/qobject.h>
23
25
26class QDesignerFormWindowInterface;
27class QDesignerFormEditorInterface;
28
29namespace qdesigner_internal {
30
32
33// member to class name
34QMap<QString, QString> getSignals(QDesignerFormEditorInterface *core, QObject *object, bool showAll);
35QMap<QString, QString> getMatchingSlots(QDesignerFormEditorInterface *core, QObject *object,
36 const QString &signalSignature, bool showAll);
37
38bool memberFunctionListContains(QDesignerFormEditorInterface *core, QObject *object, MemberType type, const QString &signature);
39
40// Members functions listed by class they were inherited from
49
51
52// Return classes and members in reverse class order to
53// populate of the combo of the ToolWindow.
54
55ClassesMemberFunctions reverseClassesMemberFunctions(const QString &obj_name, MemberType member_type,
56 const QString &peer, QDesignerFormWindowInterface *form);
57
58bool signalMatchesSlot(QDesignerFormEditorInterface *core, const QString &signal, const QString &slot);
59
60QString realObjectName(QDesignerFormEditorInterface *core, QObject *object);
61
62} // namespace qdesigner_internal
63
64QT_END_NAMESPACE
65
66#endif // SIGNALSLOTUTILS_P_H
void setSignalSlot(const QString &signal, const QString &slot)
static QString widgetLabel(QDesignerFormEditorInterface *core, QWidget *widget)
static QString realClassName(QDesignerFormEditorInterface *core, QWidget *widget)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
bool signalMatchesSlot(QDesignerFormEditorInterface *core, const QString &signal, const QString &slot)
bool memberFunctionListContains(QDesignerFormEditorInterface *core, QObject *object, MemberType type, const QString &signature)
ClassesMemberFunctions reverseClassesMemberFunctions(const QString &obj_name, MemberType member_type, const QString &peer, QDesignerFormWindowInterface *form)
QMap< QString, QString > getMatchingSlots(QDesignerFormEditorInterface *core, QObject *object, const QString &signalSignature, bool showAll)
QString realObjectName(QDesignerFormEditorInterface *core, QObject *object)
QMap< QString, QString > getSignals(QDesignerFormEditorInterface *core, QObject *object, bool showAll)
ClassMemberFunctions(const QString &_class_name)