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
4#ifndef SIGNALSLOTUTILS_P_H
5#define SIGNALSLOTUTILS_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/qstring.h>
19#include <QtCore/qstringlist.h>
20#include <QtCore/qmap.h>
21#include <QtCore/qobject.h>
22
24
25class QDesignerFormWindowInterface;
26class QDesignerFormEditorInterface;
27
28namespace qdesigner_internal {
29
31
32// member to class name
33QMap<QString, QString> getSignals(QDesignerFormEditorInterface *core, QObject *object, bool showAll);
34QMap<QString, QString> getMatchingSlots(QDesignerFormEditorInterface *core, QObject *object,
35 const QString &signalSignature, bool showAll);
36
37bool memberFunctionListContains(QDesignerFormEditorInterface *core, QObject *object, MemberType type, const QString &signature);
38
39// Members functions listed by class they were inherited from
48
50
51// Return classes and members in reverse class order to
52// populate of the combo of the ToolWindow.
53
54ClassesMemberFunctions reverseClassesMemberFunctions(const QString &obj_name, MemberType member_type,
55 const QString &peer, QDesignerFormWindowInterface *form);
56
57bool signalMatchesSlot(QDesignerFormEditorInterface *core, const QString &signal, const QString &slot);
58
59QString realObjectName(QDesignerFormEditorInterface *core, QObject *object);
60
61} // namespace qdesigner_internal
62
63QT_END_NAMESPACE
64
65#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)